Skip to Content
author's profile photo Former Member
Former Member

Session drainage/graceful scale down

Team,

We are using hybris roll out that allow us hybris deployment without any outage. That's good but now next goal is graceful scale down of server in a way that customer in checkout process are not impacted at all. It means if a customer is in middle of checkout on a server that we want to bring down for deployment then server will wait either for completion of transaction or a defined time. During this time it won't allow new http session too.

Unfortunately our load balance does not support http session graceful scale down/session drainage functionality. Now I am looking for other compenents of the architecture and it seems it can be achieved through web server (nginx) or app server(tomcat) cluster.

Have you done this earlier, If yes, please share your learning/thoughts around this?

Tomcat 7 introduces what is called Parallel Deployment, has anyone tried it with Hybris 5.4.x?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2015 at 12:06 AM

    Parallel deployment is running multiple versions of the same app - what you need is session replication, which you can do in a number of ways. One of that is https://wiki.hybris.com/download/attachments/229725989/factsheet-PS-system-memcached-session-replication-130913_V3.pdf?version=1&modificationDate=1395902072000≈i=v2

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.