SaaS CMS has officially launched! Learn more now.

Commerce Zero Downtime

Vote:
 

Hi,

I am looking into the process of having zero downtime.

In the documentation I see that when deploying we can have 2 different database modes ReadOnly and ReadWrite.

I wish to use the ReadOnly mode (recommended), what isn't clear from the documentation is how this effects a commerce site.

I presume customers can still add to cart, update cart, add billing and shipping address, process and order.

Would that assumption be correct?

Thanks

Paul

#290668
Oct 27, 2022 8:35
Vote:
 

No, only viewing data (browsing catalog etc.). No adding to cart or update address etc. I believe even logging in will be limited when ReadOnly mode is on (if you updates things like last login date) 

#290669
Oct 27, 2022 11:29
Vote:
 

For completeness, that is for default implementation. You can in theory store your carts somewhere else (like Azure Table Storage) by using custom implementation and that would allow you to saving carts during ReadOnly mode. However it is quite a bit of works.

Updating customer profile is more complicated as there is no abstraction you can implement 

#290718
Oct 28, 2022 6:24
Vote:
 

I did a POC for a custom implementation once, maybe you can get some ideas out of it: https://jstemerdink.blog/2016/04/18/poc-upgrade-epicommerce-without-losing-orders/

#290841
Oct 31, 2022 9:21
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.