4 ms·
Anything that is front-facing a UI or API typically has a response cache. More so for something like a web app like AppleTV where the content is largely static
by threeseed 3y ago
Anything that is front-facing a UI or API typically has a response cache.
More so for something like a web app like AppleTV where the content is largely static.
There should be zero difference in performance between microservices and monolith in this scenario.
- felixgallo 3y agoIncorrect. Many calls, such as to auth, identity, ad service, metrics, etc., cannot be cached.
- threeseed 3y agoAd serving and metrics are asynchronous so won't block any UI. And authentication/identity has the same behaviour with monolith/microservices. It's ultimately just a look up this user in some database. It's the serving of the content that requires coordination across multiple services and most of that should be cached at the serving layer.
- felixgallo 3y agoIncorrect, in most apps nontrivial content is highly personalized and dynamically served, auth in microservices is frequently two or more hop rather than one hop, and ad serving and metrics frequently involve synchronous steps.