On 8 December 2011 14:13, Marcelo Elias Del Valle - SYSMAP SOLUTIONS -
Claro MA-SP - <marcelo.va...@claro.com.br> wrote:

> Hello,
>
>        I am planning to use glib to write a C application server. I just
> like the library philosophy a lot and that’s why it is my first choice.
>        However, after searching the web for a while, I have found some
> critics, which I list bellow:
>
> - On Apache ARP project, they said they created it instead of using glib
> because the lack of IPC functions like memory mapping.
> - In some forums, people were complaining about the fact glib aborts when
> memory allocation fails, which is bad for a 24/7 running web server.
>

If you write applications which don't leak memory, then you probably won't
have any problem. Also if your web server fails because it consumes too
much memory, this also probably means that either your HW is not strong
enough to support your web server or your web server is leaking memory, and
in this last case having it fail and restarting it is IMHO quite a good
idea (much better code than trying to handle failed memory allocations).


>
>        I would like to know the opinion of those more experienced with
> glib. Do you recommend me to use it for writing a web server?
>

Please have a look at the LibSoup library, I've used it before for a small
embedded web server (in Libgda's console's tool) and it worked quite well,
but it really depends on what you want to do.

Regards,

Vivien
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to