<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi,<br></div><div><div>&nbsp;</div>On Nov 25, 2016, at 11:53 AM, Gaurav Jain &lt;<a href="mailto:monkeyfdude@gmail.com">monkeyfdude@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Would it help faster recipient inbox update if I change this value to 1 or 2 secs?</div></div></blockquote><div><br></div><div><span style="font-size: 12pt; font-family: Helvetica;">RequestDelaySeconds allows time for coalescing of scheduling messages (on their way OUT of the work queue, by setting the 'notBefore' attribute into the future by&nbsp;</span><span style="background-color: rgba(255, 255, 255, 0);">RequestDelaySeconds on the way IN to the work queue<font face="Helvetica"><span style="font-size: 16px;">)</span></font></span>. This is useful because sometimes a flurry of user activity can generate thrashing / feedback. Exactly how busy they get depends on several factors - attendee count is the most obvious, but also number of sharees and delegates.</div><div><br></div><div>You can reduce end to end latency by reducing this value, at the cost of additional client / server / network load and database lock heat during busy periods. In general we only turn it down for demos (where wall clock seconds are valued more highly than in actual life). In real-world use, the default delay is generally imperceptible unless you are in the same room as the sender and receiver of a message that is subject to this delay.</div><div><br></div><div><a href="https://github.com/apple/ccs-calendarserver/blob/af0b949d1f41475a9e1ac6756f6a79ecde1ff3e7/txdav/caldav/datastore/scheduling/work.py#L361">https://github.com/apple/ccs-calendarserver/blob/af0b949d1f41475a9e1ac6756f6a79ecde1ff3e7/txdav/caldav/datastore/scheduling/work.py#L361</a></div><div><br></div><div><span style="font-size: 12pt; font-family: Helvetica;">RequestDelaySeconds is most important f</span>or active servers that don't have a lot of headroom relative to their average workloads, and also servers with many users.</div><div><br></div><div>In general, the cost (time) difference between a cheap CalDAV request and an expensive one is so vast, we end up needing various (configurable) rate limiters, and this is one of them.</div><div><br></div><div>-dre</div><div><br></div><blockquote type="cite"><div><div dir="ltr"><div><br></div><div>Would there be any side effects?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 24, 2016 at 6:09 PM, Gaurav Jain <span dir="ltr">&lt;<a href="mailto:monkeyfdude@gmail.com" target="_blank">monkeyfdude@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Can you please tell the meaning of in stdconfig.plist:</div><div><br></div><div><table class="m_-3789450503996264405gmail-highlight m_-3789450503996264405gmail-tab-size m_-3789450503996264405gmail-js-file-line-container" style="box-sizing:border-box;border-collapse:collapse;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,&quot;segoe ui&quot;,helvetica,arial,sans-serif,&quot;apple color emoji&quot;,&quot;segoe ui emoji&quot;,&quot;segoe ui symbol&quot;;font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="m_-3789450503996264405gmail-LC1575" class="m_-3789450503996264405gmail-blob-code m_-3789450503996264405gmail-blob-code-inner m_-3789450503996264405gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre-wrap"><span class="m_-3789450503996264405gmail-pl-c" style="box-sizing:border-box;color:rgb(150,152,150)">&lt;!-- Number of seconds delay for a queued scheduling request/cancel --&gt;
<table class="m_-3789450503996264405gmail-highlight m_-3789450503996264405gmail-tab-size m_-3789450503996264405gmail-js-file-line-container" style="white-space:normal;box-sizing:border-box;border-collapse:collapse;color:rgb(51,51,51);font-family:-apple-system,blinkmacsystemfont,&quot;segoe ui&quot;,helvetica,arial,sans-serif,&quot;apple color emoji&quot;,&quot;segoe ui emoji&quot;,&quot;segoe ui symbol&quot;;font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td id="m_-3789450503996264405gmail-LC1576" class="m_-3789450503996264405gmail-blob-code m_-3789450503996264405gmail-blob-code-inner m_-3789450503996264405gmail-js-file-line" style="font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-size:12px;word-wrap:normal;white-space:pre-wrap">&lt;<span class="m_-3789450503996264405gmail-pl-ent" style="box-sizing:border-box;color:rgb(99,163,92)">key</span>&gt;RequestDelaySeconds&lt;/<span class="m_-3789450503996264405gmail-pl-ent" style="box-sizing:border-box;color:rgb(99,163,92)">key</span>&gt;
&lt;<span class="m_-3789450503996264405gmail-pl-ent" style="box-sizing:border-box;color:rgb(99,163,92)">integer</span>&gt;5&lt;/<span class="m_-3789450503996264405gmail-pl-ent" style="box-sizing:border-box;color:rgb(99,163,92)">integer</span>&gt;


Regards,

</td></tr></tbody></table>
</span></td></tr><tr style="box-sizing:border-box"><td id="m_-3789450503996264405gmail-L1576" class="m_-3789450503996264405gmail-blob-num m_-3789450503996264405gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top;border-style:solid;border-color:rgb(238,238,238);border-width:0px 1px 0px 0px"></td><td id="m_-3789450503996264405gmail-LC1576" class="m_-3789450503996264405gmail-blob-code m_-3789450503996264405gmail-blob-code-inner m_-3789450503996264405gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;overflow:visible;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre-wrap"><br></td></tr><tr style="box-sizing:border-box"><td id="m_-3789450503996264405gmail-L1578" class="m_-3789450503996264405gmail-blob-num m_-3789450503996264405gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top;border-style:solid;border-color:rgb(238,238,238);border-width:0px 1px 0px 0px"></td></tr></tbody></table><br></div></div>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>calendarserver-users mailing list</span><br><span><a href="mailto:calendarserver-users@lists.macosforge.org">calendarserver-users@lists.macosforge.org</a></span><br><span><a href="https://lists.macosforge.org/mailman/listinfo/calendarserver-users">https://lists.macosforge.org/mailman/listinfo/calendarserver-users</a></span><br></div></blockquote></body></html>