[users at bb.net] Best Practice use of workers

Pierre Tardy tardyp at gmail.com
Thu Oct 26 13:25:30 UTC 2017


Hi Trevor

RPi has limited CPU, but also limited memory.Because of that, I would limit
the number of worker to one, and even put the master and the worker in the
same process.
You can do that by using the LocalWorker setup.

I don't see a reason why you would use several worker on the same RPI.

Regards
Pierre


Le jeu. 26 oct. 2017 à 12:01, Trevor Hook <trevor.k.hook at googlemail.com> a
écrit :

> Hi
>
> I'm just thinking about how I'd like to organise workers in the future.
>
> The Background
> --------------------------
>
> I'm running Buildbot and 1 worker on a Raspberry Pi Zero W to create a
> couple of websites with Pelican.
>
> I have the workers running in a virtualenv and that virtualenv also
> contains the Pelican package needed to build the websites, I did this for
> better portability, I just setup the worker with a script on any future
> machine and it should be good to go.
>
> I'm starting to think of others things I could do with Buildbot and the
> obvious test I can think of is a check that changes to a Buildbot master
> config is valid.
>
> The Question
> ---------------------
>
> Does it make sense to update that worker virtualenv to also include
> Buildbot so the same worker can build websites or run Buildbot checkconfig
> or would you create a new worker which was only used for Buildbot type
> tasks?
>
> Given the limited processing power of the RPiZeroW, I was planning on
> putting it in to the same worker and therefore limiting the system to only
> ever running 1 worker task at a time.
>
> However, it feels wrong mixing worker purposes like this. Is it possible
> to block a worker from running a job while a different worker from a
> different builder is running a job? That would allow me to keep the workers
> focused on 1 task while preventing the RPi from trying to do too much at
> once.
>
> I'm just trying to get some idea of whether there is a great practice for
> this sort of configuration.
>
> Thanks
> Trevor_______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20171026/cf00b892/attachment.html>


More information about the users mailing list