Alright finally after a couple weeks of get bits an pieces of time to work on it I am going to share the proof of concept web server I have been hacking for fun. The original server was hacked up a long time ago which I have blogged about before called FAWPS. I was working on trying to make it a bit easier to use FAWPS and hopefully down the road provide enough framework to still have high performance WSGI async framework but still be easy to hack. Also I haven't been able to get in touch with the maintainer of FAWPS so I created a little project called Frisky. This is just the proof of concept that I am releasing. I created the src (src.hackingthought.com) to host a number of little code projects I have and can share assuming some one would like to see them. But also to run Frisky as a web server. It has been a blast to work on!
I think if you have some static files you need to server up or high performance Python web servering then give it a try. On my laptop it is getting thousands of requests/second with dynamic templates. With straight cached content (images, html) I am seeing around 4.5K req/sec. Blowing the doors off any other webserver I have tried with a scripting language. It uses FAWPS which in turn uses libevent http server.
One of the things I learned at the Google IO conference is that speed matters. If you have used dojo or other javascript framework in development and you are waiting for Rails or Python framework to load all the javascript files you know speed matters. So now I need to get WSGI frameworks hooked into it so I can use it for static file serving until I can get a high performance datastore.
0 comments:
Post a Comment