Journal :: Ruby-On-Rails

Updated Blog, Broke Resume Nov 18, 2007 - 8:09 p.m.

Well, I finally sat down and did a serious overhaul of the old blog. I've moved all my django hosting onto slicehost which has been fantastic. I've got most things back up and running, did a big visual overhaul, and I broke my resume application.

Well, I "fixed" it, but there was data loss involved in that, so it will be coming back together slowly here.

I've been up to my ears in projects lately. I've been putting together some of the pieces for a new travel guide site crafty traveler, mostly dealing with how to do the GIS data parts of that. I've been having some problems getting all my GIS tool compiled on that box which is hosted at Joyent and runs solaris, but the joyent support has actually been really good and hopefully with a little bit more tweaking that will come together.

I've also been working on a golf social networking site, primarily building widgets running off of ruby on rails, that's been a struggle, but after a bunch of initial road blocks I've figured out how to do most things in rails. It's an incredibly complex system, and I'm not to sure why it has all that overhead, but it's good for me. The javascript widgets have totally thrown me for a loop, but I'm sure I can work that out.

anyway... busy :-D

Tags: | | |

The First Road Block Sep 23, 2007 - 1:05 p.m.

As most people around me know, I've been working pretty hard on disseminating the idea of using jabber as a backbone for a truly open social network, as well as attempting to build a set of libraries exposing a simple web api to provide for this.

The two web frameworks I'm most comfortable with are Ruby on Rails and Django (and PHP but I'm not ready to back down that road just yet). So I've been moving forward building some simple web applications in these frameworks, and in general I'm calling the project xmpp-psn short for Extensible Messaging and Presence Protocol - Portable Social Network (I know that's a terrible marketing name, and a mouthful, but I'm focussed on building the tools more than thinking up good names, if you have suggestions... email me!).

Well, Friday talking to Blaine Cook, he brought up a point I had yet to consider and lends itself to a rather tricky problem. I've been writing these tools as if they were there only entry point to the app, of course this means that in order to scale the app you have to put it on better and better hardware, in particular it means given the way that most web servers work (spawning a new instance of the ruby/python interpreter through fastcgi or mod_*) that it can't run on any multiprocess or threaded web server.

So what's the solution?

I think for now I'm going to ignore it. There are solutions that exist drb or dynamic ruby offers a messaging type solution (much like how erlang deals with concurrency) a solution for messaging through apache sessions that I've forgotten the link to and more. The problem with all of these is that the would require a) a lot of restructuring of code I already have written, and b) a lot of time spent thinking about how to do it. So, considering how small my target audience is at the moment, and that I'm more concerned with showing people what can be done, I'm just going to let it slide. Hopefully someone will come along and help me work out that kink when activity picks up.

Tags: | | | | |