<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:EN-GB;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>+1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>What are the limits in the other components ? It would be good to be consistent, so we don’t end up with high limits on Nova leading to hitting the limits on keystone or glance.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Tim<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> Matt Joyce [mailto:matt.joyce@cloudscaling.com] <br><b>Sent:</b> 26 June 2013 23:31<br><b>To:</b> Joe Gordon<br><b>Cc:</b> openstack-operators@lists.openstack.org<br><b>Subject:</b> Re: [Openstack-operators] Nova API rate limiting<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>+1<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Jun 26, 2013 at 1:34 PM, Joe Gordon <<a href="mailto:joe.gordon0@gmail.com" target="_blank">joe.gordon0@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi All<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>We are looking into changing the default values for nova API rate limiting to be something that will work on a small (several rack) deployment. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a href="https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/limits.py#L225" target="_blank">https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/<span style='color:#222222'>limits</span>.py#L225</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Here are the current values:<o:p></o:p></span></p></div><div><pre style='line-height:13.5pt;white-space:pre-wrap'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>DEFAULT_LIMITS <b>=</b> [<o:p></o:p></span></pre></div><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>    </span><span style='font-family:Consolas;color:#222222'>Limit</span><span style='font-family:Consolas;color:#333333'>(</span><span style='font-family:Consolas;color:#DD1144'>"POST"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>"*"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>".*"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#009999'>10</span><span style='font-family:Consolas;color:#333333'>, PER_MINUTE),<o:p></o:p></span></pre></div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>    </span><span style='font-family:Consolas;color:#222222'>Limit</span><span style='font-family:Consolas;color:#333333'>(</span><span style='font-family:Consolas;color:#DD1144'>"POST"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>"*/servers"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>"^/servers"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#009999'>50</span><span style='font-family:Consolas;color:#333333'>, PER_DAY),<o:p></o:p></span></pre></div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>    </span><span style='font-family:Consolas;color:#222222'>Limit</span><span style='font-family:Consolas;color:#333333'>(</span><span style='font-family:Consolas;color:#DD1144'>"PUT"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>"*"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>".*"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#009999'>10</span><span style='font-family:Consolas;color:#333333'>, PER_MINUTE),<o:p></o:p></span></pre></div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>    </span><span style='font-family:Consolas;color:#222222'>Limit</span><span style='font-family:Consolas;color:#333333'>(</span><span style='font-family:Consolas;color:#DD1144'>"GET"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>"*changes-since*"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>".*changes-since.*"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#009999'>3</span><span style='font-family:Consolas;color:#333333'>, PER_MINUTE),<o:p></o:p></span></pre></div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>    </span><span style='font-family:Consolas;color:#222222'>Limit</span><span style='font-family:Consolas;color:#333333'>(</span><span style='font-family:Consolas;color:#DD1144'>"DELETE"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>"*"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>".*"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#009999'>100</span><span style='font-family:Consolas;color:#333333'>, PER_MINUTE),<o:p></o:p></span></pre></div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>    </span><span style='font-family:Consolas;color:#222222'>Limit</span><span style='font-family:Consolas;color:#333333'>(</span><span style='font-family:Consolas;color:#DD1144'>"GET"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>"*/os-fping"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#DD1144'>"^/os-fping"</span><span style='font-family:Consolas;color:#333333'>, </span><span style='font-family:Consolas;color:#009999'>12</span><span style='font-family:Consolas;color:#333333'>, PER_HOUR),<o:p></o:p></span></pre></div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>]<o:p></o:p></span></pre></div><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre></div><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>What are you using in production, or do you use it at all?<o:p></o:p></span></pre></div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre></div><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#222222'>Rate</span><span style='font-family:Consolas;color:#333333'> </span><span style='font-family:Consolas;color:#222222'>limiting</span><span style='font-family:Consolas;color:#333333'> to 10 POSTS per minute and 50 servers per day seems *way* to low for any sort of deployment - production or otherwise. <o:p></o:p></span></pre></div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre></div><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>I was thinking of changing all the values to something closer to 120 requests per minute for everything, what do you, the operators, think?<o:p></o:p></span></pre></div><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'><o:p> </o:p></span></pre></div><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>best,<o:p></o:p></span></pre></div><div><pre style='line-height:13.5pt'><span style='font-family:Consolas;color:#333333'>Joe<o:p></o:p></span></pre></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>OpenStack-operators mailing list<br><a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>