11.3. Summary

In this chapter we've explored not only the mechanics of creating a compute server, but also some of the subtle issues that arise in building parallel applications. As we've seen, creating a replicated-worker application isn't as easy as just generating tasks, dropping them into a space, and letting workers compute them. Often we need to consider the granularity of the tasks as well as the resource constraints of the space in a shared environment.

The compute server application we developed in this chapter is simple, yet an interesting basis for further study and exploration. Much would need to be done to commercialize such a server, and there is much that you can learn from experimenting and extending the current server; the exercises ...

Get JavaSpaces™ Principles, Patterns, and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.