Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement h2 aggregation #23

Merged
merged 10 commits into from
Mar 7, 2019

Conversation

ldclakmal
Copy link
Contributor

@ldclakmal ldclakmal commented Mar 5, 2019

Purpose

This PR will introduce h2 message aggregation which gets the full HTTP request before the responding. But according to the HTTP/2 specification [1] server can respond before receiving the complete request.

A server can send a complete response prior to the client sending an entire request if the response does not depend on any portion of the request that has not been sent and received.

NOTE: Currently, h2 message aggregation does not support for h2c.

Please refer [2] for more info on h2 message aggregation with netty.

[1] https://tools.ietf.org/html/rfc7540#page-51
[2] netty/netty#7908

Fixes ballerina-platform/ballerina-lang#13953

@ldclakmal ldclakmal force-pushed the update-http2-performance-test branch from 4899790 to 664a0e1 Compare March 6, 2019 05:15
@ldclakmal ldclakmal changed the title WIP - Implement h2 aggregator Implement h2 aggregation Mar 6, 2019
@ldclakmal ldclakmal force-pushed the update-http2-performance-test branch from 26ec7eb to 08f91ba Compare March 6, 2019 07:34
@ldclakmal ldclakmal marked this pull request as ready for review March 6, 2019 07:34
@ldclakmal ldclakmal requested a review from arukshani March 6, 2019 07:35
@ldclakmal ldclakmal closed this Mar 6, 2019
@ldclakmal ldclakmal deleted the update-http2-performance-test branch March 6, 2019 07:40
@ldclakmal ldclakmal restored the update-http2-performance-test branch March 6, 2019 07:40
@ldclakmal ldclakmal reopened this Mar 6, 2019
…nto update-http2-performance-test

# Conflicts:
#	components/netty-http-echo-service/src/main/java/org/wso2/performance/common/netty/echo/EchoHttpServer.java
@ldclakmal ldclakmal force-pushed the update-http2-performance-test branch from 2aae3d0 to 002a114 Compare March 6, 2019 08:13
…clakmal/performance-common into update-http2-performance-test

# Conflicts:
#	components/netty-http-echo-service/src/main/java/org/wso2/performance/common/netty/echo/EchoHttp2ServerHandler.java
#	components/netty-http-echo-service/src/main/java/org/wso2/performance/common/netty/echo/EchoHttpServerHandler.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants