OWA Free/Busy posting process

Published Aug 19 2004 10:07 AM 1,206 Views

OWA and Outlook both post and poll the same FB data to the public store, but each client has its own method and time frame when data is posted. When Outlook needs to post data, each client simply calculates the data and writes it directly to the public store on the Exchange server. Read more here. Each Outlook user has direct control of how often FB data is written to the public store. (Tools, Options, Calendar Options, Free/Busy Options) but is easily changeable.

OWA has a different method. For OWA to post FB data, the Exchange server has to post it on behalf of all the users. Since the Exchange server posts the data, the time frame is the same for all users on that server, there is no individual settings that allow the users to select how often data is posted.

To understand how to speed up the OWA FB posting, here is the high level process the Exchange server follows to post FB data after a calendaring item is booked using OWA.

When the calendaring item enters the store, it's processed like any other calendaring item. Store then packs all the relevant FB information up into a new message and places it in the System Attendant's (SA) mailbox where it waits to be processed by the Polling Thread.

The polling thread scans the SA mailbox for new FB messages every 5min, once it finds messages that needs to be posted it queues it up where a worker thread processes the queue posting the FB data to the Exchange public store.

Although this process may seem like there are more steps than required, the design had to take into consideration many things like legacy support, clustering, scalability and performance. Certainly we don't want to choke off the store process trying to post FB data when the public store happened to be unavailable.

The polling thread by default scans every 5 min, but can be changed by adding a registry key on the Exchange server. This change affects all OWA users on the Exchange server where the registry key as been added. The shortest polling interval is 30 seconds. If this value is set to anything less than 30, it has no effect. i.e., the default value (5 min.) is used.

PollingInterval (DWORD: seconds)
 Location: SYSTEM\CurrentControlSet\Services\MSExchangeFBPublish\Parameters\<VS name>
This is the periodic interval used by polling thread to poll the SA mailbox for FB messages.

<VS name> is the name of the Exchange server (Virtual Server); this is used to support clustering.
For the new polling interval to take effect, you need to restart the system attendant service (MSExchangeSA).

Watch the process:
You can watch the messages enter and get deleted after it's been processed from the SA mailbox. In ESM, Servers | <Select Server> | Storage Group | Mailbox Store | Mailboxes and look for System Attendant. After adding a calendaring item using OWA, you will see this increase, then after the polling thread has processed, and you refresh, it will decrease.

- Eric Hartmann

