Instagram Engineering

Stories from the people who build @Instagram

Follow publication

Responses (9)

Write a response

I still think this approach has a major drawback. How long does it take to timeout a promise? How many promises can be stored at a time? I just got a 504 gateway timeout from medium website by the way:) You must be providing a good amount of servers…

--

I guess the Publish-subscribe pattern with message brokers like kafka, rabbitmq is a better solution for this kind of problem.

--

Thank for sharing your knowledge.
How do you make atomic access to the cache? Do you use thread synchronization techniques like mutex and semaphore?

--