Answer the question
In order to leave comments, you need to log in
Database clustering
I read on the net that VKontakte uses MySQL as the main storage. And many other projects use MySQL. An interesting question is how it is implemented from the technical side?
Not exactly like them, but how it can be designed at all, the main requirements are:
Answer the question
In order to leave comments, you need to log in
The admin comes to clustering with one of two problems
1. Bottlenecks, which are impossible / inappropriate to compensate for by increasing the capacity of one server
2. Building a highly available service (High-availability)
Accordingly, the first one will be very expensive and cumbersome. Speaking of which, I came across really heavy loads, but with the correct organization of the database structure, the hardware kept everything. It's easier to really optimize the structure in this case than to break through all sorts of NDBs and a replication master-master.
The second comes down to building a master / slave cluster, which automatically changes roles in case of failure. I do not recommend replication. You can look towards DRBD || GFS || GPFS + Heartbeat || Pacemaker
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question