Include to favorites
Log in Logout Register
Start Login Contact Help Photos What's new
Avanced Search
FAQ
RESULTS IN: TEXT IMAGES

Hello, Guest
Login  Register
Online: 129 visitors

Blogging (2)
Business (1)
Educational (2)
Gadgets (1)
Games (2)
High Tech News (1)
Internet (0)
PC (1)
PDA (0)
Photography (0)
Science (1)
Software (1)
Wireless (1)


Browse by date

<< Dicember 2008 >>
MonTueWedThrFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031




Recent searches

Popular searches

Hot this month

Weblogs Archive


GADGETS AND GAMES DIRECTORY :: > Business Register Weblog >  Business Tech Weblogs - WEEKLYBITS.COM GADGETS AND GAMES DIRECTORY
Silicon Alley Insider
generated by   en Blogger
SEND A FRIEND
Suscribing to  please login first
User: Login

Weblog covering digital business
Digital Business, Live From New York.Visit Silicon Alley Insider
Address URLhttp://www.alleyinsider.com/    Registered: 22-Mar-2008
Ads:

Send to email
Visit Why Can't Twitter Scale? Blaine Cook Tries To Explain Why Can't Twitter Scale? Blaine Cook Tries To Explain in General
By Silicon
el 12-May-2008

blaine-cook.jpgToday, Blaine Cook, formerly Twitter's chief architect, writes his first blog post since leaving Twitter. It certainly seems like he has some stuff to get off his chest. (Not true, says Blaine - see comment below).

The gist of the piece is that languages don't scale, architectures do. It seems clear why Blaine might want to say something about scaling, since it is clearly the number one issue at Twitter. And he did take some heat for the problems there. And in some corners of the Web, Ruby, the language that Twitter runs on, has taken even more heat.

Blaine's arugment: Scaling is fundamentally about the ability of a system to easily support many servers. So something is scalable if you can easily start with one server and go easily to 100, 1000, or 10,000 servers and get performance improvement commensurate with the increase in resources.

When people talk about languages scaling, this is silly, because it is really the architecture that determines the scalability. One language may be slower than another, but this will not affect the ability of the system to add more servers.

Typically one language could be two or three, or even ten times slower. But all this would mean in a highly scalable system is that you would need two or three or ten times the number of servers to handle a given load. Servers aren't free (just ask Facebook), but a well-capitalized company can certainly afford them.

The problem comes when your architecture is such that you can't just add more servers. While Blaine does not discuss this, the primary reason things don't scale has to do more with the cost of data access. Databases are almost always your bottleneck, because all your data typically needs to be stored in some central repository.

So how you architect your data storage and access will determine your scalability. For example, do you use RAM based caching like memcached to improve performance and limit the need to read the database? If so, is your caching architecture good enough to limit most reads from the database, or just a few? These are the kinds of architectural decisions that will determine system performance.

In Twitter's case, there is zero chance that the problems there are in any way related to their language. It is likely that there are architectural challenges which come from the fact that it is very hard to cache a Twitter data request since no two people ever get the same data. And even for a given user, the data requests change quickly since users are always receiving tweets. This is a hard, though not unsolvable problem that requires a very specialized caching architecture. Eran Hammer-Lahav, has done some interesting work in this area and talks about it in an extensive blog post.

The bottom line is languages don't kill scaling, programmers do. As such, Blaine's piece, while sounding a bit defiant, might really be read more like a mea culpa. Though, to be fair, despite all the chatter and criticism, scaling Twitter is indeed a non-trivial problem.

SAI Contributor Hank Williams is a New York-based entrepreneur. He writes Why Does Everything Suck? Exploring the tech marketplace from 10,000 feet.

See Also: Lead Architect Blaine Cook Out At Twitter

Twitter Turmoil Not Finished: Engineering VP Lee Mighdoll Out



Read 0 times

Suscribing to  please login first
Why Can

Photologs
Microsoft Cashback Not Giving Enough Cash Back (MSFT)

OctSearchShare.png - Microsoft Cashback Not Giving Enough Cash Back (MSFT)
Más fotos Microsoft Cashback Not Giving Enough Cash Back (MSFT) + fotos


01-Dec-2008
Clearwire (CLWRD) Dumping Sprint's (S) 'Xohm' Name For WiMax Service

clearwire-xohm.gif - Clearwire (CLWRD) Dumping Sprint
Más fotos Clearwire (CLWRD) Dumping Sprint + fotos




01-Dec-2008
Facebook: Please Let Us Spam Your Email Box

facebook-settings.gif - Facebook: Please Let Us Spam Your Email Box
Más fotos Facebook: Please Let Us Spam Your Email Box + fotos




27-Nov-2008

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't Twitter Scale? Blaine Cook Tries To Explain') AS score FROM blogdir_post ' at line 1