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

Beginnings of connection pooling configuration. - #96

Merged
pfalls1 merged 6 commits into
TechEmpower:masterfrom
huntc:connection-pooling
Apr 8, 2013
Merged

pfalls1 merged 6 commits into
TechEmpower:masterfrom
huntc:connection-pooling

Conversation

@huntc

@huntc huntc commented Apr 5, 2013

Copy link
Copy Markdown
Contributor

Provides connection pooling configuration for play-java and play-scala

@huntc huntc mentioned this pull request Apr 5, 2013
… fixed up the locator for the Akka dispatcher (we need to fix our Play doc on this subject).

I have observed that the thread pool executor is now being used with the correct number of threads.
@huntc

huntc commented Apr 6, 2013

Copy link
Copy Markdown
Contributor Author

Made lots of progress here, but still need to set the execution context for the play-java sample - please refer to the FIXME.

@huntc

huntc commented Apr 6, 2013

Copy link
Copy Markdown
Contributor Author

Thanks @Skamander - I'll have to consult my colleagues on configuring the Java EC. That's really the only thing outstanding on this PR now.

@Skamander

Copy link
Copy Markdown

@huntc - Thanks for your work on the tests. I'm eagerly awaiting the new benchmark results next week. 👍

btw: you could remove the import of the global execution context and make the new db context implicit, so you don't have to pass it to the future explicitly.

@huntc

huntc commented Apr 6, 2013

Copy link
Copy Markdown
Contributor Author

Ah, but I don't want to use my dbEc for other future related activity such as the sequence call... I deliberately avoided the implicit approach here.

@Skamander

Copy link
Copy Markdown

Sorry, I didn't thought of that. totally forgot that Future.sequence also takes an implicit execution context.

@huntc

huntc commented Apr 8, 2013

Copy link
Copy Markdown
Contributor Author

This PR is now ready for merging from my perspective.

@bhauer

bhauer commented Apr 8, 2013

Copy link
Copy Markdown
Contributor

Thank you, @huntc and @Skamander! Pat is carving out some time this morning to work through some of the pending pull requests.

pfalls1 added a commit that referenced this pull request Apr 8, 2013
Beginnings of connection pooling configuration.
@pfalls1
pfalls1 merged commit 03586a5 into TechEmpower:master Apr 8, 2013
@pfalls1

pfalls1 commented Apr 8, 2013

Copy link
Copy Markdown
Contributor

Thanks @huntc and @Skamander this looks great.

@huntc
huntc deleted the connection-pooling branch April 9, 2013 06:05
mirob2005 pushed a commit that referenced this pull request Oct 12, 2013
Beginnings of connection pooling configuration.
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.

4 participants