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

click here to read article


Navigation: use the links below to view more comments.
first previous 1-20 ... 41-6061-8081-100 ... 121-127 next last
To: Bloody Sam Roberts

So you think Oracle would handle Facebook on a single instance? Of course you shard when you have 750 million active users!


61 posted on 07/07/2011 11:00:16 PM PDT by Wayne07
[ Post Reply | Private Reply | To 15 | View Replies]

To: TenthAmendmentChampion
Well, ten people, million customers, 4 million transactions. We keep only two years worth of data on system, even that drives the database people crazy. The whole thing becomes crazy just thinking about the sheer volume - 3.5 people (1 part timer) list 1100 auctions a day, 360 days a year. (A couple days we just skip)

Of course, eBay's pretty much killed the business - we're just on liquidation mode now with the most recent ‘changes to better service the customers’ - IE: more fees raised and more demands to make shipping free, while shipping becomes ever more expensive.

Though the bright spot was a couple days ago - Economics graduate who does shipping part time finally figured out that the business is unsustainable between eBay fees and eBay (Paypal) fees. Then again, got a call from a competitor asking if we wanted to buy them out, offered to sell out to them.

Long and short of it, eBay's wanting to only cater to small sellers in the US, and giving away the store in Asia. Our eBay/paypal fees would be a quarter of what they are now if we were based in Hong Kong selling the same products.

62 posted on 07/07/2011 11:10:47 PM PDT by kingu (Everything starts with slashing the size and scope of the federal government.)
[ Post Reply | Private Reply | To 35 | View Replies]

To: Slings and Arrows

Just don’t say normalize.

Or cleaning woman.

A query walks into a bar, sees two tables, says “Mind if I join you?”


63 posted on 07/07/2011 11:16:41 PM PDT by glock rocks (Wait, what ?)
[ Post Reply | Private Reply | To 50 | View Replies]

To: MrShoop

Oh, well, the 300,000 are the base items. Atop that are 700,000 orders, 300,000 customer records, 800,000 current sales records, and 4 million archived sales records. Call it 6 million for simplicity.


64 posted on 07/07/2011 11:20:22 PM PDT by kingu (Everything starts with slashing the size and scope of the federal government.)
[ Post Reply | Private Reply | To 60 | View Replies]

To: TenthAmendmentChampion
A few years ago I worked for a huge financial company, and learned that a key list of company information was kept on one of the employee’s desktop computer hard drive, in a spreadsheet!

Don't laugh. Just a couple days ago, a dental person asked about the programming business. I told her that pretty soon, American programmers will be helping people run their businesses on Excel spreadsheets, powered by off-the-grid mini-solar panels, without any internet to be found. She didn't laugh, and I didn't mean it to be funny.

65 posted on 07/07/2011 11:33:18 PM PDT by meadsjn (Sarah 2012, or sooner)
[ Post Reply | Private Reply | To 42 | View Replies]

To: re_nortex

LOL

I thought it was Dr. Pepper.


