Re: [vpp-dev] nginx+vpp with epoll pattern failed #vpp #ngnix #epoll

2019-07-22 Thread Florin Coras
Hi, 

It’s not clear from your email if you’re trying it out with ldp or directly 
with vcl. 

If you’re trying a direct integration with vcl, note that vcl epoll is edge 
triggered, so you must read all data before waiting for another rx event. 

Florin

> On Jul 22, 2019, at 7:32 PM, fjc...@hotmail.com wrote:
> 
> We use vpp as tcp protocol stack to work with nginx in epoll pattern, but 
> nginx cannot get epollout event. 
> When we use sendfile pattern, it can transfer file completely. However, if we 
> use aio pattern, nginx cannot get epollout event, and the file cannot be 
> transferred completely. 
> Meanwhile, the process hangs. 
> 
> When we use nginx with kernel tcp protocol stack, it can work normally. 
> Now, we want to know if vpp can work with nginx.
>  
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#13542): https://lists.fd.io/g/vpp-dev/message/13542
> Mute This Topic: https://lists.fd.io/mt/32566351/675152
> Mute #epoll: https://lists.fd.io/mk?hashtag=epoll&subid=1480544
> Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480544
> Mute #ngnix: https://lists.fd.io/mk?hashtag=ngnix&subid=1480544
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [fcoras.li...@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13543): https://lists.fd.io/g/vpp-dev/message/13543
Mute This Topic: https://lists.fd.io/mt/32566351/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #epoll: https://lists.fd.io/mk?hashtag=epoll&subid=1480452
Mute #ngnix: https://lists.fd.io/mk?hashtag=ngnix&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[vpp-dev] nginx+vpp with epoll pattern failed #vpp #ngnix #epoll

2019-07-22 Thread fjcyue
We use vpp as tcp protocol stack to work with nginx in epoll pattern, but nginx 
cannot get epollout event.
When we use sendfile pattern, it can transfer file completely. However, if we 
use aio pattern, nginx cannot get epollout event, and the file cannot be 
transferred completely.
Meanwhile, the process hangs.

When we use nginx with kernel tcp protocol stack, it can work normally.
Now, we want to know if vpp can work with nginx.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13542): https://lists.fd.io/g/vpp-dev/message/13542
Mute This Topic: https://lists.fd.io/mt/32566351/21656
Mute #epoll: https://lists.fd.io/mk?hashtag=epoll&subid=1480452
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #ngnix: https://lists.fd.io/mk?hashtag=ngnix&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-