3 ms·
Forget about independent writers, Append() isn’t thread-safe (as in there’s no locking on .length; there’s no data race) so you’ll get constant conflicts with t
by oefrha 2y ago
Forget about independent writers, Append() isn’t thread-safe (as in there’s no locking on .length; there’s no data race) so you’ll get constant conflicts with two goroutines logging to the same writer.
- ipv6ipv4 2y agoThe writeup mentions multiple writers in a couple places but it doesn't really specify how, or where. The writers could be in different processes or on different machines.
- oefrha 2y agoYeah, I’m saying it doesn’t even handle in-process concurrent writes very well, let alone distributed ones.