Hi, I have an API service that using long polling/commet tehnique. I'm using apache-prefork+mod-php, that's just work. But I'm just realized, my solution resulted 15-20 mb of ram, per connection. Which is bad. I can use apache-mpm-worker as alternative, but I will look into another alternative in the first.
Now, I'm just realized, that mongoose is capable to act as long polling server, using multithread server (using pthread). 1. I have read that pthread library, need 5mb of ram per new thread. This is caused by glibc library that's bloated. But I'm just read it from googling. Is that right? 2. Can I use uclibc or musl-libc, compiled with monggose, to get tiny memory footprint per thread? 3. How I can set pthread stack size in monggose? Thanks. -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/d/optout.
