Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Facebook trapped in MySQL ‘fate worse than death’
Giga OM ^ | July 7, 2011 | Derrick Harris

Posted on 07/07/2011 8:55:49 PM PDT by TenthAmendmentChampion

According to database pioneer Michael Stonebraker, Facebook is operating a huge, complex MySQL implementation equivalent to “a fate worse than death,” and the only way out is “bite the bullet and rewrite everything.”

Not that it’s necessarily Facebook’s fault, though. Stonebraker says the social network’s predicament is all too common among web startups that start small and grow to epic proportions.

During an interview this week, Stonebraker explained to me that Facebook has split its MySQL database into 4,000 shards in order to handle the site’s massive data volume, and is running 9,000 instances of memcached in order to keep up with the number of transactions the database must serve. I’m checking with Facebook to verify the accuracy of those numbers, but Facebook’s history with MySQL is no mystery.

The oft-quoted statistic from 2008 is that the site had 1,800 servers dedicated to MySQL and 805 servers dedicated to memcached, although multiple MySQL shards and memcached instances can run on a single server. Facebook even maintains a MySQL at Facebook page dedicated to updating readers on the progress of its extensive work to make the database scale along with the site...

(Excerpt) Read more at gigaom.com ...


TOPICS: Business/Economy; Computers/Internet
KEYWORDS: bsd; facebook; linux; mysql; opensource; socialnetwork; unix
Navigation: use the links below to view more comments.
first previous 1-2021-4041-6061-80 ... 121-127 next last
To: tfecw

Oracle can scale like you wouldn’t believe.


21 posted on 07/07/2011 9:21:44 PM PDT by Peter from Rutland
[ Post Reply | Private Reply | To 11 | View Replies]

To: re_nortex

Oracle would be nothing without the original DB designers from Digital Equipment Corporation.


22 posted on 07/07/2011 9:23:18 PM PDT by Peter from Rutland
[ Post Reply | Private Reply | To 14 | View Replies]

To: TenthAmendmentChampion

Oracle the best?

Yeah, the best salesmen!


