Skip to content

Make a real async API instead of hacking rack #5

@aq1018

Description

@aq1018

Here are a few issues I found with current approach to ruby async web stack (or lack of one), including this gem:

  • Rack is not designed with async in mind.
  • An awesome hack is still a hack, not a solution.
  • Confuse developers. Some middlewares are async, some are not.
  • throw :async scares me.
  • Various bugs and unexpected behaviors make development a pain.

Why we need a separate rack-like API for async web apps:

  • Can be designed to be async from ground up.
  • No hacks.
  • Allow future async web frameworks and async app servers to integrate and grow.
  • A very important piece in any web stack.
  • Leads to more friendly development experience.

P.s. Sorry for putting this here as an issue, I couldn't find any discussion about this possibility anywhere, so I'm trying to see if other people's opinions on this idea.

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