November 2018
Beginner to intermediate
260 pages
6h 12m
English
The IgniteCompute API enables us to execute jobs on a cluster; the ExecutorService implementation of Apache Ignite also allows us to execute jobs directly on cluster nodes. The ExecutorService considers the ignite nodes as threads and distributes jobs on the cluster. We'll launch two Ignite nodes (one server and our program) and submit 10 jobs to an executor. The following are the steps to distribute jobs using the ExecutorService API:
IgniteConfiguration cfg = new IgniteConfiguration(); cfg.setPeerClassLoadingEnabled(true); try (Ignite ignite = Ignition.start(cfg)) { ...Read now
Unlock full access