Skip to content

Thoughts and notes #2

@danneu

Description

@danneu
  • The upcoming Hyper 0.12.x will make improvements to Body like allow Body construction from a Stream.
  • Hyper is also migrating to https://github.com/hyperium/http which will incur substantial API changes.
  • I'm not sure which is the best way to start a Hyper server. There are a variety of options because so many different objects can collaborate across various packages. I'm not sure if I'm supposed to use tokio, tokio-core, tokio-io, nor what the intended mix is. I'm also not sure of the performance differences between things like tokio's Runtime, the reactor Core, and other executors.
  • I rewrote this project in an effort to split my originally monolithic Service into middleware. However, during the process, I've become uncertain of the execution model. For example, I would have thought that hunk would perform a lot worse than it does, and I'm not sure where its issues lie. I seem to pass hunk's threadpool around out of superstition than deliberate strategy.

Useful:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions