Category: Uncategorized
-
Postgres – Write-Ahead Logging (WAL) in PostgreSQL
Write-Ahead Logging (WAL) is a fundamental feature of PostgreSQL, ensuring data integrity and facilitating critical functionalities like crash recovery, replication, and backup. This series of experimentation explores WAL in detail, its importance, how it works, and provides examples to demonstrate its usage. What is Write-Ahead Logging (WAL)? WAL is a logging mechanism where changes to…
-
Locust EP 1 : Load Testing: Ensuring Application Reliability with Real-Time Examples and Metrics
In today’s fast-paced digital application, delivering a reliable and scalable application is key to providing a positive user experience. One of the most effective ways to guarantee this is through load testing. This post will walk you through the fundamentals of load testing, real-time examples of its application, and crucial metrics to watch for. What…
-
HAProxy EP 9: Load Balancing with Weighted Round Robin
Load balancing helps distribute client requests across multiple servers to ensure high availability, performance, and reliability. Weighted Round Robin Load Balancing is an extension of the round-robin algorithm, where each server is assigned a weight based on its capacity or performance capabilities. This approach ensures that more powerful servers handle more traffic, resulting in a…
-
HAProxy EP 8: Load Balancing with Random Load Balancing
Load balancing distributes client requests across multiple servers to ensure high availability and reliability. One of the simplest load balancing algorithms is Random Load Balancing, which selects a backend server randomly for each client request. Although this approach does not consider server load or other metrics, it can be effective for less critical applications or…
-
HAProxy EP 7: Load Balancing with Source IP Hash, URI – Consistent Hashing
Load balancing helps distribute traffic across multiple servers, enhancing performance and reliability. One common strategy is Source IP Hash load balancing, which ensures that requests from the same client IP are consistently directed to the same server. This method is particularly useful for applications requiring session persistence, such as shopping carts or user sessions. In…