Re: About instance's integrity.
Re: About instance's integrity.
- Subject: Re: About instance's integrity.
- From: Chuck Hill <email@hidden>
- Date: Sat, 22 Nov 2008 21:54:48 -0800
On Nov 22, 2008, at 9:37 PM, Guido Neitzer wrote:
On 22.11.2008, at 19:01, dododo2020 dododo2020 wrote:
My name is Ken. It is my first post to this list.
Welcome!
Yes, welcome!
I am considering to process multiple http requests by multiple
instances of WO app.
When I update some data in db from one instance,the changes can be
updated automatically for all the instances?
Or should I notify something to other instances of same app and
fetch fresh data manually?
I never had the need for a synchronizing tool. It might make your
life a bit easier in some places but might also add complexity and
sometimes problems (rarely with the ERXJGroupsSynchronizer I've
heard).
When I need fresh data from the db, I ask for it. I set the fetch
time lag to a couple of seconds and normally get fresh data for
everything where I need or want it automatically. Where I need to
make sure it's fresh, I refault objects or relationships and I'm
done with that too.
That has been my experience too. Using ERXJGroupsSynchronizer does
(well, I imagine it does) add some overhead to your applications.
Mike, the author, needed it for a highly collaborative application.
Whether ERXJGroupsSynchronizer or fetching fresh data is the best
solution really depends on the needs of your specific application.
Regardless of what you use, you need to anticipate and handle the
inevitable optimistic locking exceptions.
This situation can be occured when developing a site with multiple
instances and admin app for the site.
Yes, but it normally is less of a problem than most people realize.
Nevertheless. Follow Kieran's advice and get into Project Wonder. It
really helps building better applications faster.
Very solid advice.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden