forked from jinho10/dht-sched
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
54 lines (42 loc) · 1.69 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
dht-sched
a memcached/membase proxy with hash space schedulability
Developer
---------
Jinho Hwang ([email protected])
http://home.gwu.edu/~jinho10
The George Washington University
What is it?
-----------
dht-sched is a research project that schedules a hash space
based on hit rate and usage rate of each memory cache server.
this provides dynamic adjustment on size of hash space
each cache server is responsible for.
For more information see https://github.com/jinho10/dht-sched
Compile
-------
Install all the necessary modules:
libconflate
libevent-2.0.21-stable
libmemcached-1.0.10
libvbucket
memcached-1.4.15
moxi: configure --disable-moxi-libvbucket --enable-moxi-libmemcached --without-check
Running
-------
-. Original consistent hashing:
moxi -Z mcs_opts=distribution:ketama -z 11211=<server list>
-. dht-sched:
moxi -Z mcs_opts=distribution:dynamic -q <alpha> -w <beta> -z 11211=<server list>
Input:
<server list>: list of memory cache servers
<alpha>: scheduling parameter to note how important hit rae is. the bigger alpha, the more important
hit rate rather than usage rate. <alpha> \in [0, 1.0].
<beta>: scheduling parameter to note the ratio of how much hash space will be moved each time.
examples:
moxi -Z mcs_opts=distribution:ketama -z 11211=192.168.1.111:11211,192.168.1.112:11211
moxi -Z mcs_opts=distribution:dynamic -q 0.5 -w 0.01 -z 11211=192.168.1.111:11211,192.168.1.112:11211
Paper
--------
This work was published in:
Adaptive Performance-Aware Distributed Memory Caching. Jinho Hwang, Timothy Wood. International Conference on Autonomic Computing (ICAC 2013), June 2013.
http://faculty.cs.gwu.edu/~timwood/papers/icac13_final.pdf