May 22nd, 2003

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 22 07:09:28 UTC 2003

Modified Files:
---------------
livejournal/htdocs: update.bml

Log Message:
------------
whitaker added a $dbr to fix my bug of removing it, but the real fix
is to just remove the need for a $dbr entirely.

this also saves a db call.


To generate a diff of this commit:
cvs rdiff -r1.44 -r1.45 livejournal/htdocs/update.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/update.bml.diff?r1=1.44&r2=1.45
computer crap

livejournal

Module Name: livejournal
Committed By: whitaker
Date: Thu May 22 09:11:47 UTC 2003

Modified Files:
---------------
livejournal/bin: ljsysban.pl
livejournal/htdocs/admin: sysban.bml

Log Message:
------------
send proper procnotify signals on status change


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 livejournal/bin/ljsysban.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/ljsysban.pl.diff?r1=1.1&r2=1.2
cvs rdiff -r1.1 -r1.2 livejournal/htdocs/admin/sysban.bml
http://cvs.livejournal.org/browse.cgi/livejournal/htdocs/admin/sysban.bml.diff?r1=1.1&r2=1.2

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 22 10:40:30 UTC 2003

Modified Files:
---------------
livejournal/cgi-bin: ljlang.pl ljlib.pl
livejournal/cgi-bin/LJ: Cache.pm
Added Files:
------------
livejournal/bin: memcached.pl
livejournal/cgi-bin/LJ: MemCache.pm

Log Message:
------------
Distributed memory caching daemon and LJ APIs.

Only used for translation strings now, but that's not really the point
at all... just did it as a test. This can be used to cache huge things.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 livejournal/bin/memcached.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/memcached.pl.diff?r1=0&r2=1.1
cvs rdiff -r1.21 -r1.22 livejournal/cgi-bin/ljlang.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlang.pl.diff?r1=1.21&r2=1.22
cvs rdiff -r1.398 -r1.399 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.398&r2=1.399
cvs rdiff -r1.1 -r1.2 livejournal/cgi-bin/LJ/Cache.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/Cache.pm.diff?r1=1.1&r2=1.2
cvs rdiff -r0 -r1.1 livejournal/cgi-bin/LJ/MemCache.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/MemCache.pm.diff?r1=0&r2=1.1

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 22 14:37:14 UTC 2003

Modified Files:
---------------
livejournal/cgi-bin: ljlang.pl ljlib.pl
livejournal/cgi-bin/LJ: MemCache.pm

Log Message:
------------
more work on memcache and bucket selection


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 livejournal/cgi-bin/ljlang.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlang.pl.diff?r1=1.22&r2=1.23
cvs rdiff -r1.399 -r1.400 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.399&r2=1.400
cvs rdiff -r1.1 -r1.2 livejournal/cgi-bin/LJ/MemCache.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/MemCache.pm.diff?r1=1.1&r2=1.2

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 22 15:19:47 UTC 2003

Modified Files:
---------------
livejournal/bin: memcached.pl
livejournal/cgi-bin/LJ: Cache.pm MemCache.pm

Log Message:
------------
add flags support to LJ::Cache, and then use that with LJ::MemCache
API and memcached.pl to let LJ callers cache data structures and not
just scalars. (there's an 'S' flag for Storable-frozen objects, so
they're thawed automatically on return)

In the future, this flags support will be able to be used for async
compression of the memory stores too.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 livejournal/bin/memcached.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/memcached.pl.diff?r1=1.1&r2=1.2
cvs rdiff -r1.3 -r1.4 livejournal/cgi-bin/LJ/Cache.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/Cache.pm.diff?r1=1.3&r2=1.4
cvs rdiff -r1.2 -r1.3 livejournal/cgi-bin/LJ/MemCache.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/MemCache.pm.diff?r1=1.2&r2=1.3

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 22 15:45:57 UTC 2003

Modified Files:
---------------
livejournal/cgi-bin/LJ: MemCache.pm

Log Message:
------------
add API to fetch many items at once (forgot that earlier, but i made the
protocol support it)


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 livejournal/cgi-bin/LJ/MemCache.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/MemCache.pm.diff?r1=1.3&r2=1.4

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 22 16:58:50 UTC 2003

Modified Files:
---------------
livejournal/cgi-bin: ljlib.pl ljprotocol.pl
livejournal/cgi-bin/LJ: MemCache.pm

Log Message:
------------
Add MemCache support to get_logtext2 and protocol.checkfriends.

Also, totally cleaned up get_logtext2 and get_talktext2 for the
new style of DB usage. (that is, don't get_dbh() if you're not
going to use it.)


To generate a diff of this commit:
cvs rdiff -r1.400 -r1.401 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.400&r2=1.401
cvs rdiff -r1.177 -r1.178 livejournal/cgi-bin/ljprotocol.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.177&r2=1.178
cvs rdiff -r1.4 -r1.5 livejournal/cgi-bin/LJ/MemCache.pm
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/LJ/MemCache.pm.diff?r1=1.4&r2=1.5

livejournal

Module Name: livejournal
Committed By: bradfitz
Date: Thu May 22 20:21:55 UTC 2003

Added Files:
------------
livejournal/doc/raw: memcached-protocol.txt

Log Message:
------------
for evan, who I'm trying to sucker into writing a C version of
memcached for me. :-)


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 livejournal/doc/raw/memcached-protocol.txt
http://cvs.livejournal.org/browse.cgi/livejournal/doc/raw/memcached-protocol.txt.diff?r1=0&r2=1.1