Hi!
That depends on how you define "scale up";
when database limits
start to be
the problem, quite a large number of sites scale up to centralized
large SMP
systems running Oracle or something of that ilk quite
successfully. I have
done website systems and network architecture work for some very large
websites (WebEx and
Blockbuster.com among others) and sold hardware to
people building others.
Indeed, selling big iron is more profitable for vendors than those
commodity pizza boxen.
For the most part, web applications have a highly
effectively
paralleliseable app and web layer, but the database on many of them
doesn't
scale horizontally as well. It's not unusual around here to see
sites buy a
clustered pair of big Sun boxes (or more rarely, IBM or HP) and
switch to
Oracle as they grow past what MySQL and Linux servers can handle,
if they're
DB limited.
It all depends on data layout, structure, application design. Any
application out of the box may have scaling issue, but sometimes it
is possible to do some horizontal magic and you're given lots of
fresh air to breathe.
Oddly enough, I've heard quite a lot of stories where maintaining
oracle environment was too expensive and switching to mysql was the
solution.
All of that said, I really don't numerically
understand the loads
on the
Wikimedia Foundation servers, or the details of the architecture
well enough
now to give specific advice.
There's nothing really interesting - lots of requests are being
served even in front of application layer. Out of what is left is
being handled by lots of apaches and quite distributed data system.
We don't do much edits, so there're no more than few hundred update
queries per second (really active updating happens in lossy
databases, e.g. memcached). Replication works, and we send MySQL read
queries to slaves. We do up to 40000 db requests per second.
There are large websites where the actual sustained DB
load is low
enough
that a farm of Linux/MySQL servers is an adequate, reliable
solution. And
despite having worked at a Sun / Oracle VAR I have also deployed
several
thousand linux boxes in horizontal scaled website farms.
We do not have enough of funding to have thousands of linux boxen, so
we end up doing what we can with current resources.
Or for a counterexample, Friendster. I know the poor
guy who was
doing site
architecture there for a while, screaming at his bosses that they
needed to
get off MySQL and get a Sun/Oracle box in, and doing unholy things
to MySQL
to try and keep it going, until he just walked away. Their site
performance
implosion is near-legendary...
*shrug*, they had performance issues, but IIRC they solved them.
--
Domas Mituzas --
http://dammit.lt/ -- [[user:midom]]