Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
james_roberts
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
james_roberts
5y ago
The pure fastwsgi results there are insane! Are you running a single process? That's double the RPS that I've been getting on my machine.
2.
▲
by
james_roberts
5y ago
Awesome! That performs really well!
3.
▲
by
james_roberts
5y ago
Thanks! Yeah, I stumbled upon it while looking for ways to parse http requests. Turns out its awesome. I believe NodeJS uses it under the hood as well. Could be mistaken...
4.
▲
by
james_roberts
5y ago
Web Server Gateway Interface. Simply put, it is just a convention for forwarding requests to Python web applications. More info here: python.org/dev/peps/pep-0333/
5.
▲
by
james_roberts
5y ago
Will do! Thanks for the feedback
6.
▲
by
james_roberts
5y ago
Thanks so much for reporting a bug! You created the first issue for the project! I'll definitely have a look into this and push a fix
7.
▲
by
james_roberts
5y ago
Hey, thanks! Great job on Bjoern by the way! Yeah, I did get some inspiration from Bjoern for this project. Was also a learning project for me. I used this project to pick up C and learn a bit more about HTTP! Hoping to add a few more featu
8.
▲
by
james_roberts
5y ago
Thanks for the feedback! Yeah, some more "real world" benchmarks should be added. And yes, if you have some application that you've tried to optimize somewhat and haven't managed to get the desired performance you would
9.
▲
by
james_roberts
5y ago
Oops. This is a typo... should be WSGI apps. Not the uWSGI server
10.
▲
by
james_roberts
5y ago
Thanks for the advice! I'll try this out
11.
▲
by
james_roberts
5y ago
Thanks for the feedback! Will add it shortly
12.
▲
by
james_roberts
5y ago
Thanks for the feedback! Yeah, the benchmarks just highlight higher numbers in very simple tests. They should definitely be taken with a grain of salt. I can try add some more practical highlights.
13.
▲
by
james_roberts
5y ago
Yeah I don't have an optimal benchmarking setup currently. I have a 16-core CPU that I run everything off (server + benchmarks = not ideal). I've been working on adding multiprocessing to FastWSGI (only works on Linux at the momen
14.
▲
by
james_roberts
5y ago
Thanks, nice catch! I will update that.
15.
▲
by
james_roberts
5y ago
In theory, any framework that follows the WSGI guidelines should be able to run on top of FastWSGI and take advantage of its speed. There are many frameworks out there. I do intend to test out some more. For now I've only tested the po
16.
▲
by
james_roberts
5y ago
Thanks! I was quite surprised myself when I saw the numbers for the basic WSGI app. I'm still trying to figure out exactly why my server is so much faster than other servers out there... My guess is that I avoid calling Python as much
17.
▲
by
james_roberts
5y ago
I've been developing a Python extension, written in C, that provides users with an ultra-fast WSGI server that they can run their WSGI applications on (Flask, Django, uWSGI etc). I have also recently managed to get it working on multip
18.
▲
Show HN: FastWSGI, an ultra-fast WSGI server for Python
(github.com)
89 points
by
james_roberts
5y ago
|
54 comments