181 Commits

Author SHA1 Message Date
antirez
224dd8bfa7 make sure that OBJECT ENCODING returns skiplist for sorted sets, and not raw, so that once we will merge specially encoded sorted sets everything will make sense. 2011-04-06 15:36:10 +02:00
antirez
c32a744276 OBJECT command implemented 2011-04-06 12:19:45 +02:00
antirez
da14691f5f DUMP implemented, RESTORE and MIGRATE fixed. Use zcalloc() instead of zmalloc()+memset() in sds.c when a new string is created with NULL initialization pointer. 2011-04-01 18:59:28 +02:00
antirez
455f2e90bc centralized cluster config file name. Assigned slots in CLUSTER NODES output and in cluster config file. 2011-03-30 17:41:13 +02:00
antirez
b2b9d54320 Cluster branch merged to unstable. 2011-03-29 17:51:15 +02:00
antirez
db608dd7e3 new preloading implemented, still EXEC not handled correctly, everything to test 2011-03-23 18:09:17 +01:00
Pieter Noordhuis
3746a4135a Fix DEBUG DIGEST, SORT and AOF rewrite 2011-03-14 13:30:06 +01:00
Pieter Noordhuis
8781386c7a Make zzl API unaware of the robj where the ziplist is stored 2011-03-11 17:06:07 +01:00
Pieter Noordhuis
940daef2c4 Encode sorted set after loading from dump 2011-03-10 17:50:13 +01:00
Pieter Noordhuis
61537f5f5d Add new string to long long function 2011-03-10 16:16:27 +01:00
Pieter Noordhuis
4644c21792 Configurable thresholds for encoded sorted sets 2011-03-09 14:01:57 +01:00
Pieter Noordhuis
855bf7b0f8 Persistence code for encoded sorted sets 2011-03-09 13:16:38 +01:00
Pieter Noordhuis
89e62535ca Add function to create ziplist-backed sorted set 2011-03-08 16:08:52 +01:00
Pieter Noordhuis
dade20df05 Fast conversion of double when representable as long long 2011-03-08 16:08:11 +01:00
Pieter Noordhuis
b1360a13ca Save RDB on SIGTERM (see issue #471) 2011-03-06 17:49:40 +01:00
antirez
6bd24302f8 added new RDB codes for ziplist encoded lists and intset encodeed sets 2011-02-28 17:06:31 +01:00
antirez
102474012d save zipmap encoded hashes as blobs. Work in progress. 2011-02-28 09:56:48 +01:00
antirez
e422aa37cd less delays in diskstore when there are many writes. more work to do. 2011-02-25 19:11:25 +01:00
antirez
fd16bf40d9 fixed two diskstore issues, a quasi-deadlock creating problems with I/O speed and a race condition among threads 2011-02-11 11:16:15 +01:00
antirez
d136157383 INFO commandstats section reset with config resetstat, a new microseconds per call field, and a few other minor things 2011-01-24 10:56:06 +01:00
antirez
9064ae9eac Now INFO outputs the "INFO default" output if no argument is passed. Also added counts of calls for every command, thanks to an idea by Mike Shaver 2011-01-23 22:14:15 +01:00
antirez
daf98fde2f profiling information in INFO 2011-01-23 11:46:34 +01:00
Pieter Noordhuis
418603038c Remove client from list of unblocked clients when it is free'd 2011-01-17 10:04:13 +01:00
antirez
489ccb00d1 lame typo causing bad hashes memory characteristic 2011-01-15 22:24:22 +01:00
antirez
5286447c24 implemented two new INFO fields showing the size of clients max input and output buffers. 2011-01-14 10:20:02 +01:00
antirez
80a55ea680 redisServer structure fields reordered for clarity 2011-01-14 00:19:19 +01:00
antirez
c378cabde7 blocking SAVE implemented 2011-01-08 00:09:57 +01:00
antirez
d9b79fb3ef diskstore BGSAVE should work now 2011-01-07 23:41:00 +01:00
antirez
85fa300825 more work towards diskstore bgsave 2011-01-07 19:31:42 +01:00
antirez
e6fdae80f8 source reshaped a bit to play well with a bgsaving thread, still work to do, does not compile. 2011-01-07 18:15:14 +01:00
antirez
9f986a15ff BGSAVE work in progress 2011-01-05 18:38:31 +01:00
antirez
564f093bae Merge remote branch 'pietern/writev-unstable' into unstable 2011-01-05 13:51:37 +01:00
antirez
d75fb48bd3 IO performances greatly improved under high writes load 2011-01-05 12:34:14 +01:00
Pieter Noordhuis
ea489942ba Remove glueoutputbuf option and broken code 2011-01-05 10:39:41 +01:00
antirez
2257148dbf diskstore bug fixing and negative cache proper implementation 2011-01-03 10:47:39 +01:00
antirez
4d5369b25d FLUSHALL / FLUSHDB for diskstore implemented 2011-01-03 10:17:39 +01:00
antirez
db52125d45 implemented a different approach to IO scheduling, so object->storage is no longer used, instead there is a queue and hash table of IO tasks to process, and it is always possible to know what are the scheduled and acrtive IO operations against every single key. 2011-01-01 21:35:56 +01:00
antirez
2bd597cff0 negative caching implemented 2010-12-31 17:32:59 +01:00
antirez
8b1f644d59 handled DEL command as a special optimized case for disk store 2010-12-30 19:16:59 +01:00
antirez
aa694aae07 diskstore cache bug fixing 2010-12-30 18:37:46 +01:00
antirez
273e9b905e don't use small shared integer objects when disk store is enabled 2010-12-30 18:17:01 +01:00
antirez
e01fbe642f filesystem based KV store mostly implemented in diskstore.c 2010-12-30 17:07:06 +01:00
antirez
d4970df83f more work done for diskstore without trying to compile, more work needed to build again. 2010-12-30 16:41:36 +01:00
antirez
d79b042746 cron part of disk store object cache implemented. Objects are pushed as IO jobs if needed, so that the IO thread will process them. 2010-12-29 22:18:20 +01:00
antirez
a8d2f3796d touched key for WATCH refactored into a more general thing that can be used also for the cache system. Some more changes towards diskstore working. 2010-12-29 19:39:42 +01:00
antirez
71c9187472 more step forwards for disk store to be able to run 2010-12-29 16:58:57 +01:00
antirez
790c9ebf4b still more work for diskstore 2010-12-29 03:57:35 +01:00
antirez
02839e0f2b more work converting vm into object cache 2010-12-28 20:03:21 +01:00
antirez
a43d96c4c8 a lot of code reworked/removed to implement object caching 2010-12-28 18:06:40 +01:00
antirez
620b7af4f6 initial changes needed to turn the current VM code into a cache system. Tons of work to do still. 2010-12-28 15:20:20 +01:00