|
|
|
Back to newsletter 211 contents
?
I have been doing some work with kubernetes and came across an excellent quote in their high availability page, worth repeating: "The central foundation of a highly available solution is a redundant, reliable storage layer. The number one rule of high-availability is to protect the data. Whatever else happens, whatever catches on fire, if you have the data, you can rebuild. If you lose the data, you're done."
It's a pretty useful maxim to keep in mind. There are many aspects of performance and availability where you should start with the data in mind. Stateful scaling is much much harder than stateless scaling. Making your application stateless is hitting the scaling jackpot, it becomes just running multiple instances and routing requests. Stateful scaling involves distributed transactions, syncing caches, data routing, ... and much more.
It gets even more complicated with multi-region data updates. These require you to think in a completely different way about your application. It's common that you need to re-architect a large portion of your application if you built it for a single region and it needs some kind of multi-region data consistency.
The message you should take away is: work out how to handle the data for the most difficult cases* earlier rather than later. It's critical for scaling and availability. (*Delete as applicable: distributed, multi-region, highly available, highly scaled, low latency, highly concurrent, high volume).
Now on to our usual Java performance news section, tools, articles, talks. And of course the tips from this month's articles and talks, as ever are extracted into this month's tips page.
Java performance tuning related news.
Java performance tuning related tools.
Back to newsletter 211 contents