Answer the question
In order to leave comments, you need to log in
Lightweight web framework with low memory consumption (specific hardware)
There is a home piece of hardware on ARM (30Mb RAM), on which Debian is installed. I would like to adapt it (except for file storage) for some simple tasks as a web server: perhaps a photo gallery, a small application for home accounting, maybe something else. The question is that there is very little RAM and some kind of lightweight web server is needed and what framework could be used? Or with such characteristics only lighttpd + php?
Answer the question
In order to leave comments, you need to log in
if there are problems with memory, then as options:
I would do everything pros.
1) I would put the nginx + scgi_module
implementation of scgi easier than a steamy turnip.
(I am writing a library for my framework)
2) I used libevent - there is already a built-in WEB server
, my program takes 600K in memory - against 100M from PHP
, you can use either cttp or GoogleTemplate as a template-engine (the syntax is better)
in general, not so the devil is terrible, how they paint him
Maybe node.js? They say it's pretty light.
When idle, it eats 9mb. Under serious loads, it reaches 50.
tornado is a fast, lightweight non-blocking web server + python framework.
gevent, runs on the libevent engine, make a wsgi callback interface and start the gevent.wsgi server.
everything is very simple and convenient
on 64 bits, such a process eats about 11 megabytes, but at 32 it will be sure to eat less.
You should like FatFree, a very lightweight and fast php framework.
I wrote an article about him: habrahabr.ru/blogs/webdev/103167/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question