Dear Evan
the idea for only running xmppdaemon.php on my tiny site is basically
yours, as far as i understood your mail here:
http://mail.laconi.ca/pipermail/laconica-dev/2009-June/001539.html

:-)

thanks for the hints concerning inboxes! now i did upgrade to
inboxes... finally! looks like i missed out something important in the
"Notice inboxes" section of
http://gitorious.org/laconica/mainline/blobs/master/README
RTFM, I know...
everything is really fast now, using little ressources:

# free -m
             total       used       free     shared    buffers     cached
Mem:           256        240         15          0          2         56
-/+ buffers/cache:        181         74
Swap:          511         22        489

Thanks a lot for your help!!!

and the asynchronicity of memcached is gone as well.


2009/7/18 Evan Prodromou <[email protected]>:
> Patrik Tschudin wrote:
>>
>> for saving RAM:
>> $config['queue']['enabled'] = false;
>>
>> for only showing local (my...) dents on homepage:
>> $config['public']['localonly'] = true;
>>
>> the only daemon running is xmppdaemon.php
>>
>
> I'm not sure how that's going to work, but I'll take your word that it does.
>>
>> mostly everything runs fine, but one thing I don't get:
>>
>> as RAM is scarce (256MB) I thought, memcached might help decrease load
>> on mysql and increase responsiveness.
>
> Memcached trades off performance in MySQL for RAM. It's probably not a good
> idea for saving RAM.
>>
>> http://io3.ch/patsch/all is not showing, what
>> is coming in as I see on the jabber client.
>>
>
> That's interesting. Obviously, identi.ca uses memcached and this doesn't
> happen. Whenever a new notice arrives, memcached is cleared for streams that
> would show that notice.
>>
>> When I am on http://io3.ch/patsch/all and enter a dent, it's inserted
>> on the top, as it should be. then I reload the page - and it is gone
>>
>
> It appears at the top of the page due to Ajax posting. It should be there
> when you reload, but I guess it's not.
>>
>> as for speed: with memcached http://io3.ch/patsch/all loads really
>> fast. with memcached disabled, it takes ages to load.
>>
>
> You've had your site around for a long time. Did you ever update to use
> inboxes? Using the old select format, especially with the big database you
> probably have now, is going to be murder for performance.
>
> -Evan
>
> --
> Evan Prodromou
> CEO, Control Yourself, Inc.
> [email protected] - http://identi.ca/evan - +1-514-554-3826
>
>
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to