recalbox / recalbox-manager

Django project to manage a Recalbox from a web interface
MIT License
14 stars 54 forks source link

Thought about a real web server in front of project #5

Closed sveetch closed 8 years ago

sveetch commented 9 years ago

Actually it is planned to use the Django runserver, but this is knowed as inefficient although it should work enough (this is not a public website, just a device web manager).

Problem is we have to preserve memory footprint, so Apache+fcgi is forbidden.

We should see in details about Gunicorn. Or in last solution, find the lightest simple web server to serve only static files.

sveetch commented 9 years ago

My bad, Gunicorn is not really recommended to be the final frontier, Using it with something like Nginx is recommended.

So the choice is limited to Nginx.. or Cherokee http://cherokee-project.com/doc/basics_why_cherokee.html

Seems it's very light in cpu/memory usage and highly efficient and does not require many libs to be builded. I think i should give it a try first.

sveetch commented 9 years ago

Nginx is allready package in "buildroot" so if needed, we can ask to recalbox team to enable it in a futur release.