23 posted on 07/07/2011 9:25:54 PM PDT by Revolting cat! (Let us prey!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Bloody Sam Roberts
They didn't see the potential of their enterprise and stuck with MySQL and when the thing expanded exponentially they were caught unawares. Call it a lack of vision.

What???!! Guess the little boy-geniuses were not so smart after all?

24 posted on 07/07/2011 9:26:36 PM PDT by FrdmLvr
[ Post Reply | Private Reply | To 15 | View Replies]

To: re_nortex
And of course, there's always vi vs. emacs

Ack! That takes me back to newsgroup flamewars back before anything but dialup existed, and the web was just a spark waiting to become an RFC. FTP, gopher, talk... The slow old days.

/johnny

25 posted on 07/07/2011 9:27:15 PM PDT by JRandomFreeper (Gone Galt)
[ Post Reply | Private Reply | To 18 | View Replies]

To: TenthAmendmentChampion

Not new to people who have been around SQL and database design.

What people forget about SQL relational databases is that they were a replacement for how data was organized in the 70’s on mainframes: indexed files.

Because most kiddies today have never seen an ISAM or VSAM file, and wouldn’t know one if it it were to leap up and bit them in their pampered buttocks, they have no perspective on what SQL relational databases were designed to do.

The brutal truth is pretty low-tech for most of today’s kids: SQL and RDBMS were to fill an organized file with data in a way that enabled the programmer generating fast reports with queries for keyed and non-keyed fields - in other words, doing the grunt work of the business world that had outgrown such platforms as the System 34 and 36 and languages like RPG-II and RPG-III.

That’s it. As SQL progressed, transactions were added, as were some pretty powerful constructs for joins, etc. Pretty cool stuff if you’re crunching reams of nice tabular data. Let’s say you want to write up a database of auto registrations, medical records etc - RDBMS do that pretty well.

But applications like social networks..... they don’t have the nice, orderly data in columns, marching down the greenbar fanfold paper. There’s all these networks, circularities, odd bits of data with bizarre relationships that don’t fit the relational database models - not even remotely. Oracle won’t solve this problem; it will merely move the wall out a tad before they hit it.

Kids need to crack open some books, read a bunch of code and learn some things from people who have been there, done that. But the current dot-bomb VC/startup system doesn’t think about rewarding people who do their homework and get things right. It rewards people who are the first with the crappiest. These problems aren’t new. The reason why outfits like Facebook use MySQL or any SQL-based relational DB is because they don’t know any better, they haven’t got the brains to think through the problem they have and are trying to solve. They just grab some “free” software off a FTP site and use a big enough hammer until their square peg gets broached into the round hole.

And why don’t they know any better? Because these snot-nosed twerps wasted their years in colleges fooling around with rubbish like C++, arguably the worst language to come along since.... well, since forever. I can’t think of a worse programming language, actually. Add to this that schools like Harvard waste undergrad time on such nonsense as “intelligent machines” and “privacy and technology,” both of which are simply graduate level subject areas. As far as I can see, things like databases, database schema, grunt-work business data processing... are all too mundane to receive any treatment in the CS department at Harvard, Zuckerberg’s school.

So Facebook has a DB problem. Eh, OK. Gives me another reason to drop my account. Zuckerberg’s perverted security models were my first biggest reason.


26 posted on 07/07/2011 9:27:59 PM PDT by NVDave
[ Post Reply | Private Reply | To 1 | View Replies]

To: TenthAmendmentChampion; Salamander; Allegra; Markos33; JoeProBono; Slings and Arrows
I see you're not wearing any ~Ga-Losh-Es~

I'm wearing ~Ga-Losh-Es~

Es-Ki-Moes don't wear ~Ga-Losh-Es~

They wear Muck-Lucks!

Say it! ~MUCK-LUCKS!~

27 posted on 07/07/2011 9:28:06 PM PDT by shibumi (The man who never alters his opinion is like standing water and breeds reptiles of the mind - Blake)
[ Post Reply | Private Reply | To 1 | View Replies]

To: TenthAmendmentChampion

The problem with SQL, whatever the server, is that the implementations, i.e. the schemas of the tables are rarely relational, due to (1) the skills of the Indian programmers, (2) the limitations of the relational theory.

Been there, done that. Irrelational databases.


28 posted on 07/07/2011 9:28:51 PM PDT by Revolting cat! (Let us prey!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Bloody Sam Roberts

29 posted on 07/07/2011 9:30:18 PM PDT by smokingfrog ( sleep with one eye open ( <o> ---)
[ Post Reply | Private Reply | To 15 | View Replies]

To: smokingfrog
Translation?

An unimaginably large (possibly the largest commercial dataset on the planet) amount of data, and the technical complexities of updating and retrieving data quickly, all while providing for continuity and fault tolerance, and scaling for massive growth.

I bet this post is stored in a MySQL database.
30 posted on 07/07/2011 9:30:26 PM PDT by andyk (Interstate != Intrastate)
[ Post Reply | Private Reply | To 4 | View Replies]

To: gura

Informix, wow, didn’t even know it still existed. I did some Informix projects back in the mid 80’s. Worked great.


31 posted on 07/07/2011 9:30:46 PM PDT by ccmay (Too much Law; not enough Order.)
[ Post Reply | Private Reply | To 16 | View Replies]

To: Revolting cat!

Bingo.


32 posted on 07/07/2011 9:34:01 PM PDT by NVDave
[ Post Reply | Private Reply | To 28 | View Replies]

To: shibumi

33 posted on 07/07/2011 9:36:23 PM PDT by JoeProBono (A closed mouth gathers no feet)
[ Post Reply | Private Reply | To 27 | View Replies]

To: re_nortex

>>And it’s ess-que-ell not sequel.<<

I was a DB2 programmer back in the day and EVERYONE called it ess-que-ell. Then I was at a job interview at Microsoft about 6 years ago and one of the guys that interviewed me used both pronunciations, but for specific things. When we talked of mainframes and DB2, he pronounced it the old way. When dealing with Microsoft software, he called it Sequel. Who owns Microsoft ess-que-ell server? :-)


34 posted on 07/07/2011 9:36:23 PM PDT by RobRoy (The US today: Revelation 18:4)
[ Post Reply | Private Reply | To 5 | View Replies]

To: DaxtonBrown

All that for ten people? Wow.

I worked at a pharmacy benefits company with a comprehensive system that managed cardholders, drugs, plans, prior authorizations, etc. I wrote the data dictionary for the system which consisted of about 200-250 tables for various purposes. Some of the logic was kludgey, some of it was pretty ingenious. It was created in Oracle and scalability never seemed to be a problem. I would guess they managed about a million cardholders all told.


35 posted on 07/07/2011 9:46:27 PM PDT by TenthAmendmentChampion (Darwinism is to Genesis as Global Warming is to Revelations.)
[ Post Reply | Private Reply | To 7 | View Replies]

To: TenthAmendmentChampion

The solution is IBM’s DB2...


36 posted on 07/07/2011 9:47:20 PM PDT by ColdSteelTalon (Light is fading to shadow, and casting its shroud over all we have known...)
[ Post Reply | Private Reply | To 1 | View Replies]

To: smokingfrog

This is actually a very interesting thread.

I know a little SQL, learned it on MySQL and Windows SQL 2000. Hell, I can barely pass a basic SQL course at the local Community College. But I passed.

Rock on you guys, you are my heroes. Fags ;) Y’all are so far over my head I bet you have nose bleeds.


37 posted on 07/07/2011 9:47:30 PM PDT by West Texas Chuck (Alcohol, Tobacco and Firearms. That should be a convenience store, not a Government Agency.)
[ Post Reply | Private Reply | To 29 | View Replies]

To: JRandomFreeper
That takes me back to newsgroup flamewars back before anything but dialup existed

DejaNews
38 posted on 07/07/2011 9:49:05 PM PDT by andyk (Interstate != Intrastate)
[ Post Reply | Private Reply | To 25 | View Replies]

To: NVDave

+1, you win the interwebs.


39 posted on 07/07/2011 9:51:59 PM PDT by andyk (Interstate != Intrastate)
[ Post Reply | Private Reply | To 26 | View Replies]

To: DaxtonBrown; kingu

Oops, sorry my reply was meant for Kingu’s post number 10.


40 posted on 07/07/2011 9:52:30 PM PDT by TenthAmendmentChampion (Darwinism is to Genesis as Global Warming is to Revelations.)
[ Post Reply | Private Reply | To 7 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-6061-80 ... 121-127 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson