5 ms·
This wasn't really a concurrency problem as I understand it, the requests for calculations didn't need to share any data between them. "the bug was missed beca
by djanogo 4y ago
This wasn't really a concurrency problem as I understand it, the requests for calculations didn't need to share any data between them.
"the bug was missed because it only presented when many aircraft at the same time were using the system"
- usea 4y agoI believe any bug that only happens under load is a concurrency bug by definition. The shared resource is the thing under load. If it weren't shared, then the load from one computation would have no effect on another.
- hn_throwaway_99 4y agoThere is certainly not enough information in that quote to say one way or another what the bug was. I've definitely seen concurrency bugs under load because data that wasn't supposed to be shared actually was, e.g. I posted this serious GitHub bug in a comment above, https://github.blog/2021-03-18-how-we-found-and-fixed-a-rare-race-condition-in-our-session-handling/ https://github.blog/2021-03-18-how-we-found-and-fixed-a-rare.... Obviously sessions should be independent and not sharing data, but that's why it was a bug.