NewsCrawler.org

Microservices can work for low-latency workloads

Microservices can work for low-latency workloads
Image: Reddit

The author, who says he has worked on low-latency distributed systems, argues that microservices can be used where low latency is needed if the architecture is designed for it. Many people advise using a monolith[1] in such cases, because splitting a monolith replaces function calls with network calls, and each network call adds latency. The more services a request depends on, the slower the whole request becomes. The author notes that low latency is subjective, since a system aiming for single-digit milliseconds is designed differently from one where double- or triple-digit milliseconds are acceptable. He also highlights locality: cell-based architecture[2] encourages it, and locality is good for latency. Cells are usually discussed for resiliency, where they contain failures and reduce the blast radius[3].

Read the original madflojo.medium.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page