I am trying to take my application on Redis to remove stickiness and enable session replication.
When i did load testing without redis the over all time was about 500ms. But when i enabled redis by making entry in context.xml then time in load testing increased aggressively to a average of 1.5-2.0 sec
I have increase threads of tomcat and in redisson.yaml also but neither worked.
I have tried custom session management by setting the attribute which were in my control directly to redis but the beans annotated with @SessionScoped in JSF stores in httpsession.
Can anyone suggest me a solution to decrease this time or what is the main problem here?
I have even tried with completely blank servlet.
Without redis time taken- 10ms
With redis time taken – 1sec
Here are some more configurations i have used:
- State_Saving_Method=server (cannot change this to client)
Cooked is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.