66 posted on 07/07/2011 11:40:18 PM PDT by smokingfrog ( sleep with one eye open ( <o> ---)
[ Post Reply | Private Reply | To 58 | View Replies]

To: NVDave
a little “Come to Jesus” moment where they decide that they’re going to have to actually, you know, DESIGN this thing.

I haven't seen a design phase included in any project since Y2K.

Design functions happen at the individual developer level, and get discussed over lunch (if at all).

So long as the economy is booming, with no debt and no unemployment, lunar landings every month, business and industry running like well-oiled machinery, we don't need no steenkin design.

67 posted on 07/07/2011 11:45:07 PM PDT by meadsjn (Sarah 2012, or sooner)
[ Post Reply | Private Reply | To 59 | View Replies]

To: glock rocks

68 posted on 07/07/2011 11:45:38 PM PDT by re_nortex (DP...that's what I like about Texas.)
[ Post Reply | Private Reply | To 63 | View Replies]

To: re_nortex

Sign on the wall at my work: WYGIWYG


69 posted on 07/07/2011 11:50:25 PM PDT by glock rocks (Wait, what ?)
[ Post Reply | Private Reply | To 68 | View Replies]

To: glock rocks

Ooooh, what a stinker!

[I am SO stealing that...]


70 posted on 07/07/2011 11:50:50 PM PDT by Slings and Arrows (You can't have Ingsoc without an Emmanuel Goldstein.)
[ Post Reply | Private Reply | To 63 | View Replies]

To: TenthAmendmentChampion

IMHO...

They started off with an application / system design that was not scalable.

Once you go live making drastic design changes to the live system becomes a non-trivial task which carries signficant operational and budgetary impact.

To be successfully scalable to such throughput volumes systems don’t employ architectures like the simple garden-variety database application, for example, a typcial sales invoice system that has a front end user interface that directly updates tables with a layout that mirrors the users screen in a relational database when the user clicks Save. While that approach is fine for most normal applications, it is limited in it’s throughput to the transaction performance of the given database running on the given platform, which is sometimes not satisfactory under super-huge loads such as hundreds of thousands of simultaneous unique users all updating data. The stop-gap hosehead method of getting the required scalability in such a situation (like fbook) is to do what they did, go beserk using every db adminisration technique possible, which sometimes will suffice if you find solid db professionals accustomed to the throughput that is needed. However if throughput requirements simply continue to climb and even your db administration experts start coming to the end of what’s possible, then the garden-variety design paradigm must be abandoned.

Once the requirement to design in that manner is dropped and any and all solutions that a system programmer can create are acceptable, such as writing special purpose server software, etc., then with today’s hardware phenomenal performance is possible. When you consider that today’s computers are executing billions of instructions per second and drives can transfer gigabytes per second, the horsepower is there to do quite a bit if elegant software designs are employed. In fact, those who write the database engine software are the kind of programmer who solves these problems, they are just developing the db, which is a generic solution instead of one targeted to a specific application like fbook.

Of course, very good performance is available using fairly standard approaches as long as the developers are used to developing software in the performance range that is desired. Think of trading platforms today that process huge amounts of transactions and have very stringent requirements for both integrity and real-time performance. But if standard approaches won’t do, there are all sorts of options. Consider google: they knew that file system performance would not scale sufficiently for them so they created their own google file system, or gfs. Chances are most people don’t even understand, in truth, exactly what that means, to write their own file system, or how one would even know if one could benefit from doing that. Many people any more don’t know or like to acknowledge that programming is still generally broken down into the fields of application programming and systems programming, so in cases like fbook they do not go out and hire the right types of systems progammers from day one.

There are qualified people out there, but in cases like idiotbook - I mean facebook - where one harvard brat with no heavy (meaning high-performance) database programming experience is viewed as some kind of genius by investors and is at the helm of the corporation, an inmate is in charge of the asylum. Like bill gates, his personality is very well suited towards building an empire, i.e., product positioning and retaining management control for himself, but not towards technical prowess. He was very much a one-man-band in terms of being the top technical decision-maker in the early days of fbook. Rather than have a real architect come in who would undoubtedly seek significant ownership at that point, in good-old-American IPO style, he maintained his unquestioned position as top-dog and planned on bringing in people to handle the real big-time scalability issues after his top-dog status was eminently secure and the company was producing a lot of revenue. It’s no great tragedy, of course, it’s just an FYI to those who consider investing in tech IPOs - hyped yet murky valuations, business models, management and underlying technology can make it a wild ride.

True technicians understand that if you have a team of guys working on a project, each has their own job, and you work together: when the xyz expert comes in to xyz, you lettem have at it. And amongst true technicians, it quickly becomes apparent who overreaches and who can always deliver when they say they will deliver. Good teams tend to drop off everyone else. Bad teams result from promoting the wrong people. The challenge then is for management to know when they are only hacking in a given technical subject, and they need to go get a new person who is a real kick a$$ expert in that technical subject if no one can or will put in the effort needed to get really knowledgable of the subject in question. They must be able to deliver the industrial-strength code needed and also have the vision to come up with not only passable design ideas, but excellent ideas verging on optimal solutions given the project constraints. Most college graduates and entry-level programmers today are assumed to have far more capabilities than they do. We often forget that like any other trade or profession, programmers benefit from years of deep and broad experience as well as pure study and a serious interest in their field.

It all comes down to, as Herman Cain says, having the right people in the right job and just letting them do what they do. Once a team has the right people and is firing on all cylinders, it’s good.


71 posted on 07/07/2011 11:57:44 PM PDT by PieterCasparzen (It's not difficult.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Slings and Arrows

Just be aware the use of “query” might make some ansi.


72 posted on 07/08/2011 12:00:39 AM PDT by glock rocks (Wait, what ?)
[ Post Reply | Private Reply | To 70 | View Replies]

To: kingu

Those definitely are numbers where you need to start paying attention to MySQL.. Still, that shouldn’t be too bad as long as the hardware is ok. Unless you are table scanning the 4 million archived records..


73 posted on 07/08/2011 12:13:20 AM PDT by Wayne07
[ Post Reply | Private Reply | To 64 | View Replies]

To: NVDave
I agree with your reasoning. We have seen SQL kludged into handling just about everything. Certainly it has been a great database model, and is still very useful for most database uses, but there are other models, like OODB, that are probably more appropriate somethings, like FB.

Seems to me, FB has the resources to start or fund development of its own database, as you say. That's probably what it will eventually have to do.

74 posted on 07/08/2011 12:27:47 AM PDT by Paradox (Obnoxious, Bumbling, Absurd, Maladroit, Assinine)
[ Post Reply | Private Reply | To 59 | View Replies]

To: Peter from Rutland

My understanding is that Google’s Eric Schmidt was shown the door because he didn’t secure a proper agreement with the “Borg”; - and now his former company has been exposed to all sorts of potential liability.


75 posted on 07/08/2011 12:50:54 AM PDT by Cyropaedia ("Virtue cannot separate itself from reality without becoming a principal of evil...".)
[ Post Reply | Private Reply | To 8 | View Replies]

To: glock rocks

Now you’re projecting your own fears. In my view, you should really restrict that.


76 posted on 07/08/2011 1:50:10 AM PDT by Slings and Arrows (You can't have Ingsoc without an Emmanuel Goldstein.)
[ Post Reply | Private Reply | To 72 | View Replies]

To: shibumi

Gah ZEEEEEEE Bo.


77 posted on 07/08/2011 1:57:52 AM PDT by Salamander (I don't want trouble, I don't need no fuss. But I'm wounded, old and treacherous.)
[ Post Reply | Private Reply | To 27 | View Replies]

To: smokingfrog

The poor man’s Flying Buttress!.....


78 posted on 07/08/2011 2:00:06 AM PDT by Gaffer
[ Post Reply | Private Reply | To 29 | View Replies]

To: TenthAmendmentChampion
Not to worry............China Wants to Buy Facebook
79 posted on 07/08/2011 2:06:16 AM PDT by Daffynition ("Don't just live your life, but witness it also.")
[ Post Reply | Private Reply | To 1 | View Replies]

To: re_nortex
I would guess MySQL. Anything built around that time would used MySQL.

Some pretty prominent large scale sites are using MongoDB & CouchDB now.
80 posted on 07/08/2011 3:24:53 AM PDT by Minus_The_Bear
[ Post Reply | Private Reply | To 14 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 41-6061-8081-100 ... 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