SYS-CON Events announced today that Objectivity, a leading provider of scalable database management solutions for mission-critical, real-time and distributed applications, has been named “Bronze Sponsor” of SYS-CON's 5th...| By Jon Udell | Article Rating: |
|
| December 29, 2008 03:10 PM EST | Reads: |
3,145 |
For over two weeks now, I’ve been running a service in the Azure cloud that aggregates calendar events from Eventful.com and from a diverse set of iCalendar feeds. My aim is to recreate and then extend my experimental elmcity.info community information hub, while exploring and documenting the evolution of Azure and the layered services emerging on top of it.
I haven’t written a whole lot about programming for a while, because I’ve trying to to explain the whys and wherefores of syndication-oriented communication to a wider audience. But as I build out this service I’m learning a lot about cloud-based software development in general, and about Azure in particular, and I want to narrate this work. I’ll try to do it in a way that will inform developers who currently use Microsoft tools and technologies, as well as those who don’t. But I’ll also try to be accessible to folks who don’t write software, yet would like to learn something about the opportunities that cloud computing is creating as well as the challenges it poses.
The service, as it currently exists, is running as an Azure worker role. That means it does input, processing, and output, but presents no user interface. The inputs are Eventful.com, accessed by way of its API, and a growing set of public iCalendar feeds. The processing involves reading calendar events and normalizing them to a common intermediate format. The output is currently XML to the Azure blob store, one file for Eventful and another for the iCalendar feeds.
I’m only allocating one instance of this worker process, and that’s probably enough horsepower for any single community’s events. But I’d like to be able to scale out the aggregator to serve other communities as well, potentially many others. Turning up the dial to do that would be a nice illustration — and test — of the cloud computing fabric.
The existing aggregator at elmcity.info is written in Python, and my original plan was to port it with minimal change to IronPython on Azure. That didn’t work out because, although bare-bones IronPython code runs on Azure as I show here, you quickly run into restrictions imposed by Azure’s security sandbox. The trust policy, defined here, is based on a feature of the .NET platform known as code access security (CAS).
When you upload code to the Azure cloud, or run it in the local development fabric, the hosting environment only partly trusts your code, and also only partly trusts any components used by your code. This is part of a layered, defense-in-depth security strategy, prudent for the same reason that it’s prudent to run your own computer as a partly-trusted user instead of an all-powerful administrator. It is also problematic for the same reason. A lot of Windows applications used to require administrative privilege in order to run properly, and some — though fewer month by month — still do. Similarly, a lot of .NET components that run happily in the fully-trusted environment of your local computer won’t run in Azure’s medium-trust environment, or (what’s nearly equivalent) in Internet Information Server 7 (IIS 7) when its security mode is set to medium trust.
I am no expert on the subject of code access security, but here’s what I think:
- The medium-trust policy is probably a good thing.
- It does, however, impede instant gratification when you’re mixing components from various sources.
- But that impedance will diminish as more component builders adopt the good practice of not making their components unnecessarily require full trust.
I think that IronPython is likely to become such a component, once the dust settles from the recent 2.0 release. (If you care about this issue, you can vote up its priority.) Meanwhile I’ve been working in C#, which has been a fascinating experience. On the one hand, I believe that dynamic languages like Python are excellent choice for agile development everywhere, and especially in the fluid environment of the cloud. On the other hand, I’m not a language bigot and have always appreciated the virtues of statically-typed languages.
My basic philosophy has always been to use a mix of best-of-breed tools in order to gain maximum leverage. The combination of IronPython and C#, on the .NET platform, is a really powerful one, for the same reason that the Jython/Java combo is. On this project, even though I am not yet deploying any code written in IronPython, I often use IronPython to test C# components that I’ve written or acquired.
Along the way, I’ve been recalling something IronPython’s creator, Jim Hugunin, said at the Professional Developers Conference back in October. Jim’s talk followed one by Anders Hejlsberg, the creator of C#. Anders showed an experimental future version of C# that makes use of the Dynamic Language Runtime which supports IronPython and IronRuby on .NET. The effect was to create an island of dynamic typing within C#’s otherwise statically-typed world. We all appreciated the delicious irony of a static type called ‘dynamic’.
Jim might have sounded a bit wistful when he said: “I’m not sure what a dynamic language is any more.” But I think this blurring of boundaries is a wonderful thing. Many smart people I deeply respect value the static typing of C#. Some of the same smart people, and many different ones, value the dynamic typing in languages like Ruby and Python. If I can leverage the union of what all of those smart people find valuable, I’ll happily do so.
I’ll have more to say about this project, and of course code to share, as things evolve. Meanwhile, though, I want to acknowledge Doug Day at DDay Software. When I switched from Python to C#, the key component I needed was an iCalendar module equivalent to MaxM’s excellent Python iCalendar module, which I’m using at elmcity.info. Doug’s DDay.iCal met the need. It’s a solid, cleanly-built, open source .NET component that enables code written in any of the .NET family of languages to parse, and generate, iCalendar (RFC 2445) files.
And now back to the project, which reminds me of the era at BYTE during which I got to build stuff while writing about what I was building. It’s great fun. And as John Leeke so eloquently says, it engages the mind, the hands, and the heart.
[This post appeared originally here and is republished by kind permission of the author, who retains full copyright.]
Published December 29, 2008 Reads 3,145
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Jon Udell
Jon Udell is an author, information architect, software developer, and new media innovator. His 1999 book, Practical Internet Groupware, helped lay the foundation for what we now call social software. Udell was formerly a software developer at Lotus, BYTE Magazine's executive editor and Web maven, and an independent consultant.A hands-on thinker, Udell's analysis of industry trends has always been informed by his own ongoing experiments with software, information architecture, and new media.From 2002 to 2006 he was InfoWorld's lead analyst, author of the weekly Strategic Developer column, and blogger-in-chief. During his InfoWorld tenure he also produced a series of screencasts and an audio show that continues as Interviews with Innovators on the Conversations Network.In January 2007, Udell joined Microsoft as a writer, speaker, and producer of another series of interviews: Perspectives. This show features projects in which Microsoft works with partners -- universities, governments, NGOs -- to develop new and socially impactful uses of its technology portfolio.
SYS-CON Events announced today that Objectivity, a leading provider of scalable database management solutions for mission-critical, real-time and distributed applications, has been named “Bronze Sponsor” of SYS-CON's 5th...Feb. 9, 2010 05:15 PM EST Reads: 228 |
By Krisandra Russo SYS-CON Events announced today that NetStar Systems, an IT and consulting provider supporting federal and private sectors, will exhibit at SYS-CON's 5th International Cloud Expo (www.CloudComputingExpo.com), which will t...Feb. 9, 2010 04:30 PM EST Reads: 332 |
By Liz McMillan SYS-CON Events announced today that Ping Identity, the leader in Internet Identity Security, will exhibit at SYS-CON's 5th International Cloud Expo, which will take place on April 19-21, 2010, at the Jacob Javits Convent...Feb. 8, 2010 06:45 PM EST Reads: 1,029 |
By Krisandra Russo Cloud Computing is receiving a lot of attention, and a number of companies see it as a key to increased agility and efficiency. The technology, however, is still at an early stage and many fundamental challenges need to ...Feb. 8, 2010 06:30 PM EST Reads: 1,657 |
By Pat Romanski What are some of the most important cloud platform strategies any IT executive should consider? The sooner you include these concepts into your cloud roadmap, the better. In his session at the 5th International Cloud Exp...Feb. 8, 2010 05:45 PM EST Reads: 844 |
- What is Cloud Computing?
- Cloud Computing Expo New York to Attract More Than 5,000 Delegates in New York City
- An Exclusive Interview with Oracle, Cloud Expo 2010 Diamond Sponsor
- The Importance of Abstraction in Cloud Computing
- Reality Check at the Cloud Expo
- An Exclusive Interview with Adaptivity, Cloud Expo 2010 Platinum Plus Sponsor
- View Cloud Expo Europe 2009 Keynote on SYS-CON.TV
- Microsoft’s First Step Toward Cloud Computing
- Virtualization Expo New York Call for Papers to Expire January 15, 2010
- Cloud Expo New York Call for Papers to Expire January 15, 2010
- Six Enterprise Megatrends to Watch in 2010
- Forget Defining Cloud Computing
- What is Cloud Computing?
- Cloud Expo New York Call for Papers Now Open
- Is Cloud Computing Like Teenage Sex?
- Commercial vs Federal Cloud Computing
- Cloud Computing Expo New York to Attract More Than 5,000 Delegates in New York City
- Publishing Synergy: Blog, Twitter and Ulitzer
- An Exclusive Interview with Oracle, Cloud Expo 2010 Diamond Sponsor
- An Interview with Federal CIO Nominee Vivek Kundra
- Ulitzer Names the World's 30 Most Influential Cloud Computing Bloggers
- The Importance of Abstraction in Cloud Computing
- Reality Check at the Cloud Expo
- An Exclusive Interview with Adaptivity, Cloud Expo 2010 Platinum Plus Sponsor
- The Top 150 Players in Cloud Computing
- Virtualization Conference Keynote Webcast Live on SYS-CON.TV
- What is Cloud Computing?
- The Top 250 Players in the Cloud Computing Ecosystem
- SOA 2 Point Oh No!
- Cloud Expo Europe 2009 in Prague: Themes & Topics
- IBM's Got Its Head in the Clouds
- Cloud Computing Expo 2009 West: Call for Papers Now Closed
- Red Hat Named "Platinum Sponsor" of Virtualization Conference & Expo
- As Google's SaaS Assault Begins, Move Over Microsoft Office?
- Twenty-One Experts Define Cloud Computing
- From Enterprise to Cloud, Virtualization Today on SYS-CON.TV









