pancake
c10a1240e2
Indentation and coding style cleanups
2022-02-23 21:56:22 +01:00
pancake
b429e78539
Implement a little better locking mechanism
...
expire operations are now CAS friendly
2014-04-16 06:18:15 +02:00
pancake
c83ce1e3f4
Fix some warnings
2014-02-19 04:05:03 +01:00
pancake
7d4773efce
Huge api refactoring and update nodejs and vala bindings
2014-02-19 02:50:06 +01:00
pancake
922aecb66b
Deprecate sdb_flush()
2014-02-06 01:21:42 +01:00
pancake
d1eb651ffc
Fix build
2014-01-23 01:14:51 +01:00
pancake
b6438b9d1a
Implement 'touch' memcache command
2013-04-22 11:39:24 +02:00
pancake
699773771a
sdb_delete -> sdb_remove
2012-09-13 02:40:27 +02:00
pancake
49f5ff11e1
* Bump to 0.5
...
* Implement memcache udp set protocol
- get is not yet supported.
- supporting multiple datagrams per message
will be a performance boost
* Add sdb_unow()
2012-04-03 02:20:56 +02:00
pancake
01a373c543
* Fix memcache build and initial work for CAS
2012-04-01 03:39:44 +02:00
pancake
c57d08c5d3
* Introduce the new CAS api (like in memcache)
...
- async and threaded apps will benefit from this
- memcache support for cas is not yet done
- most bindings updated
2012-03-29 06:58:53 +02:00
pancake
1f856e1b97
* Fix build
2011-09-03 04:40:05 +02:00
pancake
a7075e17a5
* More fixes in the socket reading code
...
- Remove all printf debugging messages
- Still buggy, but faster and usable
2011-08-25 00:26:33 +02:00
pancake
d94f3a2a16
* Implement sdb_flush() and mcsdb_flush()
...
- Sync sdb.vapi
- Used by memcache flush_all command
2011-06-19 23:56:04 +02:00
pancake
67a2974560
* Install memcache server, client, library and vapi
...
* Build libmcsdb.a
* Reuse of the McSdbClient struct for server and client
* Added memcache-client test program in Vala
- Use --pkg mcsdb to use this api
* Fix license headers for memcache/
--HG--
rename : memcache/memcache.h => memcache/mcsdb.h
2011-06-13 23:06:59 +02:00
pancake
2d4491a0ec
* Swap args for mcsdb_client_{set,add,prepend,append}
...
- Implement all those commands
* Fix sdb_delete and memcache_delete return values
* Various minor code cleanups
* Use strtoull instead of sscanf in INCR/DECR
2011-06-13 22:09:23 +02:00
pancake
0d22462e05
* Implement incr/decr commands in memcache frontend
...
- Mapped to memcache/client as in sdb with '+' and '-' prefixes
* Use strtoull and ulltoa (self made) instead of sprintf/scanf
- This results in a 5x performance boost for each call
- Which makes incr/decr about 8x faster
* Added sdb_nexists() to check if a key exists and is numeric
* Simplify some
2011-06-13 21:11:58 +02:00
pancake
2a037e211f
* Implement memcache 'client' using sdb's like input
...
* Fix result of delete operation
* Fix sdb_exists()
2011-06-12 04:59:54 +02:00
pancake
fe47cf7c13
* Fix build and poll() usage
...
- read byte by byte (slow)
* Fix null pointer in sdb_open
2011-06-12 03:14:31 +02:00
pancake
a9e98132b6
* Lot of ugly work to make async reads work
...
- Many printf debugs out there
- Still buggy under some circunstances
- This code needs a cleanup!
* Benchmark result is a bit faster than memcached
- But there are many things to improve and implement
2011-06-03 02:37:23 +02:00
pancake
f8d0bf1854
* Rename memcache_ as mcsdb_
2011-06-02 23:21:27 +02:00
pancake
e801178456
* Fix warnings and minor code cleanup
2011-06-02 10:36:21 +02:00
pancake
e324a55de4
* Initial working version of memcache protocol over tcp
...
- commands with payload does not yet work
- uses poll(2)
* Rename some memcache_ into mcsdb_
2011-06-02 02:06:38 +02:00
pancake
6466da456c
* Support NULL as file name in sdb_new()
...
* Implement the rest of status information
- Needs some reviewing
* Fix some segfaults in memcache protocol
* Added some more work on the net api
2011-06-02 00:23:03 +02:00
pancake
cc34f26f5f
* Handle stats and version commands
...
* Implement expire time for memcache_delete()
2011-06-01 03:39:57 +02:00
pancake
e7e3e6dee4
* Add sdb_get_expire()
...
* Proper handling of expire time in memcache
2011-06-01 03:30:19 +02:00
pancake
a2da533175
* Fix append/prepend
2011-06-01 02:33:01 +02:00
pancake
db3ef2c172
* Handle append/prepend commands
2011-06-01 02:29:10 +02:00
pancake
e4420b793e
* Build memcache daemon by default
...
* Handle incr, decr, add, set, replace
* Bring back sdb_dec()
* Properly detect numeric overflows
2011-06-01 02:24:16 +02:00
pancake
80940f7de9
* Implement incr, decr, add, replace, append, prepend
...
* cas is not implemented, as long as there's no session information
* Simplify the sdb_inc/sdb_dec api
* Properly delete entries in sdb api
2011-06-01 02:02:42 +02:00
pancake
9e16a6d346
* Accept sdb filename as argument un mcsdbd
...
* Add delete and exists methods in sdb.vapi
2011-06-01 01:21:10 +02:00
pancake
ff584eddd6
* Add sdb_delete and sdb_exists
...
* Fix sdb_get for deleted entries
* Initial PoC for memcache protocol support
2011-06-01 01:12:57 +02:00