The Twilight Sun

Cooking up Dishes

by Jonathan C. on Aug.08, 2010, under Aspect, Web programming

I’ve just begun building the messaging model for Aspect, and I’m developing it as a separate, reusable Rack-based framework. It’s called Dishes, which is an extraordinarily lame pun derived from “asynchronous” sounding like it has a “sink” in it. So far things are looking good, but there’s a lot of work still ahead!

As it happens, I read up a little on BOSH, and it uses exactly the same two-connection model I described in my last post. It’s interesting reading and I’m sure to take a lot of inspiration from it. I don’t really want to adopt BOSH in its entirety because I think it’s way more than I need; Dishes is probably going to be fairly small.

Something cool I’m trying in Dishes is putting each request in its own Fiber. Since Aspect is going to be extremely I/O bound, it makes sense to re-invert the evented model using fibers to make handlers feel more synchronous. That will make it easier to use Dishes.

Anyways, that’s enough late-night rambling for tonight. When I have a simple working Dishes example, I’ll post again and explain how everything works. Meanwhile, you can always take a look at the current code. I even have a basic goal application to aim for.

Comments always welcome!
~Jonathan

:, , ,

4 Comments for this entry

  • lisbethae

    Miss you. All of this sounds so sophisticated. Go you!

  • Keendra

    Hey, your domain is seen in Buffy the Vampireslayer s04e17 (Superstar) a couple of times (I’m on a re-run) xD Surprised to see that it was open for a “civilian”.. (Img example; http://img.keendra.com/jonathan.png). But I guess Buffy is before you’re time, man I’m old..

  • kerex

    Good work.. Good writing.. admire what you are doing.. well done Jonathan.

  • scythos

    been scripting for kiddies on Achaea lately, some fun stuff happening with Mudlet and Lua.

    I’ve been writing a lot for Mudlet actually, and it kind of sucks because I’m more interested in Aspect.

    so, I decided to bring my server sketches back up and hit the pad of paper with my feet running.. I’d really like to develop my codebase somewhat side-by-side with Aspect.

    now is the time for great minds, hard work, and innovation :D

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...