• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WHChangeNotification Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WHChangeNotification Question


  • Subject: Re: WHChangeNotification Question
  • From: Jean-François Veillette <email@hidden>
  • Date: Fri, 31 Mar 2006 14:23:15 -0500

Beware that the wonder implementation distribute changes snapshot and tries to apply them to the database cache.
Unfortunately, under load, you will realise that this is causing a deadlock.
I haven't got to the point where I was able to debug this strategy. Maybe you just need another lock somewhere in the eo stack to prevent the dead lock, I do not know at that point. Maybe someone can look at this.


Anyway, I started with wonder's code and used a different strategy that I had seen already and was talked numerously here on the mailing list, which is to publish globalID of changed eo (and not diffs), and simply invalidate eos based on those globalIDs at the subscriber's end.
We didn't have any locking problem since !


- jfv

Le 06-03-31, à 14:09, Ken Anderson a écrit :

No, not really. I personally really like how lightweight WHChangeNotification is. I'm using a modified version of it because I already have a pub/sub system that my apps are participating in. It really depends on your Wonder threshold :)

Ken

On Mar 31, 2006, at 2:02 PM, James Cicenia wrote:

Ok -

So you are saying that I *should* use the Wonder version instead? If so, is it stand alone, or, do I need ERX my classes etc.?

- James


On Mar 31, 2006, at 12:56 PM, Ken Anderson wrote:

James,

You need to configure it to know what instances you have, and what classes you want distributed.

I believe the version available uses direct connect, so you'll have to make sure that it's enabled.

There have been some concerns about issues with the direct connect transport mechanism... it's suggested that you use some other type of transport like JMS. I also believe that project wonder has something similar to WHChangeNotification that already uses JMS.

Ken

On Mar 31, 2006, at 12:28 PM, James Cicenia wrote:

Hello -

Now that we went multiple instances, we are having refresh problems and since this is a multi-user type application our customer are now complaining. Basically, changes in one instance are not reflected in the other.

So, I perused the list and found WHChangeNotification as the magic answer. I downloaded it, made it into a framework in Eclipse, and imported it, set the configurations carefully, and have uploaded it to dev for testing.

No change in behavior!

Is there a magic step I am missing?

Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


http://www.freeiPods.com/?r=21419063

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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


  • Follow-Ups:
    • Re: WHChangeNotification Question
      • From: James Cicenia <email@hidden>
References: 
 >WHChangeNotification Question (From: James Cicenia <email@hidden>)
 >Re: WHChangeNotification Question (From: Ken Anderson <email@hidden>)
 >Re: WHChangeNotification Question (From: James Cicenia <email@hidden>)
 >Re: WHChangeNotification Question (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: WHChangeNotification Question
  • Next by Date: Re: WHChangeNotification Question
  • Previous by thread: Re: WHChangeNotification Question
  • Next by thread: Re: WHChangeNotification Question
  • Index(es):
    • Date
    • Thread