This is a very interesting presentation (see below) on the technologies used to make Digg, the challenges faced along the way and how they overcame it. ��� ����� ���������� ����������� (��. ����) �� �����������, ������������ ������� Digg, ��������, ������� �� ���� ���� � ��� ��� ���������� ���. I would recommend it to any Web 2.0 startup architects. � �� �������������� ��� �� ����� ���-2,0 ������ ������������.

In short Digg uses multiple MySQL slaves with a single master, multiple load balanced PHP servers which connects to random MySQL slave (for load balancing obviously). ������ Digg MySQL ���������� ��������� ����� � ������ �������, ��������� ������������ �������� �������� PHP ������� ������������ � ��������� MySQL ���� (��� ������������ ��������, ��������). They also use Memcached with multiple specialized pools like a separate pool for search. ��� ����� ���������� Memcached � ����������� ������������������� ��������, ��� ��������� ������� ��� ������.

Digg is the poster boy of PHP driven high volume sites. Digg ����� ������ ������� �� PHP �� ���������� ������� ����� ������.

It wasn't clear from the slides whether they actually used sharding (breaking your database into small segment say based on data ranges, tables etc.) in any form. ������, � ������� �� ��� ���������� �������������� sharding (��������� ����� ������ �� ������ ����� �������, ���������� �� ������ ����������, ����� � �.�.) � ����� �����. Looking at their architecture I don't think they can easily use sharding in future too. ����� �� �� ����������� � �� �����, ��� ��� ����� ����� ������������ sharding � ������� ����. Can you guess why? ������ �� �� ����������, ������?