Thoughts on live chat 
Filed under

interface

 

A Fix :-)

Alright, a while ago kevin write an erlang wrapper for libmemcache. As anyone who has used libmemcache is probably aware of, libmemcache does not fail gracefully. In fact it fails in a way that takes everything down in one blow.

Of course, it also rarely fails, unless the CPU load is very high, or there is a problem with your memcacheD servers.

In any case if the memcache servers failed, or timed out the Jabber server was breaking. This is similar to our problems with cmemcache on the RPC server side, where on occasion under high loads libmemcache will timeout and fail hard, taking the entire RPC server with it.

To mitigate these problems for the time being I replaced the libmemcache wrappers with python interface, http://www.lysator.liu.se/~tab/erlang/py_interface/. Currently python interface is just being used to interface between erlang and the memcache servers, to assure that memcacheD and high loads won’t take the jabber server down.

In the long run I want to look into http://code.google.com/p/cacherl/ and at least benchmark it against memcacheD.

Filed under  //   erlang   interface   memcached   python  

Comments [0]

Hab.la Yahoo UI (YUI) Take 2

A long time ago I demonstrated that you could wrap Hab.la in Yahoo UI. Well now you can wrap Hab.la in Yahoo UI, and have it look good at the same time.

The below example code is a complete hack, but uses an unmodified version of the main wc.js and a resizeable YUI panel to make a pretty nice Hab.la Window that you can drag around.

I don’t think it would be too hard to take this code, and wrap it up so that anyone could switch their Hab.la window over to the ‘cooler’ YUI version.

Hab.la + YUI == nice!

Filed under  //   css   hab.la   interface   javascript   style   user   yahoo   yui  

Comments [0]

The names of your visitors could appear on your buddylist

So, we have only confirmed that this feature works with adium, pidgin, and meebo. (All libpurple based chat clients).

However, it has worked consistently for us. If you want to play with this feature visit your website and type: /nick nickname into the chat box, the name of the buddy representing you on your buddylist should change from webuser### to nickname.

We are close to adding an interface element to let user’s specify this option on their own.

Filed under  //   buddylist   frontend   interface   jabber   javascript   nickname   roster   ui  

Comments [0]