Re: Is libsoup for me?



Den 20-01-2019 kl. 19:33 skrev Biz.122 via libsoup-list:
Hello everyone,

I have a GTK application that I would like to implement a webui for. Naturally I came across libsoup, so I 
figured I might ask for your experiences first.

I took a look in the mailing list trying to identify any possible 'choke-points', which seems to indicate 
scalability. Now from what I understand, this shouldn't really be an issue in my case, right? My app is 
mostly going to serve one *user* at a time (perhaps two). Does this lib serve multiple connections 
simultaneously?

I'd like your experiences. If you have worked with this lib (the server part), what 'downsides' did you find 
(if any)?

If you have a relevant opensource project available online, do you mind referring me to it?


Hi,

I've used libsoup for ages for purposes like yours and haven't experienced big issues. It has been pointed out that scalability may be an issue due to the use of poll and not epoll.
I haven't had an amount of traffic where this has been a problem yet.

Regarding epoll:
There has been some work on having an event loop using epoll.
See https://gitlab.gnome.org/GNOME/glib/issues/693
"Pluggable event loop backends (epoll support)"

If you will be using cookies, you may experience a very small issue too:
https://gitlab.gnome.org/GNOME/libsoup/issues/110
"soup cookie warns about domain=NULL"

For the purpose you describe, I would not hesitate to use libsoup.

Best regards
Egon Andersen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]