It’s just data

Surviving Slashdot

I was able to survive a slashdotting yesterday.  The solution was simple:

Redirect /wiki/pie/Rss20AndAtom10Compared http://www.tbray.org/atom/RSS-and-Atom

The key issue wasn’t so much load as it was trolls.

My ability to do so, and so easily, speaks volumes about the power of the REST architecture.  Consider:

The foundation for most of this is rooted in the tantalizing phrase hypermedia as the engine of application state.  If one views a wiki as a state machine, then being able to do a redirect is effectively changing the programming of the application.

The fact that I was able to do all this with but a single line of code — and using only the protocols and products that were already installed — was of great value to me yesterday.  In fact, if one were predisposed to use such terms, I would go so far as to say it was of significant business value to me.

This is part of the reason for my continued skepticism when I hear claims that Indigo will be providing first class support for building REpresentational State Transfer (REST) web services.


Sam
Can you elaborate a little bit about your skepticism in Indigo supporting REST architectural style and your ability to handle slashdotting by adopting REST principles?  I am unable to see the connection.

Posted by Dilip at

Dilip: this deserves a longer answer.  I’ll work on that.  But for now, let me turn this around.  If my wiki were an application (complete with a SOAP interface), what would that interface likely look like?  And if I were to implement that with Indigo (or any web services stack, for that matter), how would I go about transparently implementing a redirect?

I hosted the first SoapBuilders meetings, I brought SOAP to Apache, was one of the core developers of Axis; and the answers aren’t clear to me.

Posted by Sam Ruby at

Dilip,

See Don’s post ([link]). It feels (and is probably) a marketing check box BECAUSE they are just talking about removing some restrictions on existing code in Indigo and say REST is supported. (Instead of a well thought out ground up proposal on how to support REST).

— dims

Posted by Davanum Srinivas at

Sam Ruby: Surviving Slashdot

“If one views a wiki as a state machine, then being able to do a redirect is effectively changing the programming of the application.”. Like I say, “Web services? You’re soaking in them!”...

Excerpt from del.icio.us/tag/rest at

Sam Ruby: Surviving Slashdot

“If one views a wiki as a state machine, then being able to do a redirect is effectively changing the programming of the application.”. Like I say, “Web services? You’re soaking in them!” (link) [del.icio.us/distobj]...

Excerpt from Web Things, by Mark Baker at

Sam Ruby's skepticism of Indigo

Sam Ruby: "The fact that I was able to do all this with but a single line of code — and using only the protocols and products that were already installed — was of great value to me yesterday. In......

Excerpt from Randy Holloway Unfiltered at

RSS and Atom

Now that Atom 1.0 is pretty much out, it’s useful to point to the comparison between RSS and Atom. I’m doing that here so I can easily find it again. (As an aside, Sam Ruby who hosts that wiki page was slashdotted and coped, his description is...

Excerpt from Bryan's Blog at

ReST, Web Services e Slashdotting

Sam Ruby: “If one views a wiki as a state machine, then being able to do a redirect is effectively changing the programming of the application.” O come sopravvivere a Slashdot con una riga di codice, e trarne illuminanti deduzioni sulla potenza di...

Excerpt from Ludo|Blog at

Linkorama : Surviving Slashdot - If one views a wiki as a state machine, then being able to do a redirect is effectively changing the programming of the application....

Excerpt from HotLinks - Level 1 at

links for 2005-07-21

Sam Ruby: Surviving Slashdot Sam survived a slashdotting by redirecting one page to Tim Bray’s site (tags: http web slashdotting load REST) Cacti: The Complete RRDTool-based Graphing Solution (tags: rrdtool networking monitoring trending)......

Excerpt from Full Speed at

Web Architecture Roundup

Some notes on recent activity by the web architecture regulars......

Excerpt from lesscode.org at

This isn’t a benefit of REST.  There’s no reason XMLRPC, or SOAP or any other web service technology can’t have a redirect mechanism.

What you’re seeing is a benefit of Apache and the fact that it’s Open Source.

The fact that you could add one line and do a killall -HUP apache is what you’re seeing.

Posted by Kevin A. Burton at

SOAP defines an abstract mechanism for faults, each of which contain a code, a string, and detail.  Given this, I certainly could invent a redirect interface for SOAP.  Now, what are the chances that any other two random, pre-existing services would implement this?

HTTP defines a specific set of status codes, associated with strings, and an arbitrary message body.  One of which is Found.  Support for this is pre-built into Apache.  It also seems to be implemented by every client.

The uniformity of interfaces also plays a factor.  As does the granularity of the interface (one endpoint in SOAP typically is bound to multiple ports).

The fact that Apache is open source has nothing to do with this, I could have done this with IIS.  Nor did I have to do a killall -HUP apache.  Nor could I, as it isn’t my machine.

Posted by Sam Ruby at

There’s no reason XMLRPC, or SOAP or any other web service technology can’t have a redirect mechanism.

And yet they don’t, and REST does.  Quick, my SOAP web service is being Slashdotted!  Let’s add a redirect mechanism to SOAP and get it interoperably deployed across the web in the next 10 minutes!

What you’re seeing is a benefit of Apache and the fact that it’s Open Source.

Wow, I had no idea that redirects were an Apache-specific feature.

Posted by Mark at

[link]...

Excerpt from del.icio.us/tag/rest at

Tips and tricks to get your site Slashdotted!

VirtuOffice : How To Get Slashdotted - "Some Experiments In Slashdottery. "If you’re really looking to participate in the Slashdot effect, you may be overlooking some really easy alternatives."Nicholas Roussos: How-To Get Slashdotted, The Easy Way...

Excerpt from HAIXIU BUZZ at

Tips to Get Slashdotted and Survive Slashdot Effect

What is the meant by getting Slashdotted? Did Slashdotters visit your site? If you dont know the answer, probably your site traffic has never been slashdotted before. Slashdotting is like a web traffic generator leads to many comments, lots of...

Excerpt from ProBlogger Guide at

Add your comment