H
H
helions82010-12-30 11:59:53
Debian
helions8, 2010-12-30 11:59:53

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

12 answer(s)
V
VBart, 2010-12-30
@helions8

CherryPy ? Both a framework and a web server in one bottle.

A
Alexander, 2010-12-30
@Awake

Cherokee with django is quite satisfied with such iron

A
Alexander, 2010-12-30
@akalend

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

N
Nutochka, 2010-12-30
@Nutochka

Maybe node.js? They say it's pretty light.

When idle, it eats 9mb. Under serious loads, it reaches 50.

X
XuMiX, 2010-12-30
@XuMiX

kohana? yii? fatfree.sourceforge.net/ ?

I
igrishaev, 2010-12-30
@igrishaev

tornado is a fast, lightweight non-blocking web server + python framework.

M
mihailt, 2010-12-30
@mihailt

docs.python.org/library/simplehttpserver.html ?

E
equand, 2010-12-30
@equand

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.

S
SMiX, 2010-12-31
@SMiX

Try Sinatra .

C
Co0l3r, 2010-12-31
@Co0l3r

node.js

S
SolarSoul, 2010-01-01
@SolarSoul

Tornado :) and framework and server.
About Tornado

I
icegreenberry, 2010-01-01
@icegreenberry

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 question

Ask a Question

731 491 924 answers to any question