Free Sample
+ Collection

Getting Started with Hazelcast

Mat Johns

Learn how to write rich, interactive web applications using HTML5 and CSS3 through real-world examples. In a world of proliferating platforms and devices, being able to create your own “go-anywhere” applications gives you a significant advantage.
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782167303
Paperback136 pages

About This Book

  • Understand how to revolutionize the way you share data across your application
  • A one-stop guide to this bleeding edge technology
  • Store objects into distributed collections

Who This Book Is For

This book is a great introduction for Java developers, software architects, or developers looking to enable scalable and agile data within their applications. You should have programming knowledge of Java and a general familiarity with concepts like data caching and clustering.

Table of Contents

Chapter 1: What is Hazelcast?
Starting out as usual
Data deciding to hang around
Therein lies the problem
Breaking the mould
Moving to a new ground
Chapter 2: Getting off the Ground
Let's get started
Showing off straightaway
Mapping back to the real world
Sets, lists, and queues
Many things at a time
Searching and indexing
What happens when we reach our limits?
Chapter 3: Going Concurrent
Atomic control
Distributed locking
Transactionally rolling on
Spreading the word
Chapter 4: Divide and Conquer
Divvying up the data
Backups everywhere and nowhere
Scaling up the cluster
Grouping and separating nodes
Network partitioning
Chapter 5: Listening Out
Listening to the goings-on
The sound of our own data
Programmatic configuration ahead of time
Events unfolding in the wider world
Moving data around the place
Chapter 6: Spreading the Load
All power to the compute
Running once, running everywhere
Placing tasks next to the data
Chapter 7: Typical Deployments
All heap and nowhere to go
Stepping back from the cluster
Serialization and classes
Lite cluster members
Architectural overview
Chapter 8: From the Outside Looking In
What about the rest of us?
Going RESTful
Chapter 9: Going Global
Getting setup in the cloud
Under manual control
Discovery – the Amazonian way
Chapter 10: Playing Well with Others
Don't pass what you need, depend on it
Transparently caching others' data
Cacheable methods with the Spring cache
Collection persistence
Web session storage
Management center

What You Will Learn

  • Store lots of types of data into different collections
  • Set up a Hazelcast cluster
  • Develop a cluster-wide mutex lock
  • Use a truly distributed messaging topic
  • Understand the trade-off for extra performance with data consistency
  • Listen in to cluster events
  • Run tasks within and across the cluster
  • Use the public cloud support to help you go global

In Detail

Applications have become increasing agile and dynamic, reacting to the demands of their users except at the data layer. Hazelcast offers a new and innovative approach to data scalability. Unlike many of its competitors, its in-memory counterparts distribution is built-in to the heart of the technology, allowing your app to stretch and scale at all layers as needed.

Getting Started with Hazelcast is a hands-on introductory text that guides you though learning about this innovative new technology. With plenty of practical examples and walkthroughs, you will be armed with all the knowledge required to start bringing data scalability to your applications.

Getting Started with Hazelcast looks at the issue of data scalability and how traditional approaches tend to work around the problem to reduce it, but not without new issues cropping up.

The book describes how Hazelcast offers a solution to this problem using practical examples to help you store distributed data quickly and safely. You will also learn about running tasks easily across the cluster, using support for public cloud infrastructure, and how to architect to make best use of the technology.


Read More

Recommended for You