SaaS CMS has officially launched! Learn more now.

Commerce Zero Downtime



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?



Oct 27, 2022 8:35

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) 

Oct 27, 2022 11:29

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 

Oct 28, 2022 6:24

I did a POC for a custom implementation once, maybe you can get some ideas out of it:

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.