Giter Site home page Giter Site logo

hackerlank / kmemcache Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tonyhack/kmemcache

0.0 1.0 0.0 1.06 MB

linux kernel memcache server

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.73% C 97.80% C++ 0.07% Shell 0.11% Perl 1.28%

kmemcache's Introduction

===================================================    
	      what is kmemcache?
===================================================
kmemcache is a high-performance, distributed memory
object caching system, generic in nature, but intended
for use in speeding up dynamic web applications by
alleviating database load.
kmemcache is derived from memcached-v1.4.15, exactly
it is a linux kernel memcached, and aims at
quicker response and higher performance.

===================================================    
	            env.
===================================================
linux kernel 2.6.32----->3.2
x86_32/x86_64

===================================================    
	            install
===================================================
$ tar xjf kmemcache.tar.bz2
$ cd kmemcache
$ make & make install

===================================================    
	             run
===================================================
$ cd /usr/local/kmemcache
$ insmod kmemcache.ko
$ ./umemcached -h
$ ./umemcached -d

===================================================    
	            test 
===================================================
$ apt-get install libmemcached
$ memslap --servers=localhost:11211
$ memdump --servers=localhost:11211

refer to "more info"

===================================================    
	           hacking  
===================================================
enable "CONFIG_DEBUG=y" in kmod/Makefile, 
$ insmod kmod/kmemcache.ko
$ ./user/umemcached -d
$ kgdb/gdb
enjoy!

===================================================    
	         more info
===================================================
http://www.memcached.org/
http://libmemcached.org/libMemcached.html

kmemcache's People

Contributors

jgli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.