Skip to content

tmcache 是一个高性能无依赖,轻巧纯粹的缓存服务引擎,兼容Memcached协议 - The like memcached mini memory cache daemon (ANSI C, GCC require)

License

Notifications You must be signed in to change notification settings

heiyeluren/tmcache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmcache

类似Memcached的缓存服务引擎,兼容Memcached协议,无任何依赖,轻巧纯粹

The like memcached mini memory cache daemon (ANSI C, GCC require)

  • 最后更新: 2008/10/25 v1.0.0 beta

Implementation Mechanism
The Tmcache cache service, mainly adopts a single-process model, and the internal core data structure mainly relies on Hash tables and Queues.

The protocol level is implemented in accordance with Memcached's text version protocol and can be run as an independent daemon.
Usage:
tmcache - TieMa?(Tiny&Mini) Memory Cache Server (Daemon)
tmcache is a very small memory cache server, It run from daemon. It is similar to memcachd, 
and fully compatible with the memcached communication protocol can be easily carried from the memcached to tmcache transplant. 
tmcache is based on the thread to run, the faster the speed.

tmcache including:
  * Based memory data storage
  * Compatible memcached communication protocol
  * Few operation interface, The use of simple
  * Support custom port,max_clients,memory use control
  * etc ...
  

tmhttpd command help

#=======================================
# TieMa(Tiny&Mini) Memory Cache Server
# Version 1.0.0_alpha
# 
# heiyeluren 
#=======================================

usage: ./tmcache [OPTION] ... 

Options: 
  -p       port number to listen on,default 11211
  -d            run as a daemon, default No
  -m       max memory to use for items in megabytes, default is 16M
  -c       max simultaneous connections, default is 1024
  -v            print version information
  -h            print this help and exit

Example: 
  ./tmcache -p 11211 -m 16 -c 1024 -d


About

tmcache 是一个高性能无依赖,轻巧纯粹的缓存服务引擎,兼容Memcached协议 - The like memcached mini memory cache daemon (ANSI C, GCC require)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published