Remix.run Logo
sarchertech 4 days ago

> Every place I worked at, that had any kind of reliable, high-throughput concurrent system

Pretty much anyone with high throughput is running a high throughput concurrent system, and very few companies have an extensive suite of concurrency tests unless you just mean load tests (that aren’t setup to catch race conditions).

The “reliable” part of that statement might be doing a lot of heavy lifting depending on what exactly you mean by that.

wubrr 4 days ago | parent [-]

I gave you several concrete examples. Your claims of 'very few companies have...' aren't very convincing, and the apparent popularity of concurrency testing isn't really a strong argument for or against it's effectiveness or do-ability.

sarchertech 4 days ago | parent [-]

Did you Google “concurrency testing” and send me the top 5 results?

fn-mote 4 days ago | parent | next [-]

Kind of looks like it … the supporting evidence includes work from Microsoft: learning how to write concurrent programs. Surely not evidence that Microsoft is testing for concurrency bugs (of course they are).

ongy 4 days ago | parent [-]

> In Go 1.24, we are introducing a new, experimental testing/synctest package Clearly a mature mechanism we'd see in large companies...

wubrr 4 days ago | parent | prev [-]

Maybe you should have googled 'concurrency testing' before telling me a story about how you worked at every tech company for 76000 years and never saw any concurrency testing lmao.

sarchertech 2 days ago | parent | next [-]

Obvious hyperbole aside, I never said "never saw any concurrency testing". I said I never saw a place that was generally and reliably testing for concurrency bugs.

That is to say that following the standard practices at that company, an average developer introducing a concurrency bug will only tend to find out about that bug in production. And even if the developer wants to implement concurrency testing they will probably find it difficult enough to do that they'll give up because it's not a normal part of the test suite.

This is less true for people working on infrastructure like operating systems, and databases than it is for web developers.

hluska 4 days ago | parent | prev [-]

They said twenty, not 76000. What a crock.

jamespo 4 days ago | parent | next [-]

Perhaps he had a concurrency bug writing the sentence and didn't lock the value

gubicle 4 days ago | parent | prev [-]

same thing