You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I respect that most people will want chunks aggregated, but it is impossible to make a scalable server that way. I have been struggling with the fact that the Server class is a case class and that the guts of its behavior are defined within it. A trait would be better.
Better yet, it could be implemented like the documentation implies, that without the .chunked() method, it doesn't aggregated. I may be missing something, but the only way I could make this work was by copying server into my own class (and copying PortBindings too, which also sucks... that should be parameterized)
The text was updated successfully, but these errors were encountered:
@thebrenthaines It'd be great to share your knowledge with us.
For example, have you used a ChunkedWriteHandler instead of the default HttpObjectAggregator?
I respect that most people will want chunks aggregated, but it is impossible to make a scalable server that way. I have been struggling with the fact that the Server class is a case class and that the guts of its behavior are defined within it. A trait would be better.
Better yet, it could be implemented like the documentation implies, that without the .chunked() method, it doesn't aggregated. I may be missing something, but the only way I could make this work was by copying server into my own class (and copying PortBindings too, which also sucks... that should be parameterized)
The text was updated successfully, but these errors were encountered: