Rserve icon indicating copy to clipboard operation
Rserve copied to clipboard

HTTP/2 support

Open jim-sheldon opened this issue 3 years ago • 2 comments

Hello,

Does this library support HTTP/2, or are there plans to support it? I looked through the docs but did not notice any relevant information.

Thanks in advance!

jim-sheldon avatar Jan 12 '23 21:01 jim-sheldon

Current versions of Rserve only support HTTP/1.0 and 1.1. It would be possible to add HTTP/2 support via nghttp2, but it is mostly pointless in the R use case so if you need to mix R processing with something else the usual deployment is to use nginx as reverse-proxy which only passes R-related requests or WebSockets to Rserve (see https://github.com/att/rcloud/wiki/Deployment#use-nginx-reverse-proxy for example).

That said, I am currently working on a new package that is based on Rserve but focuses on the HTTP part with performance as the goal, so I'll add more details when I release it.

s-u avatar Jan 12 '23 22:01 s-u

@s-u Thanks for the quick response, I look forward to the new package!

jim-sheldon avatar Jan 12 '23 22:01 jim-sheldon