/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
WebSockets cost us $1M on our AWS bill
(www.recall.ai)
257 points
tosh
| 1 comments |
06 Nov 24 18:50 UTC
|
HN request time: 0.213s
|
source
Show context
cperciva
◴[
06 Nov 24 21:20 UTC
]
No.
42069585
[source]
▶
>>42067275 (OP)
#
We use atomic operations to update the pointers in a thread-safe manner
Are you sure about that? Atomics are not locks, and not all systems have strong memory ordering.
replies(3):
>>42070126
#
>>42070474
#
>>42070917
#
1.
Sesse__
◴[
06 Nov 24 22:25 UTC
]
No.
42070474
[source]
▶
>>42069585
#
Rust atomics, like C++ atomics, include memory barriers (the programmer chooses how strong, the compiler/CPU is free to give stronger).
ID:
GO
↑