akka/akka-core

Document best practices or provide a way to do TCP connection pooling

Open

#25,038 opened on May 2, 2018

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Scala (3,547 forks)batch import
1 - triagedhelp wantedt:stream

Repository metrics

Stars
 (13,277 stars)
PR merge metrics
 (Avg merge 8d 19h) (10 merged PRs in 30d)

Description

When building a TCP client using Akka Streams outgoingConnection it is common to want to reuse connections. Most of the time a higher level protocol should be used but there are cases e.g. when developing a client for an existing TCP protocol such as a database driver / SMTP client when connection pooling would be useful. Might not be possible to make this generic enough but adding something to the cookbook would be useful.

Contributor guide