Is there a way to get Sitecore to synchronize MongoDB data with this SQL database?

I am setting up Sitecore xDB and trying to verify exactly what information passes through the system for authenticated and unidentified users. I would like to be able to make changes and quickly see the results in Sitecore. I found that the installation reduces the duration of the session to 1 minute, not 20. I did not find a way to simply get Sitecore to synchronize with Mongo on demand, or at least for 1-5 minutes, and not something that also seems to be about 20 minutes at the moment. It exists or "reconstructs" the database, explaining here only existing process?

+4
source share
1 answer

See this blog post by Martina Velander for this and better information on xDB sessions: https://mhwelander.net/2016/08/24/whats-in-a-session-what-exactly-happens-during-a-session -and-how-does-the-xdb-know-who-you-are /

You just need a service page that invokes System.Web.HttpContext.Current.Session.Abandon(). You can also redirect the user to a page that does not exist.

Update address comment

I understand that once the xDB session has expired, processing should be fast. In the Sitecore.Analytics.Processing.Services.config file, the BackgroundService agent is configured to start at an interval of 15 seconds by default.

. /sitecore/admin/cache.aspx. defaultCacheExpiration cacheProvider Sitecore.Analytics.Reporting.config. - 10 .

+2

Source: https://habr.com/ru/post/1653218/


All Articles