Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Getting Started with Hazelcast, Second Edition

You're reading from  Getting Started with Hazelcast, Second Edition

Product type Book
Published in Jul 2015
Publisher Packt
ISBN-13 9781785285332
Pages 162 pages
Edition 1st Edition
Languages
Author (1):
Matthew Johns Matthew Johns
Profile icon Matthew Johns

Table of Contents (19) Chapters

Getting Started with Hazelcast Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. What is Hazelcast? 2. Getting off the Ground 3. Going Concurrent 4. Divide and Conquer 5. Listening Out 6. Spreading the Load 7. Gathering Results 8. Typical Deployments 9. From the Outside Looking In 10. Going Global 11. Playing Well with Others Configuration Summary Index

Getting straight to the point


One historical issue with the client method of connecting to the cluster is that most operations require multiple hops to perform an action. This is because we only maintain a connection to a single node of the cluster and run all our operations through it. With more recent versions of Hazelcast, this issue has been addressed; clients have been made smarter. As the strategy of data partitioning is relatively simple and operates on a consistent hashing algorithm, this knowledge and awareness has been added to the clients, allowing them to route cluster operations directly to the node that owns the data being interacted with. For operations that are not key based and hence, don't have a nominal owner, LoadBalancer within the client will attempt to spread the load between the available member nodes; by default, this uses a round-robin strategy but is a configurable option within ClientConfig used to create the client.

However, these routing smarts might not work...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}