Viewing Category: Google App Engine  [clear category selection]

Mach-II Runs on Google App Engine with Open BlueDragon


Those of you following the Open BlueDragon project know that there's some great work going on with OpenBD on Google App Engine. If you're not familiar with Google App Engine it's a really simple way to deploy applications written in either Python, Java, or now CFML, onto Google's cloud.

Dave Shuck recently contacted us and pointed out that due to some of the restrictions on Google App Engine, the "depends" attribute doesn't work. This is because up until now, the way "depends" worked was to inject methods into CFCs, write a modified version of the CFC to disk, and then instantiate the modified CFC from disk.

Since this was a no go on GAE, Peter looked into other ways of solving this problem. What he came up with is not only slick, but in the isolation test Peter created it garners a 9500% speed improvement (no, that's not a typo) over the old way of doing things. Note that "depends" only comes into play at load time, but shortening the load time in such a dramatic way means faster development for you. You can see details of the changes in ticket 456.

With the new "depends" functionality in place Mach-II 1.8 now runs great on Google App Engine with no changes to Mach-II itself, as you can see in Dave Shuck's test application on GAE.

Thanks to Dave for bringing this to our attention and for pushing the envelope with CFML on GAE. Having Mach-II running on GAE is fantastic, and the speed improvements it led to aren't bad either!

2 Comments  |  Announcements, Google App Engine, Mach-II 1.8  |  Send
Posted 11/21/09 @ 1:58 PM by Matt Woodward