3 ms·
Regarding design choices, I think Brubeck and Diesel are indeed the future. They don't rely on the broken ideas found in WSGI and they don't attempt to bolt on
by j2labs 14y ago
Regarding design choices, I think Brubeck and Diesel are indeed the future. They don't rely on the broken ideas found in WSGI and they don't attempt to bolt on concurrency. Both are designed around an async / nonblocking system that removes the horrible callbacks found in Node.js, Twisted, Tornado and even provide a system for converting your blocking calls into nonblocking calls.
On top of that, the performance of these two, by being based in gevent, blows the other systems out of the water. Tornado and Twisted are both slower due to so much of the core loop being written in Python instead of C. Here is a simple hello world comparison of Brubeck vs. Tornado: https://gist.github.com/2252671 https://gist.github.com/2252671 - What we see is that at it's base level, meaning there's no I/O or CPU bound tasks, gevent is straight-up much faster.
Regarding features, Brubeck can already generate a REST API for you, provides auth hooks, has oauth plugins, supports the template systems you care about, works great with mongo, riak, redis, postgres, mysql, all with nonblocking support, and it even comes witha modeling layer that won't force badly generated queries on you, aka databaseless schemas.
(As said in my other comment, I am biased due to being on Brubeck's core team)