# Tuesday, May 25, 2004

Clemens' talk was about managing state across multiple layers within a .NET application. His message was that there are many types or state and many approaches to dealing with it. It's not just about the ASP.NET session object! He covered a definitions of services, state and its types as well as how to manage state including transactions.

Statelessness doesn't really exist
Stateless doesn't really exist. Everything is stateful when it runs. Just because a component doesn't remember anything across calls doesn't mean there isn't a state penalty. Keeping information on the stack is a way of maintaining state.

Definition of services
A service is autonomous -lives and can be deployed by itself.

A service has its own store. It might be as system with 20 modules having 20 databases.

A service is not XML and SOAP. This is just one way of talking to services.

Services shouldn't share databases
One of the gems I picked up from the talk was that we shouldn't necessarily tightly couple everything at the database layer by putting it all in one place. Sometimes this is done for speed, but the benefit may disappear if you put it in a cluster.

Martin Fowler posted about this today:

The recent rise of Service Oriented Architecture seems to mean very different things to different people, but one plausible thread is a rise of autonomous applications with their own ApplicationDatabase that communicate through service interfaces - effectively replacing shared database integration with rpc or messaging based integration. I'm very sympathetic to this view, particularly favoring integration through messaging - which is why I encouraged the development of EIP. In this view of the world the integration database is no longer the default assumption.

What is state?
All the data an application needs to remember. It can be:

  • volatile (the stack manages volatile state)
  • transient (a stock ticker)
  • permanent.

Transient state may contain useful data
Clemens mentioned that transient data may contain useful data that is worth storing. An example is the contents of a shopping cart at an online store. Keeping this data can provide useful information about the behaviour of people on a site (how many don't complete an order?).

 

posted on Tuesday, May 25, 2004 6:19:14 PM (GMT Daylight Time, UTC+01:00)  #   
Related posts:
Office Server 2007: Can it help me write less code?
Server-side Excel: changing the face of financial apps?
Ray Ozzie: Services Disruption and the need for 'Client Server Service Synergy'
DDD3: Deadline for speaker submissions extended until Monday
DDD III on Sat 3 June: Call for Speakers!
I can see clearly now: NUnitAddin and NCoverBrowser
Tracked by:
"cheap phentermine" (cheap phentermine) [Trackback]
"viagra" (viagra) [Trackback]
"buy cialis" (buy cialis) [Trackback]
"fioricet" (fioricet) [Trackback]
"discount fioricet" (discount fioricet) [Trackback]
"buy cheap fioricet" (buy cheap fioricet) [Trackback]
"buy fioricet" (buy fioricet) [Trackback]
http:// [Trackback]
"cialis" (cialis) [Trackback]
"sesso gratis" (sesso gratis) [Trackback]
"tramadol 100 mg no prescription" (tramadol 100 mg no prescription) [Trackback]
"cheap fioricet" (cheap fioricet) [Trackback]
"foto sesso" (foto sesso) [Trackback]
"phentermine diet pills" (phentermine diet pills) [Trackback]
"tramadol" (tramadol) [Trackback]
"phentermine" (phentermine) [Trackback]
"tramadol hcl" (tramadol hcl) [Trackback]
"tramadol hcl" (tramadol hcl) [Trackback]
"cialis" (cialis) [Trackback]
"buy phentermine" (buy phentermine) [Trackback]
"buy fioricet" (buy fioricet) [Trackback]
"phentermine without prescription" (phentermine without prescription) [Trackback]
"phentermine without a prescription" (phentermine without a prescription) [Trackback]
"fioricet" (fioricet) [Trackback]
"fioricet without prescription" (fioricet without prescription) [Trackback]
"fioricet prescription online" (fioricet prescription online) [Trackback]
"cialis" (cialis) [Trackback]
"levitra online" (levitra online) [Trackback]
"viagra" (viagra) [Trackback]
"ricetta" (ricetta) [Trackback]
"gazzetta dello sport" (gazzetta dello sport) [Trackback]
"corriere dello sport" (corriere dello sport) [Trackback]
"sport" (sport) [Trackback]
"last minute offerta viaggi" (last minute offerta viaggi) [Trackback]
"offerta viaggi last minute" (offerta viaggi last minute) [Trackback]
"viaggi maldive" (viaggi maldive) [Trackback]
"biglietto invito" (biglietto invito) [Trackback]
"biglietto invito compleanno" (biglietto invito compleanno) [Trackback]
"biglietto aeri" (biglietto aeri) [Trackback]
"sfondi calcio" (sfondi calcio) [Trackback]
"giochi online calcio" (giochi online calcio) [Trackback]
"amore incontro" (amore incontro) [Trackback]
"calcio scommessa" (calcio scommessa) [Trackback]
"incontro sex" (incontro sex) [Trackback]
"incontro on line" (incontro on line) [Trackback]
"incontro italia" (incontro italia) [Trackback]
"incontro adulto" (incontro adulto) [Trackback]
"incontro donna veneto" (incontro donna veneto) [Trackback]
"annuncio incontro italia" (annuncio incontro italia) [Trackback]
"incontro sesso" (incontro sesso) [Trackback]
"estrazione del lotto" (estrazione del lotto) [Trackback]
"medicina naturale" (medicina naturale) [Trackback]
"sesso anale" (sesso anale) [Trackback]
"sesso gratis" (sesso gratis) [Trackback]
"sesso animale" (sesso animale) [Trackback]
"webcam sesso" (webcam sesso) [Trackback]
"sesso" (sesso) [Trackback]
"grossista articolo regalo" (grossista articolo regalo) [Trackback]
"prenotazione albergo" (prenotazione albergo) [Trackback]
"musica classifiche" (musica classifiche) [Trackback]
"spartito musica classica" (spartito musica classica) [Trackback]
"prenotazione albergo roma" (prenotazione albergo roma) [Trackback]
"software musica" (software musica) [Trackback]
"prenotazione hotel parigi" (prenotazione hotel parigi) [Trackback]
"prenotazione albergo parigi" (prenotazione albergo parigi) [Trackback]
"prestito personale" (prestito personale) [Trackback]
"prenotazione hotel" (prenotazione hotel) [Trackback]
"prestito visa carta" (prestito visa carta) [Trackback]
"prestito finanziamento" (prestito finanziamento) [Trackback]
"collezione prestito personale" (collezione prestito personale) [Trackback]
"prestito personali" (prestito personali) [Trackback]
"prestito mutuo" (prestito mutuo) [Trackback]
"prestito personale online" (prestito personale online) [Trackback]
"idea regalo mamma" (idea regalo mamma) [Trackback]
"incontro italia" (incontro italia) [Trackback]
"incontro adulto" (incontro adulto) [Trackback]
"albergo firenze" (albergo firenze) [Trackback]
"amore incontro" (amore incontro) [Trackback]
"yjhahpbm" (yjhahpbm) [Trackback]
"Home Insurance" (Home Insurance) [Trackback]
"Internet Casinos" (Internet Casinos) [Trackback]
"House Insurance" (House Insurance) [Trackback]
"Keno" (Keno) [Trackback]
"Home Owner Insurance" (Home Owner Insurance) [Trackback]
"Home Owner Insurence" (Home Owner Insurence) [Trackback]
"Homeowner Insurance" (Homeowner Insurance) [Trackback]
"Internet Roulette" (Internet Roulette) [Trackback]
"Insurance Homeowners" (Insurance Homeowners) [Trackback]
"better christian anal sex" (better christian anal sex) [Trackback]
"porn lesbian" (porn lesbian) [Trackback]
"no membership hardcore ebony girls" (no membership hardcore ebony girls) [Trackback]