Best of GraphQLApril 2025

  1. 1
    Article
    Avatar of systemdesigncodexSystem Design Codex·1y

    Load Balancer, Gateway, BFF & GraphQL: The Squad Handling API Calls

    Modern systems use architectural components like Load Balancers, API Gateways, Backend-For-Frontends (BFFs), and GraphQL to ensure efficient, secure, and customized data delivery. Load Balancers distribute incoming requests across multiple servers for high availability. API Gateways coordinate requests between clients and microservices, centralizing concerns such as authentication and rate limiting. BFFs tailor API responses to specific frontend needs, preventing over-fetching or under-fetching of data. GraphQL allows clients to request precise data, preventing over-fetching, and supports real-time updates. These components work together to enhance performance, scalability, and flexibility in API handling.

  2. 2
    Video
    Avatar of bytebytegoByteByteGo·50w

    System Design Was HARD - Until You Knew the Trade-Offs, Part 2

    System design involves making trade-offs in various aspects such as scaling, API design, and processing methods. Vertical scaling is simpler but limited, while horizontal scaling offers more growth but requires complexity in distribution. REST APIs are useful for simple operations, but GraphQL provides flexibility for more complex data needs. Choosing between synchronous and asynchronous processing depends on user experience and complexity considerations.

  3. 3
    Article
    Avatar of awegoAwesome Go·1y

    Finly — Building a Real-Time Notification System in Go with PostgreSQL

    Learn to implement real-time notifications in Go using PostgreSQL's PGNotify for efficient Pub/Sub messaging. The setup ensures instant updates and toast alerts in Finly's notification center. The guide covers database triggers, PGX for listening to notifications, exposing subscriptions via GraphQL, and frontend integration with Apollo Client for seamless user updates.