In a Multithreaded application , I have 6 webservers (part of cluster )trying to hit 2 memcache servers with repcached on it for replication . (Clustered in a application ) ,
I am using Xmemcached 1.3.8 , with Ketamamemcachedsessionlocator session locator ,
As per our application it will create 2 Threads per user Producer and Consumer , (one will do set operation and the other will do get operation and also at the same time does the delete operation also on that key ) , which connects to our two memcache servers and does memcache operations ??
i have two questions with respect to the above configuration .
1. What is the connection pool size i need to set for our application and how do i know ?? (How will the memslap will help me setting the connectionpool size??)
2. While starting Memcache servers , i am starting with the default configuration Thread count as 4 , do i need to change it 2 ??
We can have atmost 2000 users concurrently sometimes .
Please let me know , as we are planning to release in production next week .