Live data from Hacker News

Ask HN: How can HTTP/2 be used to get GraphQL like performance?

news.ycombinator.com

1–5 of 5 posts

Re: Ask HN: How can HTTP/2 be used to get GraphQL like performance?

#2
HTTP/2 is just a transport that GraphQL and other http-based protocols can use. It may reduce the overhead of round tripping and multiple concurrent connections a little, but it is no substitute for protocol design that drastically reduces or eliminates round tripping (as can GraphQL)

Re: Ask HN: How can HTTP/2 be used to get GraphQL like performance?

#4
post #3

Hi and welcome to HN. Could you clarify some things? - what do you mean by data intensive requests? - what caused you to look into HTTP2 in the first place?

Thanks. :D

By data intensive I meant something where we have to make multiple requests for similar data, but not quite the same. If I understand correctly, graphql is there to help with such cases. But, I may be wrong, I am new to this.

Just curiosity.

Re: Ask HN: How can HTTP/2 be used to get GraphQL like performance?

#5

HTTP/2 is just a transport that GraphQL and other http-based protocols can use. It may reduce the overhead of round tripping and multiple concurrent connections a little, but it is no substitute for protocol design that drastically reduces or eliminates round tripping (as can GraphQL)

Oh okay. Thanks. :D