Archive

Archive for the ‘Python’ Category

Amazon preannounces persistent storage for EC2

April 14th, 2008

I don’t know if this preannouncement comes as a result of all of the Google App Engine publicity, but here it is: Amazon Web Services Blog: Storage Space, The Final Frontier. In a nutshell: AWS now lets you create a storage volume of 1GB to 1TB that can be mounted in one EC2 instance and will persist beyond the lifetime of an EC2 instance. As an added bonus, you can have automatic snapshots of your volume plunked into S3.

They say that this storage is a low-latency, high-throughput block device. So, you can run all kinds of traditional software on top of it.

This will change the competitive outlook a bit between AWS and GAE a bit, because it makes it easier for people to use all of the software pieces that they’re used to when they use AWS to manage the hardware infrastructure. This means that it’s easier to take your existing apps and skills and get them up on AWS. GAE has a fight ahead in terms of getting people to write their apps differently… but the benefit to doing so is that you no longer think of hardware infrastructure at all.

Python, Software Development

App Engine: I agree with Ian Bicking the Luddite

April 9th, 2008

Isn’t quoting out of context great:

I hate computers.
[From Ian Bicking: App Engine: Commodity vs. Proprietary]

More seriously, though, in saying “I hate computers”, Ian is actually talking about the opposite of being a Luddite. He’s dreaming of a world in which much of computing just works in the background, so that we can spend our time doing more important and interesting things in the foreground.

I’m linking to Ian here because he’s said exactly what I have been thinking about App Engine: from a Python programming perspective the APIs are simple and clear. I can easily imagine a ZODB-based implementation of Google’s data store API. Just change your imports, and you can be off of Google’s infrastructure and on to your own.

Of course, for a great many people there won’t be any reason to be off of Google’s infrastructure. App Engine is just so darn easy. Amazon Web Services is impressive because it makes scalability affordable and available. App Engine interests me because, for its broad-but-still-limited set of use cases, it makes scalability a no brainer. “Build your app like this, and you never have to think of scaling” is a nice thought. I’ve been around enough to know that people using App Engine will still have to think of scaling some, but not nearly as much as with just about any other solution.

Back to the lock-in aspect, though. I still see App Engine as likely to be utterly unsuccessful with large businesses. That is, until a new Google Appliance comes out. I’ve been predicting such a beast since Google Docs was first introduced, and I think App Engine makes it all the more likely. I still believe that there will come a time when Google will sell boxes to big companies that those companies can toss into some racks on their networks and deploy App Engine apps locally, as well as run Google Docs on their private nets. Things will get even more interesting at that point.

You can bet that Amazon is studying App Engine closely and considering their own high-level service as I write this. From a developer’s perspective, this competition is going to be awesome.

Python, Software Development , ,

Google App Engine, not really an AWS competitor?

April 8th, 2008

It occurred to me just now that Google App Engine and Amazon Web Services are only barely in competition right now. If you want an infinite storage system like AWS S3 in App Engine, you need to code it yourself (ignoring the preview limits App Engine currently has). If you want to deploy apps as easily as you can with App Engine in AWS, you need a bunch of infrastructure that AWS does not provide.

I’m happy to see that App Engine’s datastore is transactional, unlike SimpleDB. I didn’t see anything in my skim of some docs about whether App Engine has eventual consistency or if you can immediately pull out data that you stuff in. My guess is that you can immediately pull out the data you shove in. This is a win over SimpleDB, in my opinion.

App Engine is just tons higher-level than AWS. Of course, you can host anything you want in AWS. But, by trading away a bunch of that flexibility, Google has made a service that allows people to build apps that scale well with a minimum of fuss.

Python, Software Development , , ,

Google App Engine - big apps for Python folks

April 8th, 2008

Google’s App Engine has been released. This is much cooler than just opening up BigTable for outside access (which is what TechCrunch reported over the weekend). One big difference between App Engine and Amazon Web Services is that the The Development Environment lets you build an app locally, including Google’s auth API and datastore. That’s very clever. You can build up an app completely and then deploy it when ready.

Or, in the case of the preview period, when you get an account… which, sadly, I didn’t. I rather wish there was a bit more information about when more developer slots will be opened. It would be a shame to create a cool app and have to sit on it for months. It would also be nice to know what pricing will look like, but given what they are giving away for free, I’m guessing it will not be unreasonable.

Overall, I’ve got to say that it looks like a great service on the surface.

Python, Software Development ,

Rumor: Google To Launch BigTable As Web Service

April 5th, 2008

Interesting rumor, and totally plausible. Just as Amazon has thought “why not make some money off of all of this great infrastructure we’ve built”, it looks like Google is going to do the same thing: Source: Google To Launch BigTable As Web Service

Google may be releasing BigTable, its internal database system, as a web service to compete with Amazon SimpleDB, according to a source with knowledge of the launch.

This will be one more non-traditional database among the many interesting choices that exist today.

Python, Software Development ,

InternetNews - Python Fans Take Aim at the Enterprise

April 4th, 2008

David Goodger, Michael Foord and I talk about Python’s enterpriseyness in InternetNews Realtime IT News – Python Fans Take Aim at the Enterprise

After years in the shadows, the open source Python programming language is becoming increasingly mainstream. There are more users and more tools. Backers of Python now argue that Python is ready for the enterprise.

Python

TurboGears Ultimate DVD now online, free at ShowMeDo

April 4th, 2008

In June 2006, I shipped the TurboGears Ultimate DVD, featuring several hours of useful screencast material for TurboGears programmers. I produced the DVD with TurboGears 0.9a6 (or so) code, but much of what is talked about there applies to TurboGears 1.0x users. A big thanks to Ian Oszvald and Kyran Dale for putting the effort into getting 2GB of material transcoded and online: TurboGears Ultimate DVD (TG v1.0) - video tutorials to learn turbogears, web_development, web_framework, python, javascript, web_application, cheeseshop, generic_function, JSON, metaclass, widget, API, sqlalchemy, cherrypy, sqlobject, WSGI

Python, TurboGears

MichiPUG meeting on Thursday, April 3

April 1st, 2008

The Michigan Python Users Group (MichiPUG) monthly meeting is coming up on Thursday, April 3.

We’ve got two exciting topics for this month’s meeting. The first part is Mark Ramm leading some discussion on documentation tools (including Sphinx). I roped Mark into this because I haven’t yet run Sphinx, but it looks great. He’ll also talk about Idiopidae which Zed Shaw and Mark were hacking on at PyCon.

I’ll also lead some discussion and experimentation with EasyExtend, Kay Schluehr’s tool for monkeying with Python’s syntax.

Should be a fun time, and I hope to see you there!

Python , , , ,

Psychotic: optimizing Python compiler

April 1st, 2008

An idea that I had at PyCon has finally come to fruition: introducing Psychotic, a pure Python optimizing compiler that achieves some pretty impressive results.

For a new project, Psychotic has a good deal of documentation. There’s also the introductory screencast, which is “lightning talk sized” (under 5 minutes).

There’s actually a fuller announcement over at the SitePen blog.

Python

Rich UI Webapps with TurboGears 2 and Dojo Screencast

March 31st, 2008

I have recorded a screencast of my PyCon 2008 talk and put the code for the demo app online. Check it out on the SitePen Blog » Rich UI Webapps with TurboGears 2 and Dojo Screencast.

Python, TurboGears , , ,