Welcome! Log In Create A New Profile

Advanced

Re: Performance of Nginx as reverse proxy for Hasura - 7-50x slow

R. Rajesh Jeba Anbiah
November 17, 2020 09:38AM
> > Recently noted that when proxying Hasura for the https support reduces the speed to 7-50x times! More information including tcpdump available in
> > https://github.com/hasura/graphql-engine/discussions/6154
> 
> Looking at the github discussion - you are comparing http vs https.
> Since you are not setting using keepalive 'ab' does the ssl handshake for each request. Try with 'ab -k ...'.

(Apologies for the delay due to Diwali)

As noted in https://github.com/hasura/graphql-engine/discussions/6154#discussioncomment-131629 your insights were really helpful. 

Keep alive works for other REST services, but not working for Hasura. (Keep-Alive requests:    0 Vs Keep-Alive requests:    200 for other services). Is Keep-Alive anything to do with the response headers of Hasura or its POST request?

But, even with keep-alive, usual performance of http vs https through nginx is around 50-100 times slow for any services. Are there any optimization approaches for the same? TIA_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Performance of Nginx as reverse proxy for Hasura - 7-50x slow

R. Rajesh Jeba Anbiah November 13, 2020 02:54AM

RE: Performance of Nginx as reverse proxy for Hasura - 7-50x slow

Reinis Rozitis November 13, 2020 06:12AM

Re: Performance of Nginx as reverse proxy for Hasura - 7-50x slow

R. Rajesh Jeba Anbiah November 13, 2020 08:52AM

Re: Performance of Nginx as reverse proxy for Hasura - 7-50x slow

R. Rajesh Jeba Anbiah November 17, 2020 09:38AM

RE: Performance of Nginx as reverse proxy for Hasura - 7-50x slow

Reinis Rozitis November 17, 2020 11:28AM

Re: Performance of Nginx as reverse proxy for Hasura - 7-50x slow

R. Rajesh Jeba Anbiah November 18, 2020 12:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready