On Mon, Dec 2, 2019 at 5:15 PM Dave Chiluk <dchi...@indeed.com> wrote:

> Since 2.0 nbproc and nbthreads are now mutually exclusive, are there
> any ways to make lua multi-threaded?
>
> One of our proxy's makes heavy use of lua scripting.  I'm not sure if
> this is still the case, but in earlier versions of HAProxy lua was
> single threaded per process.  Because of this we were running that
> proxy with nbproc=4, and nbthread=4. This allowed us to scale without
> being limited by lua.
>
> Has lua single-threaded-ness now been solved?  Are there other options
> I should be aware of related to that?  What's the preferred way around
> this?
>
> Thanks,
> Dave.
>
>
Hi Dave,
(I think we met at kubecon)

What's your use case for Lua exactly?
Can't it be replaced by SPOE at some point? (which is compatible with
nbthread and can run heavy processing outside of the HAProxy process)?

You can answer me privately if you don't want such info to be public.

Baptiste

Reply via email to