April 16th, 2001

No directory

The directory server's database didn't go up today as planned because kenny doesn't have enough disk space.

I need to order some new drives for it.

The plan was to run a replicated db on kenny, and use it for backups (who cares if it locks up for a few minutes, ya know?) and then also run the directory server off of it, so if it crashes it doesn't take down the whole site (which sucked back when we were using cartman for the directory search)

So, another few days, folks. :-/
amused, happy
  • mart

Using Jabber with LiveJournal

This was originally a reply to this post about instant messaging, but it grew in length and got other points in it, so I decided to make it a proper post.

I did some reading over at Jabber, and came across a thing which is still in development called Net::Jabber, which is a perl module for being a Jabber client. This would do the part where the lj account sends notifications and such to users.

However, the Net::Jabber module also does something else to do with the server. I didn't quite understand what it was, since it used some terminology I obviously missed when I was looking over some of the jabber tech documents, and when I tried to download it the server wouldn't answer me, but I'm hoping it will allow the jabber server to query the mySQL database to get user details. I'll have another go at finding out another time, or perhaps someone else can go and read and see if they catch what I missed!

Another thing I thought of was perhaps extending the Jabber protocol to do LiveJournally stuff: that is, LiveJournal protocol requests encapsulated in XML. That really depends on how much we can extend Jabber, and how difficult it will be. If it's going to be a big thing to do, it's probably not worth it.

I'd be interested to hear the views of others on using Jabber as:

  1. a notification mechanism (comment posted, new support request, new friends post...)
  2. an instant-message service where users become martmart@im.livejournal.com, bradfitz@im.livejournal.com etc.
  3. a slighly different way into the LiveJournal client-server protocol.

My initial idea of the implementation on the client-side is this: From the users' point of view, the more advanced clients (read: lj-win32 and loserjabber) would have the above integrated into them, or perhaps have a separate applet with them to do this stuff, so that the users won't know that jabber is behind it, they'll just get notification messages from the server and perhaps messages from other users. The users will be able to set whether or not they are visible to their friends, and the clients can tell the server whether they can do the IM bit, or if they just want notifications from lj sent to them (no messages from other users.) I know this isn't a very good description, but I don't want to start getting into the details of implementation until it's been discussed, and people have a chance to say what they think about this idea, and most importantly what brad feels about it. Those more in the know might also comment on what the current bandwidth usage is like, and what running a jabber server on LJ would do to that...

Oh, and thanks to Cryo for causing me to go off on this mad train of thought! :)

press your luck
  • colin


I was just checking out the popular intrests list, and I noticed this oddity:
Interest Count
music 18481
movies 10964
writing 8997
computers 8691
reading 8289
music 6162
art 5814
poetry 5594 ...

Anyone know what's up with that? Both link to the same thing.
  • Current Music

New server

We now have 6 servers online, 5 working. Bebe will be running when I get home.

Had a little downtime there because the ethernet cable wasn't plugged into the back of Kenny well and it fell out (!). Goddamn. :P

There's two Mac guys in here trying to get their Mac server working.... it's amusing listening to them talk. Heh.