Re: Would the community be interested in these features?

Per Nyfelt <[email protected]>
Newsgroups gmane.comp.java.ozone.user
Organization Resourcing Networks
Message-ID <[email protected]>
Hi Tom,

I think nested transactions would be a nice add-on to Ozone.

Any chance you could post a patch to SourceForge patches section or 
alternately send it to me privately?

Best regards,
Per


måndag 26 april 2004 12:33 skrev [email protected]:
> Leo,
>
> Thanks for the reply. My mistake on the which list to sent to.
> Anyway. I agree that the last two features are not in keeping
> with how ozone works and that optional flags would be most
> fitting, assuming that folks are OK with the dirty read
> integrity problems.
>
> For nested transactions, I could make it an option. Not much
> code was changed. The one behavoiral change is that if a
> thread already has a transaction associated with it, the next
> tx.begin() will be nested and so on and so forth. For my
> project nested begin(s), rollback(s), and commit(s), with
> ozone interface architecture, fits quite nicely.
>
> - Tom
>
> ---- Original message ----
>
> >Date: Mon, 26 Apr 2004 11:08:25 +0200
> >From: Leo Mekenkamp <[email protected]>
> >Subject: Re: [Ozone-users] Would the community be interested
>
> in these features?
>
> >To: [email protected]
> >Cc: [email protected]
> >
> >On Mon, 2004-04-26 at 02:18, [email protected] wrote:
> >> Folks,
> >>
> >> Would the ozone community be interested in the following
> >> features (still being tested):
> >
> >This thread would be more on its place on the developers
>
> list, but I'll
>
> >reply anyway ;-)
> >
> >All comments IMHO...
> >
> >>    Major feature:
> >>     - Nested Transactions
> >
> >Nested external transactions would be an obvious plus, even
>
> for an
>
> >anti-external transaction zealot like me. Since this changes
>
> the API and
>
> >thus could break current working programs, this would have to
>
> be an
>
> >optional feature. Do you have a new constructor with a
>
> 'boolean nested'
>
> >parameter?
> >
> >>    Minor feature:
> >>     - Dirty reads (changes also increase read performance).
> >
> >What exactely do you mean with dirty reads? If you mean that a
> >write-locked object (lock by tx A) can be read-locked by another
> >transaction (tx B), where tx B would see the 'previous
>
> incarnation' or
>
> >'rolled-back version' of that object, then I would have to
>
> object (pun
>
> >intended), since this leads to data integrity problems and
>
> hard to trace
>
> >logic errors.
> >
> >>    Whatever feature:
> >>     - Explicit transactions throw an exception indicating that
> >>       the transaction would block.
> >>       Implicit transactions still block (in keeping with the
> >>       current behavior).
> >
> >Could be helpful in some exotic situations. Again, this would
>
> have to be
>
> >optional, since it changes the API. A 'boolean
>
> throwExceptionOnBlock'
>
> >parameter on a new constructor?
> >
> >Cheers,
> >Leo
> >
> >
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: The Robotic Monkeys at
>
> ThinkGeek
>
> >For a limited time only, get FREE Ground shipping on all
>
> orders of $35
>
> >or more. Hurry up and shop folks, this offer expires April 30th!
> >http://www.thinkgeek.com/freeshipping/?cpg=12297
> >_______________________________________________
> >Ozone-users mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/ozone-users
>
> -------------------------------------------------------
> This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
> For a limited time only, get FREE Ground shipping on all orders of $35
> or more. Hurry up and shop folks, this offer expires April 30th!
> http://www.thinkgeek.com/freeshipping/?cpg=12297
> _______________________________________________
> Ozone-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ozone-users


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
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.