Roman Gershman

Results 808 comments of Roman Gershman

I took a look at bitops lib. Unfortunately, http://bitop.luajit.org/download.html version does not work with lua >= 5.3. I searched for answers in github and found this patch https://github.com/LuaJIT/LuaJIT/issues/384 that should...

update: we need to finish 2.x commands, bits commands, watch/unwatch commands.

I do think it's a minor feature. You can see what we currently store inside a db, see `DbTable` class for that. Specifically, we maintain `trans_locks` that we use to...

Thinking about it a bit more - you will have to clean up DbTable's watched table upon connection closure - i.e. there will be some interaction between a connection lifetime...

Lets forget about fast-fail, and complexity of going over all the keys right now. Assume that the watched list is short. Are you saying that we can store all the...

So thread T1 holds a connection C that has a watchmap with key `K` belonging to a shard in thread T2. Now a SET operation changes K in T2. How...

Forget multi-threading - how a single-threaded system will know to search for C ?

So you suggest storing the last modified timestamp for every entry in DF inside DbTable ? or just for watched keys inside DbTable?

So my problem with this is that for a pretty minor feature we need to add space overhead of 8 bytes per key. Even for expiry (which is much more...

Closing as done. Will open a dedicated task for TOUCH