Best of MicroservicesApril 2025

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

    How does Netflix manage to show you a movie without interruptions?

    Netflix delivers buffer-free streaming through a sophisticated distributed systems architecture. The platform uses Amazon Web Services for managing control-plane operations and its custom Content Delivery Network, Open Connect, to handle data-plane operations. Key components include hundreds of microservices, a two-tier CDN deployment, adaptive bitrate streaming, and advanced resilience engineering practices. This setup allows for smooth content delivery and high availability, even under heavy load.

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

    Understanding Microservices: Core Concepts and Benefits

    Microservices are independently deployable services centered around business domains, offering flexibility, adaptability, and targeted scaling. They enable parallel development, technology diversity, and organizational alignment but introduce challenges like distributed system complexity, operational overhead, and data consistency issues. Effective microservices adoption often starts small and evolves over time, focusing on the most beneficial parts of the existing architecture.

  3. 3
    Video
    Avatar of codinggopherThe Coding Gopher·1y

    99% of Developers Don't Get RPCs

    RPC, or Remote Procedure Call, is a critical communication protocol in distributed systems, allowing for code execution on remote systems as if they were local. This method abstracts networking complexities, making it ideal for microservices and internal systems that require efficiency and strict contracts. Unlike REST, which uses HTTP verbs and is better for external APIs, RPC offers granular function-level control, better performance with binary formats like Protobuf, and advanced capabilities like streaming and retries. gRPC enhances these benefits with efficient communication and built-in logging and metrics, making it a superior choice for modern backend architectures.

  4. 4
    Article
    Avatar of microservicesioMicroservices.io·1y

    Authentication and authorization in a microservice architecture: Part 1 - Introduction

    This post introduces the concepts of authentication and authorization in a microservice architecture. It discusses the challenges of implementing these in distributed systems, contrasting with simpler monolithic systems. Various authorization models like RBAC, ReBAC, and ABAC are explained using a fictional application, RealGuard.io, to illustrate the complexities and potential solutions in both monolithic and microservices environments.

  5. 5
    Article
    Avatar of theburningmonktheburningmonk.com·52w

    Bye bye schema coupling, hello semantic coupling

    The post introduces the concept of semantic coupling as an innovative method to manage schema evolution in event-driven architectures, replacing traditional schema coupling. By using semantic tags instead of versioning or altering event schemas, it allows consumers to focus on the meaning of data rather than its representation. This approach prevents breaking changes and eliminates the need for event versioning, encouraging smoother schema transitions. Tools like Orbital and Taxi can facilitate these transformations by decoupling the data representation from consumers.

  6. 6
    Article
    Avatar of syscolabsslSysco LABS Sri Lanka·1y

    Event-Driven Architecture: How Enterprises Manage Billions of Events

    Event-Driven Architecture (EDA) is a software design pattern gaining popularity for managing Big Data, microservices, and real-time processing. EDA decouples services, enhancing scalability, resilience, and efficiency. It facilitates asynchronous communication through events, enabling systems to handle real-time data effectively. The post covers the benefits of EDA, its key components, real-world applications in companies like Sysco and Uber, and compares EDA with service mesh architecture. It also highlights the scalability, flexibility, and potential challenges of implementing EDA.

  7. 7
    Article
    Avatar of bytebytegoByteByteGo·1y

    How AMEX Processes Millions of Daily Transactions With Millisecond Latency

    American Express processes millions of transactions daily with millisecond latency by overhauling its payment system in 2018. Moving from legacy infrastructure to a modern cloud-ready system improved scalability, flexibility, and security. The key component, Global Transaction Router (GTR), uses Go language for concurrency, gRPC over HTTP/2 for faster internal communication, and asynchronous logging for performance optimization. Profiling, benchmarking, reader-writer mutexes, and avoiding excessive Go channels are some strategies employed to maintain high transaction processing speed and low latency.

  8. 8
    Article
    Avatar of itnextITNEXT·1y

    Choose your own architecture

    Choosing the right software architecture depends on several factors, such as project size, domain features, team structure, and non-functional requirements like performance and fault tolerance. Different projects may require different architectural styles, including monolithic, layered, services, SOA, and more. It's essential to understand the domain characteristics and tailor the architecture to meet specific needs efficiently.

  9. 9
    Article
    Avatar of awegoAwesome Go·1y

    gRPC API Gateway: Bridging the Gap Between REST and gRPC

    gRPC API Gateway facilitates the exposure of REST API endpoints for gRPC servers by providing enhanced configuration flexibility, modern OpenAPI support, comprehensive documentation, robust error handling, and extended streaming support. It improves upon the original gRPC Gateway with features like HTTP/JSON to gRPC translation, extensive control over API behavior, optimized OpenAPI 3.1 specifications, and seamless integration with contemporary API tools.

  10. 10
    Article
    Avatar of devtronDevtron·1y

    Deploy Java, Node.js & Python Microservices on Kubernetes

    Learn how to deploy Java, Node.js, and Python microservices on Kubernetes. This guide covers containerizing applications with Docker, creating Kubernetes deployment files, exposing services, and using Ingress for traffic routing. It also explores how Devtron can simplify managing, monitoring, and scaling these services.

  11. 11
    Article
    Avatar of architectureweeklyArchitecture Weekly·1y

    Monolith-First - are you sure?

    The modular monolith architecture, though often advocated for its simplicity and ability to defer distributed system complexities, comes with inherent challenges. Boundaries between modules can erode, leading to tightly coupled systems that are hard to maintain and scale. Additionally, deployment, resource management, and tooling maturity can be significant hurdles. To avoid creating a ‘big ball of mud,’ one should consider modular-first principles and plan thoroughly for data isolation, module boundaries, and consistent DevOps processes.

  12. 12
    Article
    Avatar of communityCommunity Picks·1y

    ag2ai/faststream: FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.

    FastStream is a Python framework designed for building asynchronous services that interact with event streams such as Apache Kafka, RabbitMQ, NATS, and Redis. It simplifies the creation of producers and consumers for message queues, leveraging Pydantic for data validation and providing automatic documentation generation. Key features include support for multiple message brokers, intuitive development with full-typed editor support, efficient dependency management, and in-memory testing. FastStream integrates easily with HTTP frameworks like FastAPI, making it suitable for developers at various experience levels.

  13. 13
    Article
    Avatar of itnextITNEXT·1y

    Multi-MCP: Exposing Multiple MCP Servers as One

    Multi-MCP is a dynamic MCP proxy server that allows the management of multiple MCP servers as a single entity. It supports both STDIO and SSE transports, enabling easy scaling, dynamic tool extensibility, and simplified deployment in environments such as Kubernetes. Multi-MCP also provides runtime support for adding or removing MCP servers, offering a unified interface to multiple backends while ensuring flexibility and scalability.

  14. 14
    Article
    Avatar of springSpring·1y

    CVE-2025-22234: Spring Security BCryptPasswordEncoder maximum password length breaks timing attack mitigation

    The post discusses CVE-2025-22234, a vulnerability related to the maximum password length in BCryptPasswordEncoder, which affects its timing attack mitigation in Spring Security.

  15. 15
    Article
    Avatar of hnHacker News·52w

    tilt-dev/tilt: Define your dev environment as code. For microservice apps on Kubernetes.

    Tilt streamlines microservice development by automating code changes, container builds, and environment updates for Kubernetes. It offers an easy installation process and provides tutorials and best practices for various programming languages. Users can connect through Slack or contribute via GitHub, with additional functionality available through community extensions.

  16. 16
    Article
    Avatar of javascript_developersJavascript developers·1y

    Build a Scalable Video Transcoding System with Node.js, Kafka & AI (Open-Source!)

    Learn to create an open-source, real-time video transcoding system using Node.js and Express for API services, Kafka for event-driven processing, FFmpeg and Whisper AI for transcoding and subtitles, AWS S3 and Elasticsearch for storage and search, and WebSockets for real-time progress updates. This tutorial is ideal for Node.js developers interested in video processing, scalable backends, or event-driven systems.

  17. 17
    Article
    Avatar of springSpring·1y

    Securing Spring AI MCP servers with OAuth2

    Spring AI supports Model Context Protocol (MCP), allowing AI models to interact with external tools. To secure MCP Servers, the latest MCP specification leverages the OAuth2 framework to provide robust security and permission management. Spring Security and Spring Authorization Server can be utilized to add OAuth2 capabilities to Spring MCP servers, ensuring only authenticated requests with access tokens are processed. The article covers integrating OAuth2 into a sample MCP Server, demonstrating token issuance and validation.