5 articles on algorithms, written by the NEXIT team. Practical, no-hype guides for business owners and developers.
Anvarbek Xaydarov
Adding one server to a cache cluster shouldn't empty it. See how consistent hashing moves only a fraction of keys, with a short working example.
A token bucket lets bursts through and still caps your average traffic. Here's how it works, a short code example, and the traps that bite in production.
A Bloom filter tells you an item is definitely absent or probably present, using a fraction of the memory of a set. Here's how it works and when to use one.
Rate limiting looks simple until a burst of traffic hits. Here's how the token bucket and leaky bucket algorithms work, and which one fits your API.
A Bloom filter answers 'definitely not here' in microseconds using almost no memory. Here's how it works, where it pays off, and where it quietly fails.