Skip to content

sulami/hcached

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hcached

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.

Memcached-compability

  • set
  • add
  • replace
  • append
  • prepend
  • cas
  • get/gets
  • delete
  • incr
  • decr
  • touch
  • stats
  • flush_all
  • version
  • verbosity
  • quit

Installing

hcached is built with stack support, so building and installing is as easy as

stack install

Usage

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.

About

Haskell drop-in replacement for memcached

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published