Best of API Gateway2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    Load Balancer vs Reverse Proxy vs API Gateway

    Learn about the differences between load balancers, reverse proxies, and API gateways and how they can be used in web applications. Discover the types of load balancers, the benefits of using a reverse proxy, and when to use each component.

  2. 2
    Article
    Avatar of asayerasayer·1y

    API Gateway Patterns and Practices

    API gateways consolidate and manage incoming client requests to various backend services, handling tasks such as routing, rate limiting, authentication, and monitoring. They simplify front-end integration with backend services, optimize performance through caching and load balancing, and enhance security by centralizing authentication and authorization. Common patterns include Backends for Front-ends (BFF), API Gateway Aggregation, and Circuit Breaker for resilience. Best practices involve scalability consideration, implementing security measures like JWT authentication, caching strategies, and comprehensive logging and monitoring.

  3. 3
    Article
    Avatar of bytebytegoByteByteGo·2y

    EP122: API Gateway 101

    The post covers various topics including the role of an API Gateway, its key functions, and how it optimizes API traffic. It also highlights differences between Session and JWT, various architectural patterns for data and communication flow, the importance and functioning of Content Delivery Networks (CDNs), and a comprehensive roadmap for full-stack development. Additionally, a free book on ScyllaDB by a Discord engineer is available, offering practical tips for building low latency, high throughput applications.

  4. 4
    Article
    Avatar of awegoAwesome Go·2y

    Microservices Authentication and Authorization Using API Gateway

    Learn about the challenges of authentication and authorization in a microservices architecture, the benefits of using an API Gateway for access management, and how JSON Web Tokens (JWTs) are used for authentication in microservices.

  5. 5
    Article
    Avatar of fullstackprojectsFullstack Projects·1y

    API gateway vs Load Balancer

    API Gateways and Load Balancers are essential components of modern application infrastructure, serving distinct functions. While an API Gateway manages API requests, including routing, authentication, and rate-limiting, a Load Balancer ensures efficient traffic distribution across servers for high availability and performance. Understand when to use each tool for optimal architecture design.

  6. 6
    Article
    Avatar of bytebytegoByteByteGo·2y

    EP103: Typical AWS Network Architecture in One Diagram

    This post discusses typical AWS network architecture, including VPC, AZs, internet gateway, VPN, VPC peering, transit gateway, and various types of VPC endpoints.

  7. 7
    Video
    Avatar of communityCommunity Picks·2y

    Microservices Design Patterns | Microservices Architecture Patterns | Edureka Rewind

    Microservices design patterns are software templates or descriptions used to solve problems that occur in multiple instances when designing a software application or framework. They are needed to ensure that development teams follow the same process and pattern when building applications. The principles behind microservices include independent and autonomous services, scalability, decentralization, resilience, real-time load balancing, availability, continuous delivery through DevOps integration, seamless API integration, continuous monitoring, isolation from failures, and autoprovisioning.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Build a Custom API Gateway with Node.js

    Learn how to build a custom API gateway with Node.js. Understand the role and benefits of an API gateway in a microservices architecture. Explore security measures and features in API gateways. Build a basic API gateway with rate limiting and timeouts using the http-proxy-middleware package.

  9. 9
    Article
    Avatar of itnextITNEXT·2y

    Building Microservices with NestJS, TCP and Typescript

    Learn about the difference between monolithic and microservice architectures and how to build microservices with NestJS, TCP, and Typescript.

  10. 10
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Serverless Architecture Patterns and Best Practices

    Learn about serverless architecture patterns and best practices. Discover the benefits and challenges of serverless, explore common architecture patterns, and gain insights on best practices for serverless development.

  11. 11
    Article
    Avatar of quastorQuastor Daily·2y

    How Netflix Implements Load Shedding

    Netflix implements load shedding in their API Gateway to prioritize critical requests and ensure a smooth streaming experience for users.

  12. 12
    Article
    Avatar of bitBits and Pieces·2y

    Implementing the API Gateway Pattern in a Microservices Based Application with Node.js

    Learn about the API Gateway pattern in microservices, its benefits, and how to implement it in Node.js using either a container-based approach or a service mesh approach.

  13. 13
    Article
    Avatar of techworld-with-milanTech World With Milan·2y

    API Gateway vs. Load Balancer vs. Reverse Proxy

    This post discusses the differences between API Gateway, Load Balancers, and Reverse Proxies. It also provides examples of API Gateways and Load Balancers.

  14. 14
    Video
    Avatar of communityCommunity Picks·2y

    Implementing API Gateway Authentication With YARP + .NET 8

  15. 15
    Article
    Avatar of quastorQuastor Daily·2y

    How Netflix Implements Load Shedding

    Learn how Netflix implements load shedding to ensure a smooth user experience during high usage periods.

  16. 16
    Article
    Avatar of tigerabrodiTiger's Place·1y

    API Gateway notes

    API Gateway handles various critical tasks such as routing requests to appropriate services, SSL termination for secure data transmission, rate limiting to prevent system overload, authentication to verify requests, load balancing to distribute traffic, transforming requests, monitoring API usage, and caching responses to improve performance.

  17. 17
    Article
    Avatar of javarevisitedJavarevisited·2y

    Spring Cloud Gateway: The Single Point of Entry or Failure — a Path to Non-Blocking API Gateway

    This post explores the API gateway pattern using Spring Cloud Gateway and Netflix Zuul, highlighting their use cases, benefits, and drawbacks. It delves into the transition from monolithic to microservice architecture, the role of API gateways in client request routing, and the advantages of a non-blocking API gateway. The post also explains filter implementation, service discovery mechanisms, and performance under load conditions. Additionally, it discusses the pros and cons of both gateways, emphasizing the flexibility and modern features of Spring Cloud Gateway.

  18. 18
    Article
    Avatar of cloudflareCloudflare·2y

    Protecting APIs with JWT Validation

    Cloudflare customers can now protect their APIs from broken authentication attacks by validating incoming JSON Web Tokens (JWTs) with API Gateway's JWT Validation. The release addresses feature requests for supporting the Bearer token format, creating multiple JWKS configs, validating JWTs sent in cookies, and excluding managed endpoints in a JWT validation rule. Broken authentication is a major threat in API security, and JWT validation helps enforce a positive security model for authenticated API users. JWTs provide short-lived sessions and enhanced security compared to other authentication methods. API attacks like missing or broken authentication, expired token reuse, and Broken Function Level Authorization attacks can be prevented with proper authentication and authorization. API Gateway's JWT Validation checks JWT signatures, expiration times, and the presence of authentication tokens to protect against these attacks. Cloudflare Access and custom Cloudflare Workers are other options for JWT validation, but API Gateway provides an easier and more manageable experience. Future releases will expand the capabilities of API Gateway, including generating and enforcing authorization policies and enhancing API management with Cloudflare.

  19. 19
    Article
    Avatar of milanjovanovicMilan Jovanović·2y

    Breaking It Down: How to Migrate Your Modular Monolith to Microservices

    Migrating from a modular monolith to microservices offers several benefits, including scalability, independent deployability, and team autonomy. However, the transition requires thorough preparation, particularly around module boundaries, data encapsulation, and communication patterns. Begin by selecting a self-contained module to extract, update inter-service communication methods, and consider implementing an API Gateway to manage clients. Lastly, adopt a data migration strategy that suits your system's complexity and disruption tolerance.

  20. 20
    Article
    Avatar of planetpythonPlanet Python·2y

    What is an API gateway?

    An API gateway is an element of a systems architecture that provides security, permissions, and access to backend systems, applications, and data sources. It may also offer audit, data transformation, and caching services.

  21. 21
    Article
    Avatar of cerbosCerbos·1y

    The importance of security and access control protocols in microservices

    Transitioning from a monolithic to a microservices architecture introduces new security challenges. Key practices such as token-based authentication (using JWT or OAuth 2.0), secure communication channels (TLS and mTLS), employing an API Gateway, and implementing a Zero Trust framework are essential to securing microservices. Netflix's experience exemplifies these practices, showcasing the importance of a robust security ecosystem with continuous monitoring.

  22. 22
    Article
    Avatar of theburningmonktheburningmonk.com·2y

    Fine-grained access control in API Gateway with Cognito groups & Lambda authorizer

    Gain fine-grained access control in API Gateway using Lambda authorizer with Cognito groups. By mapping user roles to specific policies, you can implement and manage user permissions effectively. This approach is simple, cost-efficient, and suitable for straightforward use cases. However, for more advanced needs, consider using Amazon Verified Permissions.

  23. 23
    Article
    Avatar of itnextITNEXT·2y

    Combined Component

    A combined component is a ready-to-use framework that integrates multiple architectural patterns to speed up development. While it offers performance benefits by reducing network hops and data serialization, it locks projects into specific frameworks and can become complex and difficult to manage in large or long-term projects. Suitable for small to medium domains and similar projects, it should be approached with caution in research and large-scale projects to avoid vendor lock-in.

  24. 24
    Article
    Avatar of awsfundamentalsAWS Fundamentals·1y

    Polling or WebSockets: Choosing with Amazon API Gateway

    Understanding the differences between Polling and WebSockets is crucial for web applications requiring fast data exchange. Polling is simpler and works with any tech stack but can be inefficient and cause delays. WebSockets offer real-time data transfer and maintain a single connection, enhancing efficiency but adding complexity. Amazon API Gateway supports both methods, allowing you to choose based on your application's needs. Practical tips and a sample app are provided to help you implement these methods on AWS.

  25. 25
    Article
    Avatar of theburningmonktheburningmonk.com·2y

    When to use API Gateway vs. Lambda Function URLs

    Explore the trade-offs between using Function URLs and API Gateway for building REST APIs using serverless technologies. Function URLs are cheaper, faster, and have fewer moving parts, making them suitable for public APIs or internal APIs within a microservices architecture. On the other hand, API Gateway offers more flexibility, direct integration with AWS services, and a wide range of features. It is a preferred choice for most cases, especially if cost is not a primary concern.