pingora icon indicating copy to clipboard operation
pingora copied to clipboard

proxy-wasm support

Open tkennedy1-godaddy opened this issue 1 year ago • 6 comments

What is the problem your feature solves, or the need it fulfills?

Proxy WASM is an spec that allows HTTP filters to be implemented in WASM (supported in Envoy and in-progress for OpenResty).

Describe the solution you'd like

Integration of proxy wasm to pingora to allow for filters built on this spec to operate.

Describe alternatives you've considered

n/a

Additional context

tkennedy1-godaddy avatar Feb 28 '24 23:02 tkennedy1-godaddy

I'm looking for the same. It seems that a possible implementation may be wrapping a WASM Runtime inside ProxyHttp trait and forward events to WASM modules. Unfortunately there is no TCK (yet) to probe that a proxy-wasm implementation works as expected.

andytesti avatar Feb 29 '24 00:02 andytesti

This something the ISRG River project will work on. See https://www.memorysafety.org/blog/introducing-river/.

eaufavor avatar Feb 29 '24 01:02 eaufavor

That announcement was well timed :)

tkennedy1-godaddy avatar Feb 29 '24 01:02 tkennedy1-godaddy

A blocker for proxy-wasm support is body modification not being allowed.

andytesti avatar Mar 07 '24 15:03 andytesti

It looks like the blocker issue with body modification is already solved Do you have any plans to implement proxy-wasm in the near time?

artemMartynenko avatar Apr 19 '24 15:04 artemMartynenko

looking forward to supporting proxy-wasm

darkforest42 avatar Aug 02 '24 07:08 darkforest42