| Deutsch English Français Italiano |
|
<66f76d03$0$711$14726298@news.sunsite.dk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Fri, 27 Sep 2024 22:42:10 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Apache + mod_php performance Newsgroups: comp.os.vms References: <vcv0bl$39mnj$1@dont-email.me> <vd1bdp$3npm3$1@dont-email.me> <vd1lgd$dbq$1@reader1.panix.com> <vd1u8j$3qqpg$1@dont-email.me> <vd3vhj$849$1@reader1.panix.com> <vd6l5h$pmt5$1@dont-email.me> <vd7ec3$tdq8$4@dont-email.me> <vd7fdf$tgu3$1@dont-email.me> <vd7glq$tdq8$16@dont-email.me> <vd7hme$tgu3$3@dont-email.me> <vd7nk3$12csp$1@dont-email.me> <66f762e1$0$711$14726298@news.sunsite.dk> <vd7o2j$12e29$2@dont-email.me> <vd7onl$tvpn$1@dont-email.me> <vd7p3q$12jse$1@dont-email.me> Content-Language: en-US From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> In-Reply-To: <vd7p3q$12jse$1@dont-email.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 36 Message-ID: <66f76d03$0$711$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 71c947e8.news.sunsite.dk X-Trace: 1727491331 news.sunsite.dk 711 arne@vajhoej.dk/68.14.27.188:59502 X-Complaints-To: staff@sunsite.dk Bytes: 2658 On 9/27/2024 10:19 PM, Lawrence D'Oliveiro wrote: > On Fri, 27 Sep 2024 22:13:09 -0400, Arne Vajhøj wrote: >> On 9/27/2024 10:01 PM, Lawrence D'Oliveiro wrote: >>> On Fri, 27 Sep 2024 21:58:57 -0400, Arne Vajhøj wrote: >>>> If volume requires sharding then ... >>> >>> “Sharding” means “split across multiple physical persistent storage”. >> >> It means that you have N active database servers each with 1/N of the >> data (possible with replication to N or 2N passive database servers). > > Quite unnecessary, given that the bottleneck is the usually the latency > and bandwidth of the persistent storage, not the CPU. I don't think Facebook could move their 1800 MySQL shards onto a single server. > Particularly since your network connections introduce latency and > bandwidth limitations of their own. That is not the problem with shards. Applications are usually OK with network latency. The problem with shards is that not all data usage models fit nicely with sharding. If you need to get/update a row by primary key then sharding works perfect - you go to the right server and just do it. If you need to get/update a number of rows and you don't know which servers they are on, then it means querying all servers, which both create performance and consistency problems. Arne