On 10/3/07, Tiger Quimpo <[EMAIL PROTECTED]> wrote:
..
> I certainly haven't yet seen anything like your example
> previously where the transaction will rollback AND RETRY
> if the apache process dies or the database goes south.
>
> rollback isn't hard.  retry is definitely interesting
> though.


Coherence can handle the RETRY bit using what's known as an
EntryProcessor. This is a Java class which executes when an object is
placed in the data grid. If a node dies while in the process of
executing the EntryProcessor, the processor is guaranteed to be
re-issued (since Coherence provides reliable data object storage).

However, I was a bit dishonest there. Your EntryProcessor must be
designed to be IDEMPOTENT. Meaning if it runs again, it should produce
the same result. This can take a bit of thinking (and doing). But it's
by no means difficult.



> > I think that's even more dishonest than people like Intel or
> > Microsoft. At least Intel and Microsoft are honest about their
> > software.
>
> I'm not clear on who you mean is being dishonest there or what
> that someone is being dishonest about.

Microsoft and Intel are known to be closed-source.

Google and Yahoo make open-source noises but aren't really much more open!


> > Agreed. I used to roll creaky solutions right and left.
> > And at the time I thought I was being excessively clever.
>
> :-).  And having some amount of fun too, probably.  It's good to
> be doing that when young.  As you gain, ahh, experience, things
> change.  I don't think you have a baby yet, Orly, things change
> even more then :-).


I still have fun.  :-)

In my earlier email to Rogelio where I said I have better things to do
than get the wireless driver to work, I didn't mean something
corporate pointy-headed.

For me, family, sleep, hobbies, TV are more fun than trying to get the
wireless driver to work. Because these things are precious.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to