/plushcap/analysis/ably/how-we-load-tested-control-api

Squid game: how we load-tested Ably’s Control API

What's this blog post about?

The Control API is a new feature from Ably that enables users to manage configurations programmatically. It has been designed with dependability in mind, adhering to four pillars of reliability: Performance, Integrity, Reliability, and Availability. To ensure its robustness under heavy load, the Control API was subjected to rigorous load testing using Apache JMeter and Locust. The tests aimed to simulate realistic usage patterns from various types of users, including typical, power, bad, and bot users. Rate-limiting issues were addressed by using Squid proxy to forward requests from different IPs. Resources for managing the load testing system were closely monitored to prevent excessive costs. Overall, the Control API's performance under heavy load was satisfactory, providing confidence in its ability to handle real-world usage scenarios.

Company
Ably

Date published
Nov. 9, 2021

Author(s)
Denis Sellu

Word count
1539

Language
English

Hacker News points
20


By Matt Makai. 2021-2024.