akka/akka-core

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

Aperta

#25.038 aperta il 2 mag 2018

 (0 commenti) (1 reazione) (0 assegnatari)Scala (3547 fork)batch import
1 - triagedhelp wantedt:stream

Metriche repository

Star
 (13.277 stelle)
Metriche merge PR
 (Merge medio 8g 19h) (10 PR mergiate in 30 g)

Descrizione

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.

Guida contributor