fabrica-kit
An essential engineered toolkit library for the go-pantheon ecosystem.
Discover how Fabrica-Kit's balancer filter optimizes traffic management with gRPC sticky routing, weighted round-robin, and master-type persistence for efficient session affinity.
How to Set Up Multi-Format Logging (JSON vs Console) in Fabrica-KitLearn to set up multi-format logging JSON vs console in Fabrica-Kit using xlog.Init. Choose zap for JSON or other values for console logs.
Performance Considerations for High-Throughput Scenarios with fabrica-kitBoost fabrica-kit performance for high-throughput with read-only balancing, Redis pooling, MGET batching, and OpenTelemetry monitoring. Optimize your application today.
Read-Only Route Table Patterns and Use Cases in fabrica-kitDiscover readonly route table patterns and use cases in fabrica-kit. Learn how this secure, backend-agnostic foundation enables efficient service discovery with a layered architecture.
How to Implement Custom Metrics Middleware in Fabrica-Kit: A Complete GuideLearn to implement custom metrics middleware in Fabrica-Kit using Kratos and OpenTelemetry. Enhance observability with request counters, latency histograms, and custom gauges.
How to Use Version Management in the Fabrica-Kit: Parsing and Validating Service VersionsLearn how to manage service versions in Fabrica-Kit. Parse zone-prefixed strings like us-v1.20230428_153224 using the version package for reliable service identification.
Connection Picker in fabrica-kit: Bridging Kratos and gRPC Load BalancingDiscover the fabrica-kit connection picker, a gRPC balancer integrating Kratos selector. Learn how it directs RPC calls to sub-connections for efficient load balancing.
How Route Table Renewal Enables Dynamic Updates in Fabrica-KitDiscover how fabrica-kit's route table renewal uses compare-and-expire for lock-free dynamic updates. Services renew entries intelligently, avoiding full table rewrites for efficient changes.
How to Configure Trace Sampling Strategies in Fabrica-Kit: A Complete GuideLearn to configure trace sampling strategies in Fabrica-Kit. Customize OpenTelemetry samplers in trace.go or create a custom tracer provider for granular control over trace retention and performance. Get the complete guide now.
How to Handle Errors with xerrors in Microservices Using Fabrica-KitMaster microservice error handling with go-pantheon/fabrica-kit and xerrors. Centralize errors, wrap with context, classify, and convert to Kratos API errors.
How to Integrate Fabrica-Kit with go-kratos Middleware: A Complete GuideIntegrate Fabrica-Kit with go-kratos middleware for structured logging, metrics, tracing, and context enrichment. This guide makes adding Kratos middleware simple.
Load Balancing Strategies in Fabrica-Kit: Master and Reader Modes ExplainedExplore Fabrica-Kit load balancing strategies: Master for sticky writes and Reader for read-only traffic. Learn about weighted-round-robin with route-table stickiness.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →