Skip to content

hx-w/memcached-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memcached Challenge

Inspired by Arthur O’Dwyer's Blog, I start this challenge as an engineering interview (a little big different from the blog):

  1. Fork memcached - master, and build it.

I suggest using Linux os to do this, since there may be errors in compile stage in MacOS (not test on Windows).

git clone --depth=1 https://github.com/memcached/memcached.git

sh autogen.sh
./configure
make
  1. Implement a mult method to multiply a unsigned instance number to a stored number.

Here is the demo from my impl:

demo

For more details, checkout the >PR<.

I DO need some suggests, just leave a issue.

Releases

No releases published

Packages

No packages published

Languages

  • C 73.6%
  • Perl 18.9%
  • Lua 1.9%
  • C++ 1.7%
  • M4 1.6%
  • Python 1.1%
  • Other 1.2%