hcached is a very basic and still work-in-progress network-exposed, in-memory
hashtable to be used for simple caching. The hashtable is a size-limited one
just like memcached's one, where the maximum size
of the table can be specified at startup. When the size limit is reached,
hcached discards the least recently used key-value-pairs first to make space
for new ones. Logging is done both to stdout
and the syslog daemon.
-
set
-
add
-
replace
-
append
-
prepend
-
cas
-
get
/gets
-
delete
-
incr
-
decr
-
touch
-
stats
-
flush_all
-
version
-
verbosity
-
quit
hcached is built with stack support, so building and installing is as easy as
stack install
hcached aims to be as compatible to memcached as possible, thus implementing the same interface. All client-libraries that use a TCP-connection should work for the supported commands (see checklist above). UDP is currently not supported.