akka / akka/akka-http

Add batching to Stream TCP

Open
#176 4 comments 0 reactions 0 assignees View on GitHub
1 - triaged
Dominant language
Scala
Stars
1.4k
Forks
584
Avg merge
14h 33m
Merged PRs (30d)
24

Description

**Issue by [ktoso](https://github.com/ktoso)**
_Monday Nov 30, 2015 at 13:19 GMT_
_Originally opened as https://github.com/akka/akka/issues/19048_

---

The previous stream TCP impl did batching, the current one does not which likely has lessened its performance.

In essence we want to have a generic stage that can collapse multiple incoming ByteStrings into one bigger one. This is likely useful on it's own, but esp. in the Tcp pipeline.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the current Stream TCP implementation with the previous stream TCP implementation, which included batching. Identify how a generic stage could collapse incoming ByteStrings and where it belongs in the TCP pipeline. Done means multiple ByteStrings are batched into a larger one and the TCP stream behavior is covered or validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.