openresty / openresty

High Performance Web Platform Based on Nginx and LuaJIT
https://openresty.org
Other
12.64k stars 1.54k forks source link

DPDK #234

Open pavelnemirovsky opened 7 years ago

pavelnemirovsky commented 7 years ago

Hi,

Any plans to support dpdk libraries and drivers as part of openresty nginx?

Excited by http://plvision.eu/blog/dpdk-nginx-overview-and-performance-testing/

Thx

P

agentzh commented 7 years ago

@pavelnemirovsky No concrete plan right now. But this indeed looks interesting. It can save a good part of the overhead in socket syscalls like writev. Would be a big win for dead simple proxies without much ad-hoc processing and computations. We'll see what we can do here.

pavelnemirovsky commented 7 years ago

Excited, thx

alonbg commented 7 years ago

@agentzh , @pavelnemirovsky - OpenFastPath might interest you.

" ...OpenFastPath functionality is provided as a library to Fast Path applications that use ODP run to completion execution model and framework. DPDK is in this initial release supported through the ODP-DPDK layer. Native DPDK support is being evaluated. ..."

There is an nginx port as well.

pavelnemirovsky commented 7 years ago

Thank you!

cih-y2k commented 7 years ago

@agentzh , @pavelnemirovsky, @alonbg , is this useful for openresty (https://github.com/F-Stack/f-stack)

alonbg commented 7 years ago

@cih-y2k, actually I've​ recently started looking in it. Heads up, it will take some time though as my run queue is long :) Anyway, I'd wait for thier next major release (due soon) as currently fork is disabled (can run only one nginx worker)

cih-y2k commented 7 years ago

@alonbg thank you!