Hello Jenkins,
I'd like you to reexamine a change. Please visit
https://asterix-gerrit.ics.uci.edu/1991
to look at the new patch set (#3).
Change subject: [NO ISSUE][OTH] Improve Http Server
......................................................................
[NO ISSUE][OTH] Improve Http Server
- user model changes: no
- storage format changes: no
- interface changes: no
details:
- Log estimated input memory budget
- Ensure all allocated input memory buffers are 4K. This reduces
the chance of memory allocation to go beyond budget. This also
allows input and output to share buffers of this size since
it is the size of choice for reading and writing.
- Reject requests that go beyond server capacity before reading
them which reduces wasted resources.
- Allow configurations of number of bosses and workers for an
Http web manager.
- Push the limit further in Http server tests through:
-- Increase the size of the single request to ~100KB.
-- Increase the number of rejected requests.
Change-Id: I7adcd59047805dc384e1c119191eff995c6e9a7a
---
M
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/ChunkedNettyOutputStream.java
M
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/HttpServer.java
M
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/HttpServerInitializer.java
M
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/WebManager.java
M
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/utils/HttpUtil.java
M
hyracks-fullstack/hyracks/hyracks-http/src/test/java/org/apache/hyracks/http/servlet/ChattyServlet.java
M
hyracks-fullstack/hyracks/hyracks-http/src/test/java/org/apache/hyracks/http/test/HttpServerTest.java
7 files changed, 152 insertions(+), 79 deletions(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/91/1991/3
--
To view, visit https://asterix-gerrit.ics.uci.edu/1991
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7adcd59047805dc384e1c119191eff995c6e9a7a
Gerrit-PatchSet: 3
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <[email protected]>
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Murtadha Hubail <[email protected]>