Wednesday, June 22, 2016

If there is mongodb connectivity issue in production what will happen?

Yesterday I have got a query from our client that in production if there is a mongodb connectivity issue for time being what will happen to website from user end? The question was really interesting to me. I thought the website might not be available for that time period and gave the answer to client.

Later I thought that I am doing some mistake and searched google and from SDN I got to know that if mongodb  is not available then..

1. From a user's perspective, the site will continue to function normally unless  we are doing any personalization or custom logic based on data directly from MongoDB.
2. The Experience Analytics dashboard pulls data from the reporting SQL Server database, which contains aggregated data from MongoDB, so it will continue to function, however, our metrics will eventually flat-line as new data will not being captured with an invalid/broken MongoDB connection
3. Will see errors in the Sitecore logs file related to failed connection attempts.
4.  Website will be available but traffic will not be logged on xDB.