SYS-CON Events announced today that NetStar Systems, an IT and consulting provider supporting federal and private sectors, will exhibit at SYS-CON's 5th International Cloud Expo (www.CloudComputingExpo.com), which will t...
SYS-CON Events announced today that Ping Identity, the leader in Internet Identity Security, will exhibit at SYS-CON's 5th International Cloud Expo, which will take place on April 19-21, 2010, at the Jacob Javits Convent...
Cloud Computing is receiving a lot of attention, and a number of companies see it as a key to increased agility and efficiency. The technology, however, is still at an early stage and many fundamental challenges need to ...
What are some of the most important cloud platform strategies any IT executive should consider? The sooner you include these concepts into your cloud roadmap, the better. In his session at the 5th International Cloud Exp...
COLT, a European provider of business communications and managed services, today announced that the company has selected TIBCO's cloud software to provide organisations throughout Europe with the ability to deploy and manage enterprise applications across physical, virtual and cloud infrastructures ...
I published a link to my post "Choosing a SOA Consultant" in Ulitzer.
Ulitzer is a "new media" site.
The site provides a portal like page for every author. You can look at my page as an example.
Each article's page includes related articles. For example "Choosing a SOA Consultant" page incl...
The cloud crashes make major new stories. We've got two things occurring right now. We've got a massive move into the cloud. That was my first prediction. We have the cloud providers trying to scale up, and perhaps they’ve never scaled up to the levels that they are going to be expected to scale to ...
Frankly I’ve grown weary of the debates over the security of cloud computing. It’s not that I don’t appreciate that there are technical hurdles in front of us, but we have reached a point that a security vulnerability in a single offering, whether that offering is in the public or private cloud, res...









