Change sample to use a pool of three memcached servers. Add a property to the memcached component to list multiple memcached servers. Replace spaces by tabs in memcached keys as spaces are not allowed in keys.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980010 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fe93d86e55
commit
9e52793370
21 changed files with 112 additions and 49 deletions
|
|
@ -71,9 +71,10 @@ EOF
|
|||
../../modules/http/proxy-member-conf tmp/proxy2 localhost 8103
|
||||
../../modules/http/httpd-start tmp/proxy2
|
||||
|
||||
# Start a shared memcached
|
||||
# Todo change to one per server
|
||||
../../components/cache/memcached-start
|
||||
# Start three memcached servers
|
||||
../../components/cache/memcached-start 11211
|
||||
../../components/cache/memcached-start 11212
|
||||
../../components/cache/memcached-start 11213
|
||||
|
||||
# Redirect traffic from port 80 to 8091 and use proxy1
|
||||
#../../ubuntu/ip-redirect-all 80 8091
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue