You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Segments are guarded by a sync.Mutex. If the user promises to not use TTLs at construction time (with an option), these locks could be changed to sync.RWMutex for increased throughput in read-predominant, highly concurrent workloads.
We could also stop tracking the access time entirely, which would allow us to pack more data in the same size, as well as squeeze a little bit more performance (time.Now() translates into a syscall).
The text was updated successfully, but these errors were encountered:
Segments are guarded by a
sync.Mutex
. If the user promises to not use TTLs at construction time (with an option), these locks could be changed tosync.RWMutex
for increased throughput in read-predominant, highly concurrent workloads.We could also stop tracking the access time entirely, which would allow us to pack more data in the same size, as well as squeeze a little bit more performance (time.Now() translates into a syscall).
The text was updated successfully, but these errors were encountered: