Re: Preparations for a Vote

[email protected] (Rob Nagler)
Newsgroups perl.p5ee
Organization bivio Software Artisans, Inc. <http://www.bivio.biz>
Message-ID <[email protected]>
[email protected] writes:
> Although I disagree on sessions vehemently. How are you 
> to evolve to a 2-phase commit without them?

Any transaction monitor need resource registration and transaction
creation facilitities.  This is quite different from the concept of
P5EE sessions, which is a stateful bit bucket which resides outside a
particular transaction resource.

P5EE should initially rely on the database's transaction monitor and
expand as the problem space requires it.  In bOP, we have a simple
mechanism to register transaction resources with a request object,
which for now, does not implement two phase commit.  It is sufficient,
because transactions aren't distributed.  However we do need to be
able to rollback pending e-mail messages, locks, and other ephemeral
request resources should the request fail.

Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.