Brubeck’s dev team is going to hang out tomorrow at 11am EST.
If you’d like to know more, please sign up for the brubeck-dev mailing list. I will send out specifics shortly before the hangout.
Brubeck’s dev team is going to hang out tomorrow at 11am EST.
If you’d like to know more, please sign up for the brubeck-dev mailing list. I will send out specifics shortly before the hangout.
The first BrubeckNYC was tonight!
I had a really great time. We opened the meetup with an introduction to Gotham Workspace and then everyone in the room said a little about what they do and what their favorite band is. I said Dillinger Escape Plan. We heard people mention Foo Fighters and Radiohead and The Beatles and everyone basically had great taste!
After that, I dug into ListSurf and showed a functioning website along-side the code that runs it.
From there we dug into the basic components of Brubeck, discussed some of what makes it great, some of what makes it fall short from other systems, and broke apart the philosophy of Brubeck.
And we still have more to discuss!
We’re going to dive into gevent hard at the next meetup. I am SO looking forward to that. We’ll have all kinds of shnazzy examples and we’ll start explaining more about why Brubeck is the best way to build high performance websites in Python.
So a new meetup started a few days ago…
I added a LOT of documentation to Brubeck. Look at all those fancy new links on the left side of the page!
WSGI support is now part of the official branch with web sockets coming up next!
class DemoHandler(WebMessageHandler):
def get(self):
name = self.get_argument('name', 'dude')
self.set_body('Take five, %s!' % name)
return self.render()
config = {
'msg_conn': WSGIConnection(),
'handler_tuples': [(r'^/brubeck', DemoHandler)],
}
app = Brubeck(**config)
app.run()
$ ./demo_wsgi.py
INFO:root:Using coroutine library: gevent
Brubeck v0.3.9 online ]-----------------------------------
Serving on port 6767...
That’s it. You’re running. It’s using either gevent.wsgi or eventlet.wsgi so all the non-blocking goodness is still all there.
Y U NO USE MONGREL2?!
Thanks to Thomas Ballinger and Steven Ciraolo for writing most of the code. I can’t wait to see what they’re up to next.
The latest work is in the wsgi_support branch. There is a demo_wsgi.py, which doesn’t require Mongrel2 or ZeroMQ and, by default, starts on port 6767.
I will probably move it into master after we’ve done some more testing on it.
I must admit, I am a little bummed to include WSGI support when I believe Mongrel2 is the rightest way to do web serving, but I am happy to open Brubeck itself up to more people. I also hope they will give Mongrel2 consideration when deploying Brubeck in production environments.
On the other hand, I am happy to include another point that Brubeck is aware of, yet agnostic towards. If you have a different opinion on the web server from me, well, I guess we can accomodate that. It’s 50 lines of Python, in the new design, so whatever… I’m in!
It will surely be fun to compare WSGI vs ZMQ, now that we have something of a control on the rest of the framework. SCIENCE.
Edit: @jiaaro has pointed out that the wsgi_support still requires zmq to be installed by nature of how the imports work. Drat, I didn’t think of that. I will fix that before this branch is merged into master.
First draft of web sockets support in Brubeck is coming along nicely. I had four tabs all receiving plotting data simultaneously.
Great work so far, Fabio!
A. Jesse Jiryu Davis (@jessejiryudavis) from 10gen has blogged how to do a fully isolated install of Brubeck, including the components written in C, into a virtualenv.
This rocks. I will definitely start using this trick. I love the idea of having specific Mongrel2 versions as controllable as the rest of the Python environment.
I’m having a conversation with @kracetheking about the meaning of some commits in the middle of the code.
I love GitHub.
I updated the Brubeck contributors list. I’m honored to have had help from such great folks.
All rights reserved.