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.
Here are a few issues I found with current approach to ruby async web stack (or lack of one), including this gem:
throw :asyncscares me.Why we need a separate rack-like API for async web apps:
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.