Hi,
sorry for the delay! Are your questions still relevant?
Cheers,
Martin
--Hi MartinFirst of all thank you for msm .It make thing so easy.I have been working on msm for last two weeks.I got it working for sticky and non sticky for 2 tomcats with 2 memcache nodesI need to implement session replication for 6 tomcat servers in productionI would like to know how the configuration values for production memcache nodes should be evaluated1) -m config value- As I understand this will be amount of memory allocate to memcache node to hold session. When this is full LRU session will be removed and will be unavailable.- Lets say if one tomcat server has 200 session during peak traffic and average session size in 2kb- Are below calculations correct to decide value to "-m" parameter for a memcache node(number of tomcats) X (number of session during peak) X (average session size)6 X 200 X 2kb = 24 MBto be safe i will make this double which is 48 MBIs there any rule tht you follow for assigning "-m" value2) How many memcache nodes will be ideal for 6 tomcats. Is there any rule I can follow to decide number of memcache node ?Is there any rule tht you follow for assigning for deciding number of memcache nodes?3) Number of connection allowed per memcached nodes ? How can i determine this ? Is it safe to just make itnumber of tomcat X number of session during peak traffic6 X 200 = 1200 and to be safe I will double this so 2400So 2400 connections per memcache node4) Will sticky option give better performance compared to non sticky ?Is the reason for stickys better performance that ,as we avoid hitting memcache in sticky option and use session from local tomcat and only hit memcached tomcat is downRegards,
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-manager+unsub...@googlegroups.com.
Hi,
assuming you have tomcat1 and memcached1 (n1) running on host1, and tomcat2 and memcached2 (n2) on host2, then you should set n1 as failover node for tomcat1, so that tomcat1 does only store sessions in memcached1 if memcached2 is not available.
Does this help?
Cheers,
Martin
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-manager+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-manager+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to a topic in the Google Groups "memcached-session-manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/memcached-session-manager/Uhn2AkDYtnc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to memcached-session-manager+unsub...@googlegroups.com.
Yes, this is correct.
To handle such a case we'd have to add a configurable "replicationFactor"... But this would have to be a contribution since I don't see that I'll have time to implement this.
Btw, in this setup you don't need to set failoverNodes at all.
Cheers,
Martin
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to a topic in the Google Groups "memcached-session-manager" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/memcached-session-manager/Uhn2AkDYtnc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to memcached-session-...@googlegroups.com.
--
For more options, visit https://groups.google.com/d/optout.
---
You received this message because you are subscribed to the Google Groups "memcached-session-manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached-session-...@googlegroups.com.