Hacker News

matt_d
Data races and the limits of ThreadSanitizer in C and Go theconsensus.dev

[deleted]5 days agocollapsed

camkego5 days ago

I’ve often thought that single threaded architectures that can eliminate whole classes of bugs are often undervalued.

For example, the command execution design of Redis is purely single threaded. (Redis does have other threads for slower activities)

pjmlp5 days ago

Because we were already there with multi-processing and OS IPC before mainstream OSes added multi-threading support, and while it is better for stability and security, there are additional hardware resources to account for.

To use modern speak, we were doing microservices inside a single computer.

1over1378 days ago

Nice write up! I didn’t know about those TSan limits; it was informative.

codedump5 days ago

[flagged]

kevinbaiv5 days ago

[flagged]

eatonphil5 days ago

[flagged]

hn-front (c) 2024 voximity
source