How does Sitecore propagate events to the core database on CM and CD servers?
I'm trying to understand the technical details of how Sitecore propagates events like item:added
, item:published
etc to the core databases on both content management and content delivery servers.
How does Sitecore use publish/subscribe for event propagation? What is the role of the core Sitecore databases like master and web in propagating events between servers? What specific classes and database tables are involved in polling for new events and raising them on CM and CD instances? If I wanted to debug the event propagation process, what are some key places I could put breakpoints or enable logging? What are some key things to check like database connection strings, publishing targets etc to ensure events are flowing properly between servers?
Additionally:
How are events propagated on a full publish/rebuild of the entire database? Are there any differences in how individual item events vs. full rebuild events are propagated to the cores? What should I check if full rebuild events don't seem to be getting picked up properly on the CD servers? Any insights into the internals of Sitecore's event architecture and how to troubleshoot it would be appreciated.
Looking for low-level technical details on how this works behind the scenes.