<div dir="ltr">Hi Jan,<div>Indeed multimaster will probably help for your scalability issues.</div><div><br></div><div>For performance monitoring, what takes 5min?</div><div>Normally the UI is divided into several api calls, so it might slowly build, or is there 5min wait before displaying anything?</div><div>You might want to use <a href="https://pypi.org/project/buildbot-profiler/">https://pypi.org/project/buildbot-profiler/</a> in order to see what function in buildbot is using too much CPU.</div><div><br></div><div>Also, what can impact performance is some blocking call made inside custom steps.</div><div>For example, if you are using the `requests` library for doing http calls, then this could impact a lot of the performance.</div><div>Those should be replaced by equivalent async (treq/txrequest)</div><div><br></div><div>Regards</div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Pierre</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 18 sept. 2020 à 17:33, Jan Marker <<a href="mailto:jan.marker@kdab.com">jan.marker@kdab.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I was wondering whether you have any experience/advise about a two master configuration, where one master is serving the web service and the other is coordinating builds as mentioned in the documentation [0].<br>
<br>
We're talking of a setup with about 500-1500 builds of about 140 builders per day.<br>
The web interface can take up to a minute to respond, certain pages might take up to 5 minutes.<br>
The system is using a MySQL database and presumably reasonable caching values, but we do see multi-minute delays from buildrequest arrival to build start and the aforementioned web interface performance.<br>
<br>
So were wondering whether that kind of multi-master setup might help us out and improve the performance metrics.<br>
I'd appreciate any kind of advice or experience with multi-master setups.<br>
<br>
Thanks,<br>
Jan Marker<br>
<br>
[0] <a href="http://docs.buildbot.net/2.8.4/manual/concepts.html#multimaster" rel="noreferrer" target="_blank">http://docs.buildbot.net/2.8.4/manual/concepts.html#multimaster</a><br>
<br>
-- <br>
Jan Marker | <a href="mailto:jan.marker@kdab.com" target="_blank">jan.marker@kdab.com</a> | Software Engineer<br>
KDAB (Deutschland) GmbH, a KDAB Group company<br>
Tel: +49-30-521325470<br>
KDAB - The Qt, C++ and OpenGL Experts<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div>