W3C home > Mailing lists > Public > www-ws@w3.org > October 2004

RE: Stateful Web Services...

From: David Orchard <dorchard@bea.com>
Date: Fri, 29 Oct 2004 11:25:53 -0700
Message-ID: <32D5845A745BFB429CBDBADA57CD41AF0B588950@ussjex01.amer.bea.com>
To: <www-ws@w3.org>

Stateless targets a particular style of interaction.  It's typically
- there's a small # of services with large #s of users
- the service doesn't really care whether the client calls back or not
- the state exchanged is fairly small
- the message exchange pattern is fairly low in volume (not multiple per
second invokes from a given client).

Arguably, stateless works for human kinds of interactions: lots of
people filling out shopping carts over the course of minutes.

If these, and other, kinds of constraints aren't true, then the service
will probably be stateful.  Almost all b2b and eai interactions and even
most shopping carts are stateful.

We can absolutely scale stateful or stateless.  My company makes
software that can do stateful invokes with a margin of error to
stateless invokes.  The argument that "stateful" can't scale has been
proven incorrect.

Stateful vs stateless is really a question of trade-offs of desired
properties that the service provider makes, and scale is not one of


> -----Original Message-----
> From: www-ws-request@w3.org [mailto:www-ws-request@w3.org] On Behalf
> Mark Baker
> Sent: Friday, October 29, 2004 11:14 AM
> To: Mullins, Chalon
> Cc: 'Savas Parastatidis'; www-ws@w3.org; Ian Foster; Carl Kesselman;
> Graham; Steve Tuecke
> Subject: Re: Stateful Web Services...
> On Fri, Oct 29, 2004 at 08:30:31AM -0700, Mullins, Chalon wrote:
> > You cannot scale large systems if you have to assume all state has
to be
> > transferred every time.
> Actually, the opposite is true.  The largest information systems we
> humans have built have been stateless.  The Web (at least the bulk of
> which doesn't use cookies) is perhaps the best example, but email
> be another one.
> See;
> _5_1_3
> Mark.
> --
> Mark Baker.   Ottawa, Ontario, CANADA.        http://www.markbaker.ca
Received on Friday, 29 October 2004 18:25:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:05:15 UTC