News for hackers. Stuff that matters.
Re:Dragonflydb – A modern replacement for Redis and Memcached by cultofmetatron on Monday May 30, 2022 @04:00PM (#31563063)
I gotta say, I looked through some files. I wish my code was this clean. its some of the prettiest c++ I've ever seen
Re:Dragonflydb – A modern replacement for Redis and Memcached by ignoramous on Tuesday May 31, 2022 @03:56AM (#31567082)
When Jens Axboe praises you for your work [0], then it is a given you're at the top of your game.

[0] https://twitter.com/axboe/status/1531371740403617792

Re:Dragonflydb – A modern replacement for Redis and Memcached by romange on Wednesday June 01, 2022 @03:41AM (#31579187)
Indeed :) The moment i learned about io_uring I got hooked up immediately. People like Jens, Pavel are the type of innovators that make sure Linux stays on top of its game for the next generations.
Re:Dragonflydb – A modern replacement for Redis and Memcached by pierrebai on Monday May 30, 2022 @05:10PM (#31563657)
I dunno... I took a look at a single file and found:

        static constexpr unsigned NUM_SLOTS = Policy::kSlotNum;
        static constexpr unsigned BUCKET_CNT = Policy::kBucketNum;
        static constexpr unsigned STASH_BUCKET_NUM = Policy::kStashBucketNum;
NUM_, _CNT, _NUM, three different prefix/suffix for what seems to me like the same concept. That just tickled my inner nit-picker.
Re:Dragonflydb – A modern replacement for Redis and Memcached by romange on Monday May 30, 2022 @05:46PM (#31563975)
You are welcomed to send a PR with the fix :)
Re:Dragonflydb – A modern replacement for Redis and Memcached by romange on Monday May 30, 2022 @05:45PM (#31563969)
Everyone has his dirty laundry :(
Re:Dragonflydb – A modern replacement for Redis and Memcached by make3 on Monday May 30, 2022 @07:27PM (#31564696)
that's so minor
Re:Dragonflydb – A modern replacement for Redis and Memcached by romange on Monday May 30, 2022 @04:20PM (#31563253)
omg, can I marry you?
Re:Dragonflydb – A modern replacement for Redis and Memcached by romange on Monday May 30, 2022 @04:35PM (#31563371)
btw, it's not just pretty - it has brains too. take it for a spin.
Re:Dragonflydb – A modern replacement for Redis and Memcached by cultofmetatron on Monday May 30, 2022 @05:28PM (#31563810)
is there an elixir client library?
Re:Dragonflydb – A modern replacement for Redis and Memcached by ukd1 on Monday May 30, 2022 @07:13PM (#31564615)
I presume you just use a memcache or redis client? So yes?