|
> From: Bartell, Aaron L. (TC) > > When a request comes into the "mother" I would > evaluate if the data they are requesting resides on the "mother" or if I > need to go to one of the remote "children" iSeries machines. Is the code the same on the mother as on the children? That is, would each be processing roughly the same kind of request? If so, you might want to consider data queues. Your "router" on the mother would simply send a request to the appropriate data queue, which would be processed by a server program. The router would wait for the response and then format it and send it back to the requester. Why is this a good architecture? Because on the iSeries you can create something called a "remote data queue". With this, an iSeries in Timbuktu can read from a data queue on your machine just as if it were local. That way, you write the code once to handle a data queue request, and distribute that code to all your nodes. You set up one data queue locally for "mother" requests, and one for each child. The children each attach to their respective remote queues. Then it's simply a matter of pushing the request onto the correct queue. Not only that, if for some reason you lose connection, the requests stay queued until the connection is re-established. This is the sort of thing the iSeries is really good at. Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.