microservices-patterns
यह क्या करती है
यह टूल बड़े और जटिल सॉफ़्टवेयर सिस्टम को छोटे हिस्सों (microservices) में बाँटकर योजना बनाने और बनाने में मदद करता है। यह सिखाता है कि ये हिस्से आपस में कैसे बात करें, डेटा कैसे संभालें और विफलता से कैसे उबरें।
कब इस्तेमाल करें
- ✓किसी बड़े प्रोग्राम को छोटे हिस्सों में बदलते समय।
- ✓सिस्टम के अलग-अलग हिस्से आपस में कैसे बात करेंगे, यह डिज़ाइन करते समय।
- ✓जब आप चाहते हैं कि सिस्टम विफलताओं को बेहतर झेल सके।
Skill का लिंक
https://github.com/wshobson/agents/blob/main/plugins/backend-development/skills/microservices-patterns/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“ऑनलाइन स्टोर एप्लिकेशन को microservices में कैसे बाँटूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल microservice डिज़ाइन पैटर्न के उदाहरण और समझ देता है। यह दिखाता है कि हिस्सों को कैसे व्यवस्थित करें, वे जानकारी का आदान-प्रदान कैसे करें और समस्याएँ कैसे संभालें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Microservices Patterns
Master microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems.
When to Use This Skill
- Decomposing monoliths into microservices
- Designing service boundaries and contracts
- Implementing inter-service communication
- Managing distributed data and transactions
- Building resilient distributed systems
- Implementing service discovery and load balancing
- Designing event-driven architectures
Core Concepts
1. Service Decomposition Strategies
By Business Capability
- Organize services around business functions
- Each service owns its domain
- Example: OrderService, PaymentService, InventoryService
By Subdomain (DDD)
- Core domain, supporting subdomains
- Bounded contexts map to services
- Clear ownership and responsibility
Strangler Fig Pattern
- Gradually extract from monolith
- New functionality as microservices
- Proxy routes to old/new systems
2. Communication Patterns
Synchronous (Request/Response)
- REST APIs
- gRPC
- GraphQL
Asynchronous (Events/Messages)
- Event streaming (Kafka)
- Message queues (RabbitMQ, SQS)
- Pub/Sub patterns
3. Data Management
Database Per Service
- Each service owns its data
- No shared databases
- Loose coupling
Saga Pattern
- Distributed transactions
- Compensating actions
- Eventual consistency
4. Resilience Patterns
Circuit Breaker
- Fail fast on repeated errors
- Prevent cascade failures
Retry with Backoff
- Transient fault handling
- Exponential backoff
Bulkhead
- Isolate resources
- Limit impact of failures
Detailed patterns and worked examples
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
अक्सर पूछे जाने वाले सवाल
microservices क्या होते हैं?
ये एक बड़े सॉफ़्टवेयर के छोटे, स्वतंत्र हिस्से होते हैं, जिनमें से हर एक का अपना खास काम होता है।
'asynchronous communication' क्या है?
जब सॉफ़्टवेयर के हिस्से एक-दूसरे को संदेश भेजते हैं और तुरंत जवाब का इंतज़ार नहीं करते, जैसे ईमेल भेजना।
'Circuit Breaker' पैटर्न क्या है?
यह एक तकनीक है जो सिस्टम के किसी एक हिस्से की विफलता को दूसरे हिस्सों में फैलने से रोकती है, ताकि पूरा सिस्टम न गिरे।
जानकारी
लेखक का मूल विवरण
Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.
repo: wshobson/agents
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6639
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
screen-reader-testing
41kआपके एजेंट को screen readers का इस्तेमाल करके वेबसाइटों की जांच करने देता है, ताकि यह पक्का हो सके कि वे accessible हैं।
wcag-audit-patterns
41kआपके एजेंट को वेबसाइटों का accessibility audit करने और WCAG guidelines के हिसाब से समस्याएं ठीक करने में मदद करता है।
multi-reviewer-patterns
41kआपके एजेंट को कई code reviews को एक साथ चलाने देता है। यह एक जैसे findings हटाता है और सारी रिपोर्ट को एक जगह जोड़ता है।
parallel-debugging
41kआपके एजेंट को parallel जांच के साथ जटिल समस्याओं को debug करने और root cause analysis में मदद करता है।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।