Book Image

Distributed Computing in Java 9

Book Image

Distributed Computing in Java 9

Overview of this book

Distributed computing is the concept with which a bigger computation process is accomplished by splitting it into multiple smaller logical activities and performed by diverse systems, resulting in maximized performance in lower infrastructure investment. This book will teach you how to improve the performance of traditional applications through the usage of parallelism and optimized resource utilization in Java 9. After a brief introduction to the fundamentals of distributed and parallel computing, the book moves on to explain different ways of communicating with remote systems/objects in a distributed architecture. You will learn about asynchronous messaging with enterprise integration and related patterns, and how to handle large amount of data using HPC and implement distributed computing for databases. Moving on, it explains how to deploy distributed applications on different cloud platforms and self-contained application development. You will also learn about big data technologies and understand how they contribute to distributed computing. The book concludes with the detailed coverage of testing, debugging, troubleshooting, and security aspects of distributed applications so the programs you build are robust, efficient, and secure.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Customer Feedback
2
Communication between Distributed Applications
3
RMI, CORBA, and JavaSpaces

Distributed database setup methodologies


The process of setting up the distributed database environment involves a thorough analysis and design. A review of ongoing and future information maintenance should be made, if it needs a synchronous (information across all the nodes should be kept in sync all the time) or asynchronous (information is replicated at multiple nodes to make it available for other nodes, instead of accessing through the network when it is required) setup.

Once the analysis for a specific distributed database environment is made, the setup can be performed in one of the following ways:

  • Replication
  • Horizontal partitioning
  • Vertical partitioning
  • Hybrid setup

Replication

Replication is the mechanism through which a separate copy of the database instance is made to create the distributed database environment.

It is considered as an easy and minimum risk process as the information is copied from one instance to another without a logical separation. Also, each of the individual nodes...