2 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-610069%22%20slang%3D%22en-US%22%3EOWA%20Free%2FBusy%20posting%20process%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-610069%22%20slang%3D%22en-US%22%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3EOWA%20and%20Outlook%20both%20post%20and%20poll%20the%20same%20FB%20data%20to%20the%20public%20store%2C%20but%20each%20client%20has%20its%20own%20method%20and%20time%20frame%20when%20data%20is%20posted.%20When%20Outlook%20needs%20to%20post%20data%2C%20each%20client%20simply%20calculates%20the%20data%20and%20writes%20it%20directly%20to%20the%20public%20store%20on%20the%20Exchange%20server.%20%3C%2FFONT%3E%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fexchange%2Farchive%2F2004%2F06%2F02%2F146939.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3ERead%20more%20here%3C%2FFONT%3E%3C%2FA%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3E.%20Each%20Outlook%20user%20has%20direct%20control%20of%20how%20often%20FB%20data%20is%20written%20to%20the%20public%20store.%20(Tools%2C%20Options%2C%20Calendar%20Options%2C%20Free%2FBusy%20Options)%20but%20is%20easily%20changeable.%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3EOWA%20has%20a%20different%20method.%20For%20OWA%20to%20post%20FB%20data%2C%20the%20Exchange%20server%20has%20to%20post%20it%20on%20behalf%20of%20all%20the%20users.%20Since%20the%20Exchange%20server%20posts%20the%20data%2C%20the%20time%20frame%20is%20the%20same%20for%20all%20users%20on%20that%20server%2C%20there%20is%20no%20individual%20settings%20that%20allow%20the%20users%20to%20select%20how%20often%20data%20is%20posted.%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3ETo%20understand%20how%20to%20speed%20up%20the%20OWA%20FB%20posting%2C%20here%20is%20the%20high%20level%20process%20the%20Exchange%20server%20follows%20to%20post%20FB%20data%20after%20a%20calendaring%20item%20is%20booked%20using%20OWA.%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3EWhen%20the%20calendaring%20item%20enters%20the%20store%2C%20it's%20processed%20like%20any%20other%20calendaring%20item.%20Store%20then%20packs%20all%20the%20relevant%20FB%20information%20up%20into%20a%20new%20message%20and%20places%20it%20in%20the%20System%20Attendant's%20(SA)%20mailbox%20where%20it%20waits%20to%20be%20processed%20by%20the%20Polling%20Thread.%3CBR%20%2F%3E%3CIMG%20src%3D%22http%3A%2F%2Fgroups.msn.com%2F_Secure%2F0QQDtAq0Ts4hoILdxik6IkyeL9aQZ8aCDj2Zg4HaAgZf7wQMw3TLri7QaNBFCysCQvv0MTjs953GR9DGk1WwuTrMgLFbFpj*njLSJbjuX1iE%2Fowafb1.jpg%3Fdc%3D4675485512531702762%22%20%2F%3E%20%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3EThe%20polling%20thread%20scans%20the%20SA%20mailbox%20for%20new%20FB%20messages%20every%205min%2C%20once%20it%20finds%20messages%20that%20needs%20to%20be%20posted%20it%20queues%20it%20up%20where%20a%20worker%20thread%20processes%20the%20queue%20posting%20the%20FB%20data%20to%20the%20Exchange%20public%20store.%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3EAlthough%20this%20process%20may%20seem%20like%20there%20are%20more%20steps%20than%20required%2C%20the%20design%20had%20to%20take%20into%20consideration%20many%20things%20like%20legacy%20support%2C%20clustering%2C%20scalability%20and%20performance.%20Certainly%20we%20don't%20want%20to%20choke%20off%20the%20store%20process%20trying%20to%20post%20FB%20data%20when%20the%20public%20store%20happened%20to%20be%20unavailable.%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3EThe%20polling%20thread%20by%20default%20scans%20every%205%20min%2C%20but%20can%20be%20changed%20by%20adding%20a%20registry%20key%20on%20the%20Exchange%20server.%20This%20change%20affects%20all%20OWA%20users%20on%20the%20Exchange%20server%20where%20the%20registry%20key%20as%20been%20added.%20The%20shortest%20polling%20interval%20is%2030%20seconds.%20If%20this%20value%20is%20set%20to%20anything%20less%20than%2030%2C%20it%20has%20no%20effect.%20i.e.%2C%20the%20default%20value%20(5%20min.)%20is%20used.%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%3E%3CFONT%20size%3D%222%22%3E%3CSTRONG%3EPollingInterval%3C%2FSTRONG%3E(DWORD%3A%20seconds)%3CBR%20%2F%3E%26nbsp%3BLocation%3A%20%3CSTRONG%3ESYSTEM%5CCurrentControlSet%5CServices%5CMSExchangeFBPublish%5CParameters%5C%3CVS%20name%3D%22%22%3E%3C%2FVS%3E%3C%2FSTRONG%3E%3CBR%20%2F%3EThis%20is%20the%20periodic%20interval%20used%20by%20polling%20thread%20to%20poll%20the%20SA%20mailbox%20for%20FB%20messages.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3E%3CVS%20name%3D%22%22%3E%20is%20the%20name%20of%20the%20Exchange%20server%20(Virtual%20Server)%3B%20this%20is%20used%20to%20support%20clustering.%3CBR%20%2F%3EFor%20the%20new%20polling%20interval%20to%20take%20effect%2C%20you%20need%20to%20restart%20the%20system%20attendant%20service%20(MSExchangeSA).%3C%2FVS%3E%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%3E%3CFONT%20size%3D%222%22%3E%3CSTRONG%3EWatch%20the%20process%3A%3CBR%20%2F%3E%3C%2FSTRONG%3EYou%20can%20watch%20the%20messages%20enter%20and%20get%20deleted%20after%20it's%20been%20processed%20from%20the%20SA%20mailbox.%20In%20ESM%2C%20Servers%20%7C%20%3CSELECT%20server%3D%22%22%3E%20%7C%20Storage%20Group%20%7C%20Mailbox%20Store%20%7C%20Mailboxes%20and%20look%20for%20System%20Attendant.%20After%20adding%20a%20calendaring%20item%20using%20OWA%2C%20you%20will%20see%20this%20increase%2C%20then%20after%20the%20polling%20thread%20has%20processed%2C%20and%20you%20refresh%2C%20it%20will%20decrease.%3CBR%20%2F%3E%3CIMG%20src%3D%22http%3A%2F%2Fgroups.msn.com%2F_Secure%2F0QQDnAq4T7YjNkD1B!ZD61h8gw43IeKnL3jsaLBNoYzhNS0NBxBt0UxCAw42gMEQsUxSCvZciZ1vgqlmh!68gDI3Y1n0msteZZmd2BymJhfQ%2Fowafb2.jpg%3Fdc%3D4675485512536427226%22%20%2F%3E%20%3C%2FSELECT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%20%3CP%3E%3CFONT%20face%3D%22Verdana%22%20size%3D%222%22%3E-%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fexchange%2Farticles%2F70748.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EEric%20Hartmann%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-610069%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eall%20posts%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOWA%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETroubleshooting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Jul 01 2019 02:59 PM
Updated by: