Hi Everyone,
I finished simple and effective key/value store with nice api:
https://github.com/recoilme/slowpoke
The performance was not a target of this database but it performs well and
not so slow as i expected. It just stores values in files and keys with
value addresses in memory, with per
Wow, thank you, Jan
пятница, 13 апреля 2018 г., 15:43:51 UTC+3 пользователь Jan Mercl написал:
>
> On Fri, Apr 13, 2018 at 2:29 PM >
> wrote:
>
> > What i do wrong?
>
> The code relies on the bool value in 'ok', returned from .Load(), but that
> _does not_ mean some other goroutine, once you re
Please explain me(
I dont understand why syncmap - not sync
If i try Load/Store from multiple goroutins - i have vary values with same
key in syncmap
If i try lock with mutex- all ok. But is syncmap not thread safe by default?
Locked version of function:
https://github.com/recoilme/slowpok