java memcached client & tomcat

David O'Dell dodell at corp.meez.com
Thu Feb 8 19:38:01 UTC 2007


Greg I appreciate your response.
We are running with the defaults:
Define the pool
<value>192.168.173.92:11211,192.168.173.93:11211,192.168.173.94:11211,192.168.173.194:11211,192.168.173.195:11211</value>
They have an equal weight.
On one host I was concerned that we have MaxConn set too low so I set it
to 100 instead of the default of 50.
<name>max_spare_connections</name>
<value>100</value>


On Wed, 2007-02-07 at 23:31 -0500, Greg Whalin wrote:
> This does not sound normal to me, and certainly does not mimic
> anything we have seen in production anytime since we started using
> memcached.  How do you have the pool configured?
> 
> Greg
> 
> On 2/7/07, David O'Dell <dodell at corp.meez.com> wrote:
>         We just deployed memcached to our tomcats last night.
>         We have 6 webs running apache/tomcat with 5 memcached
>         instances in the
>         pool.
>         Each instance has 1gb of space and already we have 20,000
>         items cached
>         taking up 2.5 gb of space.
>         
>         One surprise was the increase in load on the webs due to the
>         network IO.
>         I expected the load to increase but its more than doubled.
>         
>         Does anyone know if this it normal?
>         
>         
>         On Tue, 2007-02-06 at 11:17 +0530, John Navil Joseph wrote: 
>         > Newbie to memcached here!
>         >
>         > Has anyone been using the java memcached client (available
>         @whalin.com) with Apache Tomcat? Just interested in knowing
>         how tried and tested/widely deployed the combination is. 
>         >
>         > Also some pointers on using the SockIOPool connection pool
>         mechanism with Tomcat will be helpful.
>         >
>         > Thanks,
>         > John
>         
> 
> 
> 
> -- 
> Greg Whalin


More information about the memcached mailing list