Designing a flash sale system involves creating a robust and scalable architecture to handle high traffic and provide a seamless experience for users during limited-time sales events. Here’s a high-level overview of the components and considerations for designing a flash
Archives
The Twelve-Factor App: Best Practices for Cloud-Native Applications
The 12 Factor App is a methodology for building software-as-a-service (SaaS) applications that are portable, scalable, and resilient. It emphasizes best practices for development, deployment, and operations, resulting in applications that are easier to manage and maintain over time. 1.
SOLID Design Principles
SOLID stands for five key design principles that aim to create robust, maintainable, and flexible object-oriented software. They help developers write code that is easier to understand, modify, and extend. The five SOLID principles are: Single Responsibility Principle (SRP): A
What is Idempotency & Build Rest API
What is Idempotency? Idempotency is a property of API design that ensures that making the same request multiple times produces the same result as making it once. In other words, no matter how many times an idempotent API endpoint is
Proxy vs Reverse Proxy vs Load Balancer
The basic definitions are simple: A reverse proxy accepts a request from a client, forwards it to a server that can fulfil it, and returns the server’s response to the client. A load balancer distributes incoming client requests among a group of servers, in
IoT Apache Kafka & MQTT
IoT Challenges Real time data processing Large volume of data Time to market Accuracy Why Kafka Kafka-native options to note for MQTT integration beyond Kafka client APIs Kafka Connect source and sink connectors, which integrate with MQTT brokers in both
API Lifecycle Management
What is API Application Programming Interfaces, or APIs, have become vital tools for business growth. APIs enable two different services to interact Developing robust and concrete APIs to fuel the API economy API Lifecycle is a must to ensure robust
Elasticsearch Disk and Data Storage Optimizations
Out of the four basic computing resources (storage, memory, compute, network), storage tends to be positioned as the foremost one to focus on for any architect optimizing an Elasticsearch cluster. Let’s take a closer look at a couple of interesting
LZ4 vs Deflate Compression Algorithm
LZ4 Deflate Very fast compression Balanced compression 16 KB Block Size in Elastic Search 60KB Block Size Elastic Search LZ4 only uses a dictionary-matching stage (LZ77) Combination of LZ77 and Huffman coding. The LZ4 algorithms aim to provide a good