Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #122281

Re: Solving thundering Herd with glibc...

From candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>
Newsgroups comp.lang.c++
Subject Re: Solving thundering Herd with glibc...
Date 2025-05-16 12:30 +0000
Organization the-candyden-of-code
Message-ID <slrn102ebqi.3gnpo.candycanearter07@candydeb.host.invalid> (permalink)
References (1 earlier) <vue9bf$2dodm$2@raubtier-asyl.eternal-september.org> <vueanl$2erl6$1@dont-email.me> <vufhi7$3jcg6$1@raubtier-asyl.eternal-september.org> <1002beu$2htkv$2@dont-email.me> <10042po$306q5$1@dont-email.me>

Show all headers | View raw


David Brown <david.brown@hesbynett.no> wrote at 06:49 this Thursday (GMT):
> On 14/05/2025 17:05, Vir Campestris wrote:
>> On 25/04/2025 09:37, Bonita Montero wrote:
>>> Am 24.04.2025 um 23:33 schrieb Chris M. Thomasson:
>>>
>>>> "there’s no thundering herd, ever!" because a controlled test didn't 
>>>> "show it" is like saying race conditions do not exist because your 
>>>> code "worked fine this time."? Fair enough?
>>>
>>> Yes, controlled test with 10'000 iterations.
>>> The code is correct and trivial, but too much for you.
>>>
>> Once upon a time I put a race in a bit of code.
>> 
>> It took us 3 years to track down why our customers were reporting 
>> occasional faults :(
>> 
>> (It turned out the trick to reproduce it was a combination of lots of 
>> CPU load and disk transfers not more than once every 30 seconds)
>> 
>
> It's always fun dealing with a bug that only triggers in rare timing 
> situations.  We once had a mistake in a timing table in a program that 
> could sometimes result in intermittent faults in the system if 
> particular events occurred at the same time, on the 30th of September. 
> Finding an issue that occurred at most once per year was a challenge!


If you knew what date the issue was happening on, could you force the
system clock to be on that day?
-- 
user <candycane> is generated from /dev/urandom

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Solving thundering Herd with glibc... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-04-24 13:39 -0700
  Re: Solving thundering Herd with glibc... Bonita Montero <Bonita.Montero@gmail.com> - 2025-04-24 23:10 +0200
    Re: Solving thundering Herd with glibc... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-04-24 14:33 -0700
      Re: Solving thundering Herd with glibc... Bonita Montero <Bonita.Montero@gmail.com> - 2025-04-25 10:37 +0200
        Re: Solving thundering Herd with glibc... Bonita Montero <Bonita.Montero@gmail.com> - 2025-04-25 13:27 +0200
          Re: Solving thundering Herd with glibc... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-04-25 13:01 -0700
            Re: Solving thundering Herd with glibc... Bonita Montero <Bonita.Montero@gmail.com> - 2025-04-26 08:26 +0200
              Re: Solving thundering Herd with glibc... Bonita Montero <Bonita.Montero@gmail.com> - 2025-04-26 09:25 +0200
                Re: Solving thundering Herd with glibc... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-04-26 14:41 -0700
                Re: Solving thundering Herd with glibc... Bonita Montero <Bonita.Montero@gmail.com> - 2025-04-27 05:18 +0200
                Re: Solving thundering Herd with glibc... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-04-29 12:26 -0700
        Re: Solving thundering Herd with glibc... Vir Campestris <vir.campestris@invalid.invalid> - 2025-05-14 16:05 +0100
          Re: Solving thundering Herd with glibc... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2025-05-14 16:22 -0700
          Re: Solving thundering Herd with glibc... David Brown <david.brown@hesbynett.no> - 2025-05-15 08:49 +0200
            Re: Solving thundering Herd with glibc... candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-05-16 12:30 +0000
              Re: Solving thundering Herd with glibc... David Brown <david.brown@hesbynett.no> - 2025-05-16 15:33 +0200
                Re: Solving thundering Herd with glibc... candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-05-18 19:20 +0000
          Re: Solving thundering Herd with glibc... Bonita Montero <Bonita.Montero@gmail.com> - 2025-05-16 15:24 +0200
    Re: Solving thundering Herd with glibc... scott@slp53.sl.home (Scott Lurndal) - 2025-04-24 21:35 +0000
      Re: Solving thundering Herd with glibc... Bonita Montero <Bonita.Montero@gmail.com> - 2025-04-25 08:28 +0200

csiph-web