The Biggest MySQL Cluster, Ever?
ExcerLee asks: "Our team is going to build a MySQL (load-balancing and fail-over) cluster for the Cluster World Expo in the end of June. This cluster is going to have at least 10 nodes, and will use
dual-opteron systems from Polywell Computers and
SuSE Enterprise Linux for AMD64 from SuSE. While we are working on this hefty cluster, we wonder if this is the biggest MySQL cluster has ever been built. I googled with terms like 'biggest mysql cluster', but didn't find much." If you've run a MySQL cluster before, how large was it and how well did it perform? Krow: I have been told of much larger clusters then this; Slashdot DBs total 6 machines with 18 processors, and LiveJournal has one of the most complicated clusters I have ever seen set up.
IT environments are so complex today, why would anyone think only 10 of anything is "the biggest"?
Check out my eclectic infosec blog at InfoSecPotpou
Mark this day! Cliff's trademark comma actually landed in an appropriate place!
Assuming, of course, that he was trying to sound like Fat Comic Book Guy from The Simpsons.
--
...what are you going to put in the db?
"The evil of the world is made possible by nothing but the sanction you give it." -- Ayn Rand
Imagine a BEOWULF cluster of these CLUSTERS. :-(
Someone had to say that stupid shit.
Are you planing to write some documentation of this work and showing it to internet?
It would say more if you used less powerful machines and still did well.
If you show how well it can run on stock hardware (as opposed to buying more) it may impress more people.
That means 800MHz to 1GHz maybe?
Just a thought.
Sam
blog.sam.liddicott.com
"Biggest...cluster...ever."
"There is no emoticon adequate to express what I'm feeling right now."
I know LJ has a very complex system, but is it documented somewhere? I know there are several database clusters, and lots of cache servers, and several webservers and such...
Who can tell me how it all cums together?
--TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
That is truly amazing. Oh, not the cluster, that doesn't sound so impressive I guess. I really don't know, I don't work with clustered databases.
The truly amazing part is that the postgresql folks have not arrived yet.
Norris/Palin 2012
Fact: We deserve leaders who can kick your ass and field dress your carcass.
See here
Infuriate left and right
IT environments are so complex today, why would anyone think only 10 of anything is "the biggest"?
The submitter never claimed that their cluster was the biggest, but while they were building a good sized cluster, they were just curious what the biggest one ever built was.
Things you think are in the Constitution, but are not.
While we are working on this hefty cluster, we wonder if this is the biggest MySQL cluster has ever been built.
They're clearly asking if theirs is the biggest ever built.
Check out my eclectic infosec blog at InfoSecPotpou
mobile.de (German car marketplace) has over 100 MySQL database servers in their cluster and is performing very well.
Thus proving that even the blind can hit an occasional bullseye -- it's not accuracy, it's random luck ;-)
DO NOT LEAVE IT IS NOT REAL
Google has clusters of 100+ CPU's, and they run MySQL. I haven't seen any public confirmation that they are clustering MySQL, but it would make a lot of sense for them to do so. They would be smart to use a relatively flat db to store all incoming search requests for analysis.
http://tinyurl.com/4ny52
Beowulf imagines a cluster of YOU!
This isn't any ordinary darkness. It's advanced darkness.
Is there one master that handles all the writes and replicates them out to slaves? And only the reads get distributed? Or is there some sort of n-way replication going on there?
Tom
The Army reading list
So, um, the important question... what kind of IO are you putting into these nodes?
CPUs are great and all, but if you're sucking data through a soda straw (i.e., anything less than a good hardware RAID) those CPUs aren't going to have much to do...
Only on slashdot can a posting be rated "Score -1, Insightful".
Hey, even a broken clock is right twice a day!
6 nodes in the financial world is one tiny development setup for a small division. Finanacial databases often have hundreds of nodes. There are only a few people out there with the specialized knowledge and skill to setup one of these types of clusters, but they do exist in production systems all over the world.
in any meaningful sense of the word, you could say the biggest MySQL cluster ever built has been... 1 machine.
You can take a flatfile text database, put it on a bunch of computers,run round-robin DNS, and label it a 'large database cluster' if you want, but I don;t think that is a very useful definition of 'cluster'
You could periodically run rsync to update the slave node's files from a single master file too, but this is routinely done with things like FTP mirrors of Linux distros. Is rpmfind.net a 'cluster'?
Now, if MySQL have support for multi-master replication, or have made it possible for multiple processes to simultaneously read/write to the same database, then they might have something.
Seriously, if you can run multiple MySQL master processes on an OpenMOSIX cluster without worrying about data corruption or lost transactions when a node fails, then you can say you have a cluster.
If you can use a simple IPVS-based cluster, log a transaction to any node of a cluster, and have that transaction replicate transparently to all other nodes of the cluster, without running the risk of serving 'stale' data from the other nodes, then you can say you have a cluster.
At this point, I don't think MySQL can do either, and probably won't in the near future.
I'm all for a truly cluster-enabled databse solution in the OSS space, but MySQL isn't it.
Though for the sentence to be entirely correct, the comma after the quote 'biggest mysql cluster' should be placed within the single quotes, IIRC...
:-)
No one is perfect.
Against stupidity the gods themselves contend in vain.
Karma: Positive (mostly due to rash moderations)
You made a very good point about what is a cluster, especially on what is MySql cluster. But before you confirm your closing statement, please check this out, our secret weapon - the active cluster solution from Emic Networks. (http://www.emicnetworks.com/products/products_eac _mysql.html)
I believe this is the only solution available right now to build a MySql cluster.