Commit Graph

72 Commits

Author SHA1 Message Date
Roman Gershman ec9754150f Implement PSUBSCRIBE/PUNSUBSCRIBE commands.
Add minimal tests.
2022-06-02 22:45:56 +03:00
Ryan Russell a049128ab6
Improving Readability r3 (#75)
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2022-06-01 19:31:36 +03:00
quiver 33af405434
Update build steps for Ubuntu (#72)
cmake and c++ compilers are required to build from source
2022-06-01 13:13:17 +03:00
Roman Gershman dbc407b9ec Add romanger's twitter handle. We will post about DragonflyDb from his personal twitter. 2022-05-31 14:27:14 +03:00
Roman Gershman f7124f943e
Update dragonfly blurb (#48) 2022-05-31 10:08:21 +03:00
James Herdman 2fcee28d92
Fix a spelling error (#50) 2022-05-30 21:18:45 +03:00
Roman Gershman 29575d00ee Fix aarch64 pipeline and update docker path in README 2022-05-30 12:30:00 +03:00
Roman Gershman 776276ccd4
Add more benchmarks to README (#44) 2022-05-29 17:47:34 +03:00
Roman Gershman 46929e9c52
Update README: add benchmarks (#43) 2022-05-27 16:15:12 +03:00
Roman Gershman 4a2e84b975 In order to support Debian/Bullseye, we know require minimal kernel version - 5.10 2022-05-26 20:04:33 +03:00
odedponcz caeb60c22a
Fixit (#40)
* Easy getting started

Co-authored-by: Roman Gershman <romange@gmail.com>
2022-05-26 11:15:44 +03:00
odedponcz 869cd19897
Fixit (#39)
* Add more documentation about dashtable. Tune expiry heuristics a bit

* Minor lang change

* minor lng changes

Co-authored-by: Roman Gershman <romange@gmail.com>
2022-05-22 09:46:49 +03:00
Roman Gershman 1de6f5317d Update README with more info. 2022-05-21 00:23:23 +03:00
Roman Gershman cfaf173236 Allow cache mode - intelligent eviction of less likely to be used items.
This id one by shifting right slots in a stash bucket of the full segment.
In addition, I added eviction related stats to memory and stats section.
I also updated README with the changes. Finally, I added a flag that allows
to disable http-admin console in dragonfly.
2022-05-16 19:39:17 +03:00
Roman Gershman 280ce351a8 Fix CI after moving the repo 2022-05-11 20:37:25 +03:00
Roman Gershman 3dce1d33fc Update README.md. Disable alpine docker for now.
Update organization references across the docs.
2022-05-11 12:49:19 +03:00
Roman Gershman e9dda3aa64 Implement zinterstore 2022-05-10 21:48:24 +03:00
Roman Gershman 0c5e2a5ecd Implement CLIENT LIST and CLIENT SETNAME. 2022-05-10 06:35:37 +03:00
Roman Gershman 5c9cee171c Add SCRIPT EXISTS subcommand 2022-04-30 16:58:36 +03:00
Roman Gershman 0daa221ff5 Add extent tree for later usage in the external allocator 2022-04-29 07:16:32 +03:00
Roman Gershman dce0ce3d69 Add COMMAND COUNT option 2022-04-21 23:26:29 +03:00
Roman Gershman 69911a95ac Add ZREMRANGEBYLEX and ZREVRANGEBYSCORE commands. 2022-04-20 23:51:48 +03:00
Roman Gershman d8697463dc Adding ZLEXCOUNT and ZRANGEBYLEX commands. 2022-04-20 21:50:29 +03:00
Roman Gershman 7c29ea445f Add HSCAN and HINCRBYFLOAT commands 2022-04-19 22:21:54 +03:00
Roman Gershman a5b59dde25 Add KEYS command 2022-04-19 11:38:32 +03:00
Roman Gershman f2c05a277d Add LINSERT and INCRBYFLOAT commands 2022-04-18 19:45:57 +03:00
Roman Gershman 997d2dcb69 more work on rdb load.
1. Added support of loading of compressed strings.
2. Verified we load expiry info.
3. Extended supported expiry period to 4 years (previously I set 1 year).
2022-04-13 10:50:19 +03:00
Roman Gershman cafabce161 Support loading of zset, hset entries 2022-04-12 21:21:03 +03:00
Roman Gershman fa70267729 Add ZRANK,ZCOUNT,ZREVRANK.
1. Fix #12 - return number of added items for non-increment usecase.
2. Fix #15 - fix double precision response. I use a different printing algorithm that of Redis
   therefore there could be string differences between 2 systems. However, both replies should
   be equivalent numerically.
3. Fix #13.  Reject ZADD with LT and GT options together.
4. Fix #11 - return correct error when parsing invalid scores.
2022-04-06 22:54:10 +03:00
Roman Gershman 19583ca7f2 Add HSTRLEN. Bug fixes. 2022-04-05 08:36:00 +03:00
Roman Gershman a845e9bce1 Implement serialization of HSET 2022-04-04 12:07:27 +03:00
Roman Gershman d5cea3f5f3 robustness fixes plus improve support for auxillary commands so we could run tcl tests.
GETRANGE - fix out of bounds bug.
Add a decorator for "config get"
Add a decorator for "function flush"
2022-04-03 22:55:56 +03:00
Roman Gershman ff88e3117b Add HINCRBY, HVALS, HSETNX commands 2022-04-02 18:47:06 +03:00
Roman Gershman d542c38475 Add MSETNX and SUBSTR commands 2022-04-02 18:47:06 +03:00
Roman Gershman ba71e9a943 PUBSUB: more polishes.
Implement atomic message passing that will allow handling commands in a subscribed state together with passing
message from publishers.
2022-04-01 10:12:32 +03:00
Roman Gershman 4938d8af63 Add DISCARD and BRPOP commands 2022-03-31 14:26:33 +03:00
Roman Gershman b9c1288c67 Implement ZINCRBY/ZADD INCR 2022-03-30 14:25:42 +03:00
Roman Gershman a6808445cf Support COUNT option in SCAN 2022-03-28 22:35:25 +03:00
Roman Gershman 3e2929dfb6 Add SETRANGE,PSETEX commands 2022-03-27 18:29:31 +03:00
Roman Gershman 09101c70a5 Add RPUSHX/LPUSHX commands 2022-03-27 18:29:31 +03:00
odedponcz fd220ea621
Update README.md 2022-03-24 11:30:22 +02:00
Roman Gershman 47caa972da Add ZREVRANGE and skeleton for PUBLISH/SUBSCRIBE
Fix a memory leak with dispatch queue in client connection.
2022-03-23 20:45:25 +02:00
Roman Gershman cb14df0e6b Add SSCAN command.
Update README with 2.x API commands.
2022-03-23 17:54:25 +02:00
Roman Gershman f1ea69c0b4 Fix SDIFF/SINTER commands 2022-03-22 23:50:47 +02:00
Roman Gershman cb0d8dfee2 Add ZRANGEBYSCORE. Cover rank case for ZRANGE 2022-03-18 05:12:22 +02:00
Roman Gershman 29c715fda5 Add more list commands 2022-03-15 19:52:11 +02:00
Roman Gershman cceb0d90ca Implement PEXPIREAT and tune expire dictionary 2022-03-12 21:51:35 +02:00
Roman Gershman 09fb05c0e1 Add memcached flush_all command.
Simplify reply code - remove the redundant class.
2022-03-10 19:15:51 +02:00
Roman Gershman abec283247 Implement SETEX command 2022-03-07 23:11:43 +02:00
Roman Gershman 3c1b600e79 Implement hkeys,hvals, hmget and hgetall commands 2022-03-07 23:00:26 +02:00