pelikan
pelikan copied to clipboard
Pelikan is Twitter's unified cache backend
now that ziplist data structure is in place, we should be able to support redis hash commands backed by ziplist.
by doing this, we can prevent storing the key twice and incurring the memory cost of doing so
for the sake of memory locality, it may be better to use array rather than linked list to keep track of hotkey samples. consider using cc_ring_array for this purpose.
Start with hash related commands and other basics.
Current thoughts: `debug`: - `-DHAVE_ASSERT_LOG=on` - `-DHAVE_ASSERT_PANIC=on` - `-DHAVE_LOGGING=on` - `-DHAVE_STATS=on` - `-ggdb3 -O0` `release`: - `-DHAVE_ASSERT_LOG=on` - `-DHAVE_ASSERT_PANIC=off` - `-DHAVE_LOGGING=on` - `-DHAVE_STATS=on` - `-ggdb3 -O2` `bare`: - `-DHAVE_ASSERT_LOG=off` -...