jeudi 12 avril 2018

Database for a java application in cluster

I'd like to play around with kubernetes, I'm able to start a simple app, but now I'd like to design something more complex. Nevertheless I can't figure out, how to handle the database access in such architecture.

Let's say I have 100 pod replicas of some simple chat application. They all need to access the same database (or more like data set) and perform CRUD operations upon them. How to design it to keep the data consistent and eliminate the risk of deadlocks?

If possible, I'd like to use SQL-like database, so I can comfortably use hibernate and other tools I'm familiar with.

Is this even possible or do I have to use totally different approach? What is the name of the technology or architecture I'm searching for?

Aucun commentaire:

Enregistrer un commentaire