2 ms·
Random thoughts on concurrency, databases and distributed systems
- andrewfromx 4y agoI just used a mutex here: https://github.com/andrewarrow/feedback/blob/master/stats/memory.go#L32 https://github.com/andrewarrow/feedback/blob/master/stats/me... Multiple go routines will call this method at same time but: https://github.com/andrewarrow/feedback/blob/master/router/path.go#L46 https://github.com/andrewarrow/feedback/blob/master/router/p... Where I call it I start a new go routine so nothing is ever waiting on that mutex right?