Have you tried the distributed notification center??? It was designed to
allow applications notify each other in just such a case as this.
It would have to be done carefully:
- have to avoid an app posting a notif that triggers notifs from the other
apps
- need to make sure that the notif doesn't cause all the apps to pounce for
the same information.
b.bum
Eric Hermanson wrote:
> Can anyone recommend way(s) to syncrhonize the data-caches between
> multiple load-balanced instances sharing the same database? Load
> balancing in WebObjects is nice, but this feature combined with EOF's
> caching mechanism can be a potential nightmare!
>
> For instance, has anyone tried writing a cache-update D.O. notification
> server (or similar) for cases where data is modified in one WebObjects
> instance, and broadcast to other running instances? Or is restarting
> apps, invaliding objects, and setRefreshesFetchedObjects:YES the best
> way to handle cache synchronization?
>
> Eric