Hi,<br>Presently, I'm having 3 600 000 fotos in average 50KB per one, and 5 000 000 thubms in average 3KB per one, so its occupy in total disk storage about 200GB.<br>I in peak hours traffic is about 5500 queries per second.
<br>Below is statistic of traffic from one domain :<br><span style="font-style: italic;"><a href="http://domain2.com">domain2.com</a>: (queries for file per hour)<br><br></span><font style="font-style: italic;" size="1"><font color="#000000">
2007-01-07 13:00 2007-01-07 14:00 8 877 219<br>2007-01-07 14:00 2007-01-07 15:00 8 586 457<br>2007-01-07 15:00 2007-01-07 16:00 8 479 585<br>2007-01-07 16:00 2007-01-07 17:00 8 438 471<br>2007-01-07 17:00 2007-01-07 18:00 8 802 175
<br>2007-01-07 18:00 2007-01-07 19:00 9 299 118<br>2007-01-07 19:00 2007-01-07 20:00 10 334 540<br>2007-01-07 20:00 2007-01-07 21:00 11 069 773<br>2007-01-07 21:00 2007-01-07 22:00 9 642 031<br>2007-01-07 22:00 2007-01-07 23:00 5 635 150
<br>2007-01-07 23:00 2007-02-07 00:00 2 498 822<br>2007-02-07 00:00 2007-02-07 01:00 1 077 072</font></font><br><font size="3"><font color="#000000"><br></font></font>I would be able to obtain 20 units of sun x2100 M2, which each of other has 2 SATA disks, two processors Opteron dual core. And such unit is able to have max 64 GB ram. So, my question is how many units I'll need? and what how many ram per one? The main purpose is to increase the traffic from 5500 q/s to 10000 q/s (q/s - queries per second)
<br><br>Thanks for all solutions from you<br><br>Krzysztof<br><br><br>2007/7/2, Robin H. Johnson <<a href="mailto:robbat2@gentoo.org">robbat2@gentoo.org</a>>:<br>> On Mon, Jul 02, 2007 at 09:14:37AM +0200, Krzysztof Kulicki wrote:
<br>> > Hi,<br>> > I will have <a href="http://6.000.000.000">6.000.000.000</a> queries about foto, transfer 36000GB per<br>> > month. How much servers I need and what kind ? I will need more disk<br>
> > storage or more ram storage? I would use mogilefs for it.<br>> Could you state how many photos you have in total and what quantity of<br>> disk they presently occupy? Also look at what your peak traffic is
<br>> weekly, as that will figure into your IO requirements.<br>> <br>> As a general formula to work out the requirement amount of storage for<br>> the objects in a given class, take the amount of storage that a single
<br>> copy requires, and multiply it by your desired mindevcount.<br>> Eg: 20GiB of data with mindevcount=3, requires 60GiB of storage.<br>> <br>> So work out your storage classes, say 100Gb of photos with a of
<br>> mindevcount=6, 5Gb of thumbnails with mindevcount=3. That's 615Gb in<br>> total.<br>> <br>> If you use the default MultipleHosts replication policy, you should have<br>> at least as many separate machines as your mindevcount. (Having two
<br>> hosts, one with 1 device, and the other with 4 devices, things really<br>> suck if you temporarily lose the host that has 4 devices).<br>> <br>> --<br>> Robin Hugh Johnson<br>> Gentoo Linux Developer & Council Member
<br>> E-Mail : <a href="mailto:robbat2@gentoo.org">robbat2@gentoo.org</a><br>> GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85<br>> <br>> <br>