You can't request more than 20 challenges without solving them. Your previous challenges were flushed.

Implementing time by expanding space in Web 2.0

September 14, 2007, 12:17 PM —  ITworld.com — 

Do not adjust your set. You have not stumbled into a science fiction or theoretical physics article, as the title might perhaps suggest. The topic of this article is - would you believe - URLs. URLs and time. URLs and space...Actually, the topic is really web 2.0.

Picture the scene. You have a website on which you publish stuff. The nature of the stuff doesn't really matter. The important thing is that there is stuff you want to publish today and there will be other stuff you want to publish tomorrow and the day after that...

Picture the scene. You have clients for your website that wish to consume your stuff. They want to consume the stuff you publish today. Tomorrow they will want to publish the stuff you publish tomorrow. Same for the day after...

Picture the scene. Your clients do not want to miss anything. They want it all. If they have something else to do for a while they want to go away and do it; return to your website and consume everything that happened when they were away. They do not want to miss anything. No gaps...

Picture the scene. Your clients tell you that they cannot take responsibility for polling adequately often to receive everything. Your boss tells you that you cannot afford the expense and infrastructure and all-round grief associated with running a full-on asynchronous messaging system with queues dedicated to storing the "feeds" for each client.

Picture the scene. You are pulling your hair out looking for a simple solution...What to do?

The essence of the problem is time. Time has a nasty habit of moving inexorably forward. It is as if time is a dimension we need to add into some websites so that as time "expands" forward, the website expands with it. Today's information goes up today. Tomorrow's information goes up tomorrow and overwrites the information from today...Hmmm....

Picture the scene. You set up a naming convention on your website that includes YYYY/MM/DD/HH/MM in your URLs. Every time you write to your website you always add but never overwrite anything. Your website just gets bigger and bigger. It expands as time expands. Now, if your clients need to go away for a few days but come back and pick up everything they missed in the interim, it is all up there. In a tidy series of date/time stamped "folders". No need to worry about RSS/Atom feeds that only hold a finite amount of history. No need for clients to poll frantically...

A simple but extremely effective approach to avoiding data exchange loss by trading time off against space. It is not a solution in all cases by any means but it is applicable in more scenarios than you might initially think.

ITworld.com

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace