News for hackers. Stuff that matters.
Re:For Want of a JOIN by btown on Thursday December 22, 2022 @09:49AM (#34093789)
Doesn’t this mean every service must expose a way for downstream consumers (via Apollo or not) to subscribe to updates to allow them to invalidate their caches? I shudder to think how stale the DAG approach would be without this. I suppose this is doable if the company lives on Kafka, but what if it lives on RESTful microservices?
Re:For Want of a JOIN by alexisread on Friday December 23, 2022 @04:11PM (#34110669)
Usually restful services are behind a loadbalancer/reverse proxy. This proxy could also handle things like security, logging, cache invalidation (the service behind the proxy) and service registration (other downstream services).

Marking APIs as immutable/up or down (for rollback) state migrations etc. Is really important from a platform perspective, so it also makes sense for APIs to have a cache hook as well.

The proxy can then manage the platform state wrt change propagation.