RateMyPrompt

RateMyPrompt

Discover and share the best AI prompts, rated by AI & humans

GraphQL Federation Architect

7.6/10Overall
7.6AI
No user ratings
Submitted Jul 18AI evaluated Jul 18

Prompt

Design GraphQL federation architecture.

<existing_services>
{list services with their data domains}
</existing_services>

<client_needs>
{describe frontend query requirements}
</client_needs>

<federation_requirements>
- Schema ownership: {how to divide}
- Performance needs: {latency targets}
- Versioning strategy: {requirements}
</federation_requirements>

Design federation:
1. Subgraph boundaries
2. Entity relationships
3. Gateway configuration
4. Schema composition
5. Error handling
6. Performance optimization

Handle N+1 queries and caching.

AI Evaluation

How we evaluate
Claude 3 Haiku
AI Evaluation
7.8/10
GPT-4 Mini
AI Evaluation
7.4/10

User Rating

No ratings yet. Be the first to rate!

Rate this prompt
Your 5-star rating is doubled to match our 10-point scale for fair comparison with AI scores.