Thank you Florin for your detailed interpretation. :)
/Yalei
Florin Coras 于2018年8月3日周五 下午11:00写道:
> Hi Yalei,
>
> Pretty much. We supported nginx forking at one point, but that code was
> not maintained.
>
> I’m now working on refactoring vcl and in the process adding multiple
> worker support
Hi Yalei,
Pretty much. We supported nginx forking at one point, but that code was not
maintained.
I’m now working on refactoring vcl and in the process adding multiple worker
support in both vcl and the stack. The high level plan is pretty much the one
I’ve stated on the list. I don’t have a
Hi Dave & Florin,
I am curious about this line "(and only with single workers)." ? could you
light me some more? do you mean vcl support the APP which has one worker
now, the app could not 'fork'?
And as you mentioned, refactoring VCL infrastructure, is there a
detailed plan? will it be complete
Florin is correct. There is also a performance and/or scaling penalty
due to the need to handle both kernel socket based file descriptors and
VCL/VPP created file descriptors with the LD_PRELOAD callback functions.
Thanks,
-daw-
On 7/31/18 2:11 PM, Florin Coras wrote:
Hi Matt,
I’d say that t
Hi Matt,
I’d say that trying to cover all possible combinations of POSIX calls is the
main issue. Also, statically linked applications won’t work fine with
ld_preload. But, I’ll let Dave provide more details since he is more closely
involved with the effort.
Florin
> On Jul 31, 2018, at 7:
Hi Florin and Dave,
I’m curious what problems were observed with the LD_PRELOAD mechanism. Were
there performance issues? Or was it too difficult to try and cover different
usage of POSIX calls? Or something else?
Thanks!
-Matt
> On Jul 30, 2018, at 10:39 AM, Florin Coras wrote:
>
> Prasha
Prashant,
Dave is exactly right. If you still want to try out the LDP layer, I wouldn’t
set a global LD_PRELOAD variable because that will end up preloading all the
applications and, inevitably, to some unsupported usage patterns and crashes.
Instead, start only your app with LD_PRELOAD set, s
Prashant,
The VCL LD_PRELOAD library is experimental and only works with a very
limited set of legacy POSIX sockets applications (and only with single
workers).
The conclusion based on the results of the initial experimentation with
LD_PRELOAD is that it is not a viable mechanism for acceler