Nick Ramirez Nick Ramirez | Feb 12, 2021 | OBSERVABILITY
HAProxy publishes more than 100 metrics about the traffic flowing through it. When you use HAProxy as an API gateway, these give you insight into how clients are accessing your APIs. Several metrics come to mind as particularly useful, since they can help you...
Nick Ramirez Nick Ramirez | Jan 29, 2021 | LOAD BALANCING / ROUTING, PERFORMANCE
HAProxy connection limits and queues can help protect your servers and boost throughput when load balancing heavy amounts of traffic. When you use HAProxy as an API gateway in front of your services, it has the ability to protect those servers from traffic spikes. By...
Nick Ramirez Nick Ramirez | Jan 5, 2021 | LOAD BALANCING / ROUTING, MICROSERVICES
With HAProxy, you can implement a circuit breaker to protect services from widespread failure. Martin Fowler, who is famous for being one of the Gang of Four authors who wrote Design Patterns: Elements of Reusable Object-Oriented Software, hosts a website where...
Nick Ramirez Nick Ramirez | Nov 13, 2020 | BASICS, LOAD BALANCING / ROUTING
HAProxy can run in two different modes: TCP or HTTP. When operating in TCP mode, we say that it acts as a layer 4 proxy. In HTTP mode, we say that it acts as a layer 7 proxy. To understand the difference, you must first learn about the Open Systems Interconnection...
Nick Ramirez Nick Ramirez | Oct 26, 2020 | MICROSERVICES, PERFORMANCE
HAProxy’s cache helps boost API performance by serving saved messages to your users. The age of rendering most of a web page’s contents on the server and then delivering it as a colossal HTML file is fading into the past. Modern web frameworks like...