Skip to content

Conversation

@rossabaker
Copy link
Member

This tests the theory of #157 that a sequential dispatcher will help performance.

I thought request and response could share, but creating the request and response on a compute thread rather than the servlet thread results in null path infos being passed to the HTTP app in the tests. This creates the dispatcher for the bodies, where we already have effects.

@rossabaker
Copy link
Member Author

I don't have a performance test harness for this backend. Perhaps @bastewart or @TimWSpence could give it a try?

@rossabaker
Copy link
Member Author

rossabaker commented Jan 24, 2023

It's 0.23.13-3-ad7196e-20230124T051427Z-SNAPSHOT in Maven Central snapshots.

@rossabaker
Copy link
Member Author

Also, the diff is mostly whitespace.

@TimWSpence
Copy link

I don't have a performance test harness for this backend. Perhaps @bastewart or @TimWSpence could give it a try?

Thanks Ross! Just linked this to #171 which includes some initial benchmarks at least. I haven't included results from using a parallel dispatcher but can do if that's helpful. Parallel is noticeably slower (and possibly not correct unless I've missed something?)

@rossabaker
Copy link
Member Author

Parallel is definitely incorrect. See #172.

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.

3 participants