|
Re: Dynamic Clustering with Jini Technology
|
Posted: Feb 26, 2006 9:55 AM
|
|
> > Lastly whilst many a developer has a tendency toward > > software-only solutions, mixed software/hardware > solutions > > can often be cheaper, more effective and easier to > > maintain > > Hmm. That means actually 'no' for generic, software-based > clustering functionalities on JINI. Doesn't it?
If you were to create a software only solution, the fastest and easiest would be to use a transaction and a smart proxy to perform parallel writes to duplicate services, and to then distribute reads across multiple services in a load balanced way, failing to the next when one is not accessible.
This would be about 50-100 lines of code in a smart proxy for the simplest cases, and perhaps twice that many lines of code in a more complicated environment.
However, creating and validating the actions of the transaction participants would be the hard part. That is what Dan is refering to. In this day and age, persistent data on disk is the most commonly managed transactional state.
Making the hardware do the hard work, at the bit managed level, where it has no knowledge of the application, programming platform etc, is typically much cheaper, except when your developers work for free.
|
|