Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Dropwizard/plaintext resource now returning precomputed byte array#1150

Merged
msmith-techempower merged 3 commits intoTechEmpower:masterfrom
zloster:dropwizard-plaintext
Nov 7, 2014
Merged

Dropwizard/plaintext resource now returning precomputed byte array#1150
msmith-techempower merged 3 commits intoTechEmpower:masterfrom
zloster:dropwizard-plaintext

Conversation

@zloster
Copy link
Copy Markdown
Contributor

@zloster zloster commented Oct 29, 2014

This could be considered as a performance optimisation. It is similar to the plaintext implementation with undertow/undertow-edge. Obviously without the NIO optimisation.

@hamiltont
Copy link
Copy Markdown
Contributor

Would you be interested in updating this to fix these remaining issues:

INFO:run-ci:   WARN for http://127.0.0.1:9000/db?queries=0
INFO:run-ci:     JSON array length of 0 != expected length of 1
INFO:run-ci:   FAIL for http://127.0.0.1:9000/db?queries=foo
INFO:run-ci:     Empty Response
INFO:run-ci:   FAIL for http://127.0.0.1:9000/db?queries=501
INFO:run-ci:     JSON array length of 501 != expected length of 500

Note for @msmith-techempower - @zloster didn't add any new failures here, but the new verification checks are detecting failures that we were not looking for before. In short, we can safely merge this PR as is if @zloster does not want to fix the remaining issues.

@zloster
Copy link
Copy Markdown
Contributor Author

zloster commented Oct 29, 2014

@hamiltont I'll try to fix the things.

@hamiltont
Copy link
Copy Markdown
Contributor

Great!

On Wed, Oct 29, 2014, 7:38 PM Radoslav Petrov notifications@github.com
wrote:

@hamiltont https://github.com/hamiltont I'll try to fix the things.


Reply to this email directly or view it on GitHub
#1150 (comment)
.

@msmith-techempower
Copy link
Copy Markdown
Member

@hamiltont Why are ?queries=foo and ?queries=501 giving fails and not warnings?
Subtext: they should be warnings and not failures for this round.

@zloster
Copy link
Copy Markdown
Contributor Author

zloster commented Oct 30, 2014

@hamiltont @msmith-techempower The response validation problems seems to be addressed in the following pull request

@zloster
Copy link
Copy Markdown
Contributor Author

zloster commented Nov 6, 2014

I've merged the updated pull request from master.

msmith-techempower added a commit that referenced this pull request Nov 7, 2014
Dropwizard/plaintext resource now returning precomputed byte array
@msmith-techempower msmith-techempower merged commit 9a5f82c into TechEmpower:master Nov 7, 2014
@zloster zloster deleted the dropwizard-plaintext branch November 10, 2014 19:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants