GOODS: catching a server disconnection and redundancy

Avi Bryant avi at beta4.com
Tue Oct 19 10:33:33 UTC 2004


On Oct 19, 2004, at 12:23 PM, Samuel Tardieu wrote:

> I have two questions concerning GOODS used from Squeak:
>
>   - how can I catch a server disconnection? (instead of having a popup
>     window)

Well, currently it raises a Warning, which you could catch, but that's 
not very specific.  Better would probably be to add a 
KKServerDisconnected notification that gets raised from 
KKConnection>>bye.

>   - is it possible to use redundant servers?

You'll want to look at the goodsrv documentation for that.  There are a 
couple of different ways to do replication, one of which involves a 
proxy that copies requests to multiple servers (and, IIRC, makes sure 
that their responses all match), another of which is some kind of 
master/slave configuration.  However, I think you may need a separate 
failover solution to get true redundancy.

Avi




More information about the Squeak-dev mailing list