You are previewing Getting Started with Hazelcast.
O'Reilly logo
Getting Started with Hazelcast

Book Description

Hazelcast is the leading open source in-memory data grid that will allow you to bring data scalability to your applications. This guide takes you through all the fundamentals in easily assimilated step-by-step chapters.

  • 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

  • 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.

    Table of Contents

    1. Getting Started with Hazelcast
      1. Table of Contents
      2. Getting Started with Hazelcast
      3. Credits
      4. About the Author
      5. About the Reviewers
        1. Support files, eBooks, discount offers, and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
        7. Trademarks
      8. 1. What is Hazelcast?
        1. Starting out as usual
        2. Data deciding to hang around
        3. Therein lies the problem
        4. Breaking the mould
        5. Moving to a new ground
        6. Summary
      9. 2. Getting off the Ground
        1. Let's get started
        2. Showing off straightaway
        3. Mapping back to the real world
        4. Sets, lists, and queues
        5. Many things at a time
        6. Searching and indexing
        7. What happens when we reach our limits?
        8. Summary
      10. 3. Going Concurrent
        1. Atomic control
        2. Distributed locking
          1. Tactical locking
        3. Transactionally rolling on
          1. Differences when queuing
          2. Enterprising onwards
          3. Collectively counting up
        4. Spreading the word
        5. Summary
      11. 4. Divide and Conquer
        1. Divvying up the data
        2. Backups everywhere and nowhere
        3. Scaling up the cluster
        4. Grouping and separating nodes
        5. Network partitioning
        6. Summary
      12. 5. Listening Out
        1. Listening to the goings-on
        2. The sound of our own data
          1. Keyless collections
        3. Programmatic configuration ahead of time
        4. Events unfolding in the wider world
        5. Moving data around the place
        6. Summary
      13. 6. Spreading the Load
        1. All power to the compute
          1. Giving up when tasks take too long
        2. Running once, running everywhere
        3. Placing tasks next to the data
          1. Self-updating results
        4. Summary
      14. 7. Typical Deployments
        1. All heap and nowhere to go
        2. Stepping back from the cluster
        3. Serialization and classes
        4. Lite cluster members
        5. Architectural overview
          1. Peer-to-peer cluster
          2. Clients and server cluster
          3. Hybrid cluster
        6. Summary
      15. 8. From the Outside Looking In
        1. What about the rest of us?
        2. Memcache
        3. Going RESTful
          1. Cluster status via REST
          2. REST resilience
        4. Summary
      16. 9. Going Global
        1. Getting setup in the cloud
        2. Under manual control
        3. Discovery – the Amazonian way
          1. Filtering the possibilities
          2. Spreading out around the globe
        4. Summary
      17. 10. Playing Well with Others
        1. Don't pass what you need, depend on it
          1. Simplifying collection access
        2. Transparently caching others' data
          1. Bring your own cluster
        3. Cacheable methods with the Spring cache
        4. Collection persistence
        5. Web session storage
        6. Management center
        7. Summary
      18. A. Configuration Summary
        1. XML configuration
        2. Programmatic configuration
      19. Index