<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/10/2016 04:14 PM, Jan Heylen
wrote:<br>
</div>
<blockquote
cite="mid:CAGszK3gjT9P7hdD8rr+KDXyurm3gjrV6KUceNtASjrUt-Fcwag@mail.gmail.com"
type="cite">
<div dir="ltr"><span class="gmail-"></span><br>
<span class="gmail-"></span>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><span class="gmail-">
> Is this true for uwsgi and how could I accomplish
this with one shared kallithea.ini config file? (is it
possible to have uwsgi start a separate celercy e.g.?)<br>
<br>
</span>
All wsgi instances should (in my opinion) send to the same
queue and should thus use the same .ini settings.<br>
<br>
The celery worker has to be launched and managed somehow.
It is possible that uwsgi can do that is good at it - I
don't know. But the point with celery is that it is 100%
decoupled from the web serving and only communicate
through the queue (and the database and the file system).
It is thus not obvious that it should be managed through
uwsgi.<br>
</blockquote>
<div><br>
Ok, thx for the info, we will probably have paster still
start celery, and use uwsgi to scale Kallithea
horizontally it's instances.</div>
</div>
</div>
</div>
</blockquote>
<br>
Yes, I don't think it is feasible to "run celeryd" without paster.
More precisely, Kallithea implements a paster command (soon gearbox)
that runs Kallithea code that uses the celery library. The question
is how to run this paster command. It can be run from a init.d
script, from systemd, from some other service wrapper ... or perhaps
from uwsgi.<br>
<br>
/Mads<br>
</body>
</html>