ntang (ntang) wrote,
ntang
ntang

  • Music:

Workin' it

Work's been interesting recently.

In the past week I've come up with new architectures for web-based instant messaging (Pager v2, incoming) and our whosonline functionality. I can't take full credit for either, of course, and I'm not the one doing the coding, but it's basically my design. It's pretty cool, and so far the preliminary tests are showing that the solution is probably 100x faster than the old solution that we canned, and on top of that it's more modular and much more scalable (which is related to both its modularity and its speed). Hell, it's even going to use less bandwidth, too.

A week or two ago the CTO pulled up Match.com's instant messaging client - which is basically just a really-fast auto-refreshing web browser window. They refresh every second or two. Our old web-based IM refreshed every 30 seconds or so and was still killing the boxes and very unreliable. We assumed they must be throwing huge amounts of resources at it.

Well, he did some digging, and supposedly the company that wrote it for them runs it on three webservers (and some back-end servers, I think). Or at least did initially; I'm not sure how much load those three webservers can take. At first, I didn't believe it. It had to be bullshit.

Well, hold on - maybe not. I thought about it, and then, you know what? I don't know if I figured out how they did it, but I'll tell you what - I figured out how we can do it, with similar amounts of resources and with similar responsiveness. The only real issue is just bandwidth, which we've managed to cut down to minimal levels. It's fast as fuck, though, and since it's all web-based will work through firewalls, and will work on any plain-jane browser without plugins or client installs, as long as the browser supports javascript.

It's pretty badass.

I then used the idea I came up with for Pager, and figured out how we could apply it to Whosonline (another tool of ours that shows you on every page which users are logged into the website currently). If you've played around on the Yahoo pages you've probably seen Yahoo usernames with a little face, either asleep or smiling, next to the usernames. That's basically what our whosonline is, the difference being that as far as I know we did it first - and if my idea works, we'll be doing it better, too.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments