Commit Graph

60 Commits

Author SHA1 Message Date
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
Roman Gershman f09f516636 Add zcard, zscore, zrem methods 2022-03-06 08:46:48 +02:00
Roman Gershman 2bdde23e1f Limit the expiration range 2022-03-05 21:35:49 +02:00
Roman Gershman 2213c1b38b Add HKEYS command. Account for listpack blobs 2022-03-04 14:06:48 +02:00
Roman Gershman b3e5730377 Add some hash set commands 2022-03-03 09:34:53 +02:00
Roman Gershman f255d17a72 Add decorators for commands like ROLE,BGSAVE,UNLINK. Improve memory usage tracking 2022-02-28 17:36:45 +02:00
Roman Gershman 668a51cafa Add most of SET commands (SADD, SCARD etc). Add set_family_test 2022-02-27 22:44:22 +02:00
Roman Gershman 3f7e3a5a0a Add memcached version and delete commands 2022-02-27 18:04:38 +02:00
Roman Gershman a93940913b Add support for incr/decr/quit memcache commands 2022-02-24 14:11:51 +02:00
Roman Gershman 8072e79aab Add memcached append/prepend commands.
Implement these commands for redis as well (different semantics for non-existing keys)
Fix some mc parsing bugs.
Improve mc test.
2022-02-24 14:11:51 +02:00
Roman Gershman 8d2d49d782 Add AUTH command for 1.0 API 2022-02-24 14:11:51 +02:00
Roman Gershman 8a3207f23e Add skeleton of replication manager and initial support of replicaof command 2022-02-24 14:11:51 +02:00
Roman Gershman 3f80b89e19 Implement TYPE and SCAN commands. Update readme with the progress 2022-02-24 14:11:51 +02:00