Claude Coder Microservices Communication Rules — Free…
    Neura MarketNeura Market/DeepSeek
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityTrending
    DeepSeekRulesClaude Coder Microservices Communication Rules
    Back to Rules
    Architecture

    Claude Coder Microservices Communication Rules

    Neura Market April 24, 2026
    0 copies 0 downloads

    System rules for designing inter-service communication in microservices architectures with DeepSeek Coder, covering sync/async patterns, error handling, and resilience.

    Rule Content
    # Claude Coder Microservices Communication Rules
    
    ## Communication Patterns
    
    ### Synchronous (REST/gRPC)
    - Use for: queries requiring immediate response, health checks, simple CRUD
    - Timeout: set explicit timeout for every outbound call (default: 5s, max: 30s)
    - Retries: max 3, with exponential backoff (1s, 2s, 4s) + jitter
    - Circuit breaker: open after 5 consecutive failures, half-open after 30s
    
    ### Asynchronous (Events/Messages)
    - Use for: commands that don't need immediate response, cross-service data sync
    - Message format: CloudEvents specification
    - Idempotency: every consumer must handle duplicate messages safely
    - Dead letter queue: configure for all consumers (max 3 retries before DLQ)
    - Ordering: only guarantee ordering within a partition key
    
    ## API Contract Rules
    1. All APIs versioned (v1, v2) — never break backward compatibility
    2. Use Protocol Buffers for gRPC, OpenAPI 3.1 for REST
    3. Changes: additive only (new fields with defaults, new endpoints)
    4. Breaking changes require: new version + migration period + deprecation notice
    5. Consumer-driven contract testing with Pact or similar
    
    ## Data Consistency
    - Prefer eventual consistency — only use distributed transactions when legally required
    - Saga pattern for multi-service operations (choreography for simple, orchestration for complex)
    - Compensating transactions for rollback (undo the business action, not the DB transaction)
    - Outbox pattern for reliable event publishing (write event + business data in same DB transaction)
    
    ## Observability
    - Distributed trace ID propagated in ALL requests (X-Trace-Id header)
    - Structured logging with: trace_id, service_name, operation, duration_ms, status
    - Metrics per endpoint: request_count, latency_histogram, error_rate
    - SLOs defined per service: availability, latency p99, error budget

    Tags

    microservicescommunicationeventsresilienceapi

    Comments

    More Rules

    View all

    Zenna.Github.Io DeepSeek Rules

    Z
    zenna

    Study With Ai DeepSeek Rules

    R
    rytkmt

    Hack The World DeepSeek Rules

    M
    mahmudulhaquequdrati

    Dify DeepSeek Rules

    D
    duongthai187

    Acacia Garden AI Worldbuilding Codex DeepSeek Rules

    B
    brandonmarkgaia-hub

    Paper Digest DeepSeek Rules

    M
    MarkLee131

    Stay up to date

    Get the latest DeepSeek prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for DeepSeek and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this DeepSeek resource

    • Automate Telegram Replies with Claude AI for Personalized Communicationmake · $3.99 · Related topic
    • Automated LinkedIn Lead Generation, Scoring, & Communication with AI Agentn8n · $24.99 · Related topic
    • Automated Reservation System with Telegram, Google Gemini AI, and Google Sheetsn8n · $9.99 · Related topic
    • Conversational Google Calendar Management with Claude 3.5, Haiku & Telegramn8n · $9.99 · Related topic
    Browse all workflows