SlideShare a Scribd company logo
Introducing Apache Geode and Spring Data GemFire
2© 2014 Pivotal Software, Inc. All rights reserved. 2© 2014 Pivotal Software, Inc. All rights reserved.
Introducing Apache Geode
with Spring Data GemFire
John Blum / Luke Shannon
24 June 2015
3© 2014 Pivotal Software, Inc. All rights reserved.
Agenda
 What is Apache Geode?
 Apache Geode Technical Specification
 High-level Implementation Details
 Spring Data GemFire
 Q&A
4© 2014 Pivotal Software, Inc. All rights reserved.
Pivotal GemFire
What is Apache Geode?
 In a nutshell…
– Open Source core of Pivotal GemFire
– Apache Incubator
▪ https://wiki.apache.org/incubator/GeodeProposal
5© 2014 Pivotal Software, Inc. All rights reserved.
What is Apache Geode?
One definition is…
A distributed, in-memory compute and data
management platform that elastically scales
to achieve high-throughput, low-latency
access to big, fast data in order to power
business critical, analytical applications in
real-time.
Nodes
Ops /
SecLinear scalability
Elastic capacity +/-
Latency optimized
data distribution
6© 2014 Pivotal Software, Inc. All rights reserved.
What is Apache Geode?
 Technically…
– Distributed, in-memory database (IMDG) with ACID properties
– Transactional Key/Value Store (Cache)
– Glorified-version of ConcurrentHashMap
– Message Bus with guaranteed message delivery
▪ Reliable, asynchronous event notifications
7© 2014 Pivotal Software, Inc. All rights reserved.
What Apache Geode Does?
 Enables new or existing Java applications to operate at cloud-scale
with predictable, low-latencies and be highly-available without
sacrificing consistency.
 Applications can transact and analyze Big Data in real-time to garner
insights and achieve meaningful and impactful business results.
Ap
p
Ap
p
Ap
p
Ap
p
8© 2014 Pivotal Software, Inc. All rights reserved.
Apache Geode Characteristics
 In-Memory
 Distributed
 Consistent
 Highly-Available / Fault Tolerant
 High-Throughput / Low, Predictable Latency
 High Scalability
 Data-aware Parallel Compute
9© 2014 Pivotal Software, Inc. All rights reserved.
How are Apache Geode’s features implemented?
10© 2014 Pivotal Software, Inc. All rights reserved.
Memory
 Geode stores data in memory…
– JVM Heap
– Off-Heap (Native Memory)
 Geode (optionally) stores data to disk
– Persistence + Overflow
11© 2014 Pivotal Software, Inc. All rights reserved.
Management
Memory
 Eviction (LRU)
 Expiration (Region & Entry TTL/TTI)
 Automatic resource management (critical & eviction Heap %)
 Region Compression (Snappy)
 JVM GC Tuning
12© 2014 Pivotal Software, Inc. All rights reserved.
IMDG
 An In-Memory Data Grid (IMDG), such as Apache Geode…
– Pools system resources across multiple nodes in a cluster to
manage both application state and behavior.
– Memory, CPU, Network and (optional) Disk
13© 2014 Pivotal Software, Inc. All rights reserved.
High-Throughput / Low-Latency
 Geode uses concurrent, in-memory data structures with a highly
optimized distribution infrastructure to minimize context switching and
contention.
– synchronous/asynchronous replication for high read throughput
– partitioning for both high read and write throughput
14© 2014 Pivotal Software, Inc. All rights reserved.
Shared-Nothing Disk Persistence Architecture
 Manages data in local disk files on each node in the cluster
independently from other nodes
– Members are self-sufficient; Members do not share memory or disk;
– Data/Transactions appended to Oplog files
– Compaction
 Design goals (all about In-Memory)…
– Minimize IO operations (Write-Behind vs. Write-Through)
– Minimize locking
– Minimize serialization
15© 2014 Pivotal Software, Inc. All rights reserved.
REPLICATE & PARTITION Regions
High Availability
 Data is partitioned across nodes in the cluster and distributed uniformly
– Rebalanced as nodes join/leave
– Redundant copies
16© 2014 Pivotal Software, Inc. All rights reserved.
Persistence – Shared Nothing
Server 3Server 2
Bucket 3
*primary*
Bucket 1
secondary
Bucket 3
secondary
Bucket 2
*primary*
Server 1
Bucket 2
secondary
Bucket 1
*primary*
17© 2014 Pivotal Software, Inc. All rights reserved.
Persistence – Shared Nothing
Server 1 Server 3Server 2
Bucket 2
secondary
Bucket 1
*primary*
Bucket 3
*primary*
Bucket 1
secondary
Bucket 3
secondary
Bucket 2
*primary*
What if a server
crashes?
18© 2014 Pivotal Software, Inc. All rights reserved.
Persistence – Shared Nothing
Server 1 Server 3Server 2
Bucket 2
secondary
Bucket 1
*primary*
Bucket 3
*primary*
Bucket 1
*primary*
Bucket 3
secondary
Bucket 2
*primary*
Bucket 2
secondary
Primary
Failover
Restore
Redundancy
Bucket 1
secondary
19© 2014 Pivotal Software, Inc. All rights reserved.
Network Partitions
20© 2014 Pivotal Software, Inc. All rights reserved.
Partition Regions
Configurable Consistency
 Redundant Copies
– 0 to 3
 Colocation
 Total Number of Buckets
– 113 (Default)
 Local Max Memory
– 90% of Heap
 Total Max Memory
– All Members, Both Primary/Secondary
Copies
21© 2014 Pivotal Software, Inc. All rights reserved.
REPLICATE vs. PARTITION
Configurable Consistency
 Partition Regions
– Updates routed through primary bucket
– Holds lock on key when distributing updates
 Replicate Regions
– Possible conflicts due to out-of-order updates
– Conflict checking (--concurrency-checks-enabled)
ReplicatedPartitioned Disabled
22© 2014 Pivotal Software, Inc. All rights reserved.
Apache Geode Topologies
23© 2014 Pivotal Software, Inc. All rights reserved.
Peer-to-Peer (P2P)
Apache Geode Topologies
 Configuration with the Cache embedded in the application process
– Close proximity of application logic and data
24© 2014 Pivotal Software, Inc. All rights reserved.
Client/Server
Apache Geode Topologies
 Single-Hop Data Access
 Continuously load balanced between
servers to get the best response-times
`
 Automatic fail-over when servers crash or
become unresponsive
25© 2014 Pivotal Software, Inc. All rights reserved.
WAN
Apache Geode Topologies
 Site-to-Site Replication for DR
26© 2014 Pivotal Software, Inc. All rights reserved.
Use Cases
Apache Geode
 Persistent OLTP/OLAP
– System of Record (SOR)
 Caching with JSR-107 (JCache) or Spring Cache Abstraction
 HTTP Session State Management
– Caching and Replication
 Distributed L2 Caching for Hibernate
 Memcached Server (Gemcached)
27© 2014 Pivotal Software, Inc. All rights reserved.
Additional Features
Apache Geode
 Functions
– Application logic is distributed, routed and run in parallel with close proximity to the data required by the
application.
 Serialization (PDX)
 Delta-propagation
– difference of new/old value
 JTA-compliant Transactions
 Security
– SSL, Auth
28© 2014 Pivotal Software, Inc. All rights reserved.
Roadmap
Apache Geode
 HDFS persistence
 Off-Heap storage
 Lucene search/indexing
 Spark integration
 Cloud Foundry service
29© 2014 Pivotal Software, Inc. All rights reserved.
Interface
Apache Geode
 Language Support
– Native: Java, C/C++, C#
– Non-native: JavaScript, Python,
Ruby, Scala, etc
 API
– Java HashMap (Region)
– OQL / Function
– Memcache client
– REST API
– Spring Data GemFire
 Data Structure
– User-defined Classes / POJOs
– Portable Data Exchange (PDX)
– Documents (JSON)
 Powerful Data Access
– Object Query Language (OQL)
– Data-aware, Scatter-Gather
Functions
– Publish/Scribe framework for RI/CQs
with reliable, async event queues
30© 2014 Pivotal Software, Inc. All rights reserved. 30© 2014 Pivotal Software, Inc. All rights reserved.
Spring Data GemFire
http://projects.spring.io/spring-data-gemfire/
31© 2014 Pivotal Software, Inc. All rights reserved.
So… Why Spring?
32© 2014 Pivotal Software, Inc. All rights reserved.
“Simple things should be simple;
complex things should be possible”
– Alan Kay
33© 2014 Pivotal Software, Inc. All rights reserved.
Spring Data GemFire (SDG)
Consistently applies Spring's powerful, non-invasive programming model
to simplify configuration and development with Apache Geode.
Spring Ecosystem Integration…
– Spring Cache Abstraction / Transaction Management
– Spring Data Commons + REST
– Spring Integration (Inbound/Outbound Channel Adapters)
– Spring XD (Input Source and Sinks)
34© 2014 Pivotal Software, Inc. All rights reserved.
Apache Geode combined with Spring Data GemFire
can be used as JSR-107 (JCache) caching provider
+ +
35© 2014 Pivotal Software, Inc. All rights reserved.
GRAILS
Full-stack, Web
XD
Stream, Taps, Jobs
BOOT
Bootable, Minimal, Ops-Ready
Big,
Fast,
Flexible
Data Web,
Integration,
Batch
WEB
Controllers, REST,
WebSocket
INTEGRATION
Channels, Adapters,
Filters, Transformers
BATCH
Jobs, Steps,
Readers, Writers
BIG DATA
Ingestion, Export,
Orchestration, Hadoop
DATA
NON-RELATIONALRELATIONAL
CORE
GROOVYFRAMEWORK SECURITY REACTOR
36© 2014 Pivotal Software, Inc. All rights reserved.
Use Cases / Configurations
Spring Data GemFire
 Apache Geode Configuration / Bootstrapping
– Replacement for cache.xml; Can be used with Cluster Configuration
 Application Peer (Cache)
 Application Client (ClientCache)
37© 2014 Pivotal Software, Inc. All rights reserved.
Examples…
SDG-based Configuration
38© 2014 Pivotal Software, Inc. All rights reserved.
with Spring
Bootstrapping Apache Geode
@SpringBootApplication
@ImportResource("/spring-data-gemfire-cache.xml")
@EnableGemfireRepositories
@EnableTransactionManagement
public class SampleDataGemFireApplication {
public static void main(String[] args) {
SpringApplication.run(SampleDataGemFireApplication.class, args);
}
}
Or…
gfsh>start server –name=Example … --spring-xml-location=“<classpath-to-spring-application-
context.xml>”
39© 2014 Pivotal Software, Inc. All rights reserved.
Basic (Region) Data Access
Data Access with Spring
@Repository
public class CustomerDao {
@Resource(name = “Example”)
private Region<?, ?> example;
…
}
Example…
40© 2014 Pivotal Software, Inc. All rights reserved.
GemfireTemplate
Data Access with Spring Data GemFire
 Advantages…
– Simple, Convenient Data Access (CRUD, OQL, Function)
– Protects developer from GemFire/Geode API changes
– Exception Translation into Spring DAO Exception Hierarchy
– Transaction Management
<bean name=“customersTemplate” class=“org.springframework.data.gemfire.GemfireTemplate”
p:region-ref=“Customers”>
41© 2014 Pivotal Software, Inc. All rights reserved.
GemfireRepository
Data Access with Repositories
public interface CustomerRepository extends GemfireRepository<Customer, Long> {
}
// Spring context.xml
<gfe-data:repositories base-package="org.example.app.customer.dao.repo">
<repo:include-filter type="assignable"
expression=”org.example.app.customer.dao.repo.CustomerRepository"/>
</gfe-data:repositories>
Example…
42© 2014 Pivotal Software, Inc. All rights reserved.
Implementation
Annotation-based Function Implementation/Execution
package org.example.app.functions;
import …
@Component
public class ExampleFunctions {
@GemfireFunction
public Customer update(…) {
…
}
…
}
Example…
(Optional)…
<bean class=“org.example….ExampleFunctions”/>
43© 2014 Pivotal Software, Inc. All rights reserved.
Execution
Annotation-based Function Implementation/Execution
package org.example.app.function.executions;
import …
@OnRegion(“Example”)
public interface ExampleFunctionExecution {
Customer update(…);
}
And…
<gfe:annotation-driven/>
<gfe-data:function-executions base-package="org.example.app.function.executions">
44© 2014 Pivotal Software, Inc. All rights reserved.
Execution
Annotation-based Function Implementation/Execution
 Additionally…
– @OnServer(s), @OnMember(s)
 Examples…
45© 2014 Pivotal Software, Inc. All rights reserved.
JSR-107 (JCache), Spring Cache Abstraction
Geode Caching Provider
 With @Cacheable
 And @CachePut, @CacheEvict(allEntries=[true|false]),
@CacheConfig
– http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#cache-jsr-107
 Or with JSR-107 using…
– @CacheResult, @CachePut, @CacheRemove, @CacheRemoveAll,
@CacheDefaults
46© 2014 Pivotal Software, Inc. All rights reserved. 46© 2014 Pivotal Software, Inc. All rights reserved.
Demo
By Luke Shannon
47© 2014 Pivotal Software, Inc. All rights reserved.
On the horizon…
48© 2014 Pivotal Software, Inc. All rights reserved.
Roadmap
Spring Data GemFire
 Support for GemFire 8.2 & 9.0
– HDFS, Off-Heap, Apache Lucene, Spark
 Support for pre-defined data sets using Snapshot Service
– SGG-408
 Expiration annotation support with CustomExpiry
– SGF-404
 Spring Session Adapter for GemFire/Geode
– SGF-373
49© 2014 Pivotal Software, Inc. All rights reserved.
Roadmap Continued…
Spring Data GemFire
 Repository Query method annotation extensions...
– SGF-392
public interface ExampleRepository implements GemfireRepository<Customer, Long> {
@Trace
@Limit(20)
@Import(“org.example.app.domain.SomeOtherType”)
List<Customer> findByLastname(String lastName);
}
50© 2014 Pivotal Software, Inc. All rights reserved.
Get Involved…
51© 2014 Pivotal Software, Inc. All rights reserved.
Apache Geode
Contribute
 In addition to developing Spring applications with Apache Geode, now is
a perfect time to get involved in the Apache Geode community and
contribute growing Apache project from the ground-up.
– Ways to participate…
http://geode.incubator.apache.org/contribute/
52© 2014 Pivotal Software, Inc. All rights reserved.
Finally…
53© 2014 Pivotal Software, Inc. All rights reserved.
Washington, DC – September 14 – 17, 2015
SpringOne2GX
 Early Bird price registration ends August 14th, Register Now!
– https://2015.event.springone2gx.com/register
 Building High-Scalable Spring Applications with Distributed In-Memory
Data Grids.
– Luke Shannon & John Blum
– Tuesday, September 15th, 2015
– https://2015.event.springone2gx.com/schedule/sessions/building_highly_scalable_spring_applications_with_in_m
emory_distributed_data_grids.html
54© 2014 Pivotal Software, Inc. All rights reserved.
References
 http://geode.incubator.apache.org/
 http://geode.incubator.apache.org/contribute/
 https://github.com/project-geode/docs/wiki
 https://github.com/apache/incubator-geode
 https://pivotal.io/big-data/pivotal-gemfire
 http://gemfire.docs.pivotal.io/latest/userguide/index.html#getting_started/topics/gemfire_overview.html
 http://gemfire.docs.pivotal.io/latest/javadocs/japi/index.html
 http://stackoverflow.com/questions/tagged/geode+or+gemfire
 http://projects.spring.io/spring-data-gemfire/
 http://docs.spring.io/spring-data-gemfire/docs/1.6.0.RELEASE/reference/html/
 http://docs.spring.io/spring-data-gemfire/docs/current/reference/html/
 http://docs.spring.io/spring-data-gemfire/docs/current/api/
 https://github.com/spring-projects/spring-data-gemfire
 https://github.com/spring-projects/spring-gemfire-examples
 http://stackoverflow.com/questions/tagged/spring-data-gemfire
55© 2014 Pivotal Software, Inc. All rights reserved. 55© 2014 Pivotal Software, Inc. All rights reserved.
Q&A
Any questions…
56© 2014 Pivotal Software, Inc. All rights reserved. 56© 2014 Pivotal Software, Inc. All rights reserved.
Thank you!

More Related Content

What's hot (20)

PDF
Slides for the Apache Geode Hands-on Meetup and Hackathon Announcement
VMware Tanzu
 
PDF
Scale Out Your Big Data Apps: The Latest on Pivotal GemFire and GemFire XD
VMware Tanzu
 
PPTX
ApexMeetup Geode - Talk1 2016-03-17
Apache Apex Organizer
 
PPTX
YARN Containerized Services: Fading The Lines Between On-Prem And Cloud
DataWorks Summit
 
PPTX
Geode Meetup Apachecon
upthewaterspout
 
PPTX
Running Enterprise Workloads in the Cloud
DataWorks Summit
 
PDF
Apache Geode Meetup, Cork, Ireland at CIT
Apache Geode
 
PDF
Apache Geode - The First Six Months
Anthony Baker
 
PDF
Beginner's Guide to High Availability for Postgres
EDB
 
PDF
What's New in Apache Hive
DataWorks Summit
 
PPTX
Database as a Service - Tutorial @ICDE 2010
DBIS @ Ilmenau University of Technology
 
PPTX
How to Design for Database High Availability
EDB
 
PPTX
HBase coprocessors, Uses, Abuses, Solutions
DataWorks Summit
 
PDF
CF Korea Meetup - Spring Cloud Services
Jay Lee
 
PDF
Build your first Internet of Things app today with Open Source
Apache Geode
 
PPTX
Hive 3 - a new horizon
Thejas Nair
 
PDF
Building Apps with Distributed In-Memory Computing Using Apache Geode
PivotalOpenSourceHub
 
PDF
Best Practices & Lessons Learned from Deployment of PostgreSQL
EDB
 
PPTX
OLTP+OLAP=HTAP
EDB
 
PDF
Apache Geode Meetup, London
Apache Geode
 
Slides for the Apache Geode Hands-on Meetup and Hackathon Announcement
VMware Tanzu
 
Scale Out Your Big Data Apps: The Latest on Pivotal GemFire and GemFire XD
VMware Tanzu
 
ApexMeetup Geode - Talk1 2016-03-17
Apache Apex Organizer
 
YARN Containerized Services: Fading The Lines Between On-Prem And Cloud
DataWorks Summit
 
Geode Meetup Apachecon
upthewaterspout
 
Running Enterprise Workloads in the Cloud
DataWorks Summit
 
Apache Geode Meetup, Cork, Ireland at CIT
Apache Geode
 
Apache Geode - The First Six Months
Anthony Baker
 
Beginner's Guide to High Availability for Postgres
EDB
 
What's New in Apache Hive
DataWorks Summit
 
Database as a Service - Tutorial @ICDE 2010
DBIS @ Ilmenau University of Technology
 
How to Design for Database High Availability
EDB
 
HBase coprocessors, Uses, Abuses, Solutions
DataWorks Summit
 
CF Korea Meetup - Spring Cloud Services
Jay Lee
 
Build your first Internet of Things app today with Open Source
Apache Geode
 
Hive 3 - a new horizon
Thejas Nair
 
Building Apps with Distributed In-Memory Computing Using Apache Geode
PivotalOpenSourceHub
 
Best Practices & Lessons Learned from Deployment of PostgreSQL
EDB
 
OLTP+OLAP=HTAP
EDB
 
Apache Geode Meetup, London
Apache Geode
 

Viewers also liked (20)

PDF
Using Apache Calcite for Enabling SQL and JDBC Access to Apache Geode and Oth...
Christian Tzolov
 
PPTX
Apache Geode で始める Spring Data Gemfire
Akihiro Kitada
 
PDF
Geode hands-on
Masaki Yamakawa
 
PPTX
Analytics in IoT
wesley Dias
 
PDF
More Than Websites: PHP And The Firehose @DataSift (2013)
Stuart Herbert
 
PDF
Apache conbigdata2015 christiantzolov-federated sql on hadoop and beyond- lev...
Christian Tzolov
 
KEY
Infinispan, Data Grids, NoSQL, Cloud Storage and JSR 347
Manik Surtani
 
PDF
JBoss Community Introduction
jbugkorea
 
PPTX
Архитектура Apache Ignite .NET
Mikhail Shcherbakov
 
PDF
Building Wall St Risk Systems with Apache Geode
Andre Langevin
 
PDF
Infinispan Servers: Beyond peer-to-peer data grids
Galder Zamarreño
 
PDF
Infinispan from POC to Production
C2B2 Consulting
 
PDF
Hacking Infinispan: the new open source data grid meets NoSQL
Codemotion
 
KEY
Infinspan: In-memory data grid meets NoSQL
Manik Surtani
 
PDF
Keeping Infinispan In Shape: Highly-Precise, Scalable Data Eviction
Galder Zamarreño
 
PPTX
Apache geode
Yogesh BG
 
PDF
Redis adaptor for Apache Geode
Swapnil Bawaskar
 
PDF
Introduction to Apache Geode (Cork, Ireland)
Anthony Baker
 
PPTX
Apache Geode Clubhouse - WAN-based Replication
PivotalOpenSourceHub
 
PDF
인메모리 클러스터링 아키텍처
Jaehong Cheon
 
Using Apache Calcite for Enabling SQL and JDBC Access to Apache Geode and Oth...
Christian Tzolov
 
Apache Geode で始める Spring Data Gemfire
Akihiro Kitada
 
Geode hands-on
Masaki Yamakawa
 
Analytics in IoT
wesley Dias
 
More Than Websites: PHP And The Firehose @DataSift (2013)
Stuart Herbert
 
Apache conbigdata2015 christiantzolov-federated sql on hadoop and beyond- lev...
Christian Tzolov
 
Infinispan, Data Grids, NoSQL, Cloud Storage and JSR 347
Manik Surtani
 
JBoss Community Introduction
jbugkorea
 
Архитектура Apache Ignite .NET
Mikhail Shcherbakov
 
Building Wall St Risk Systems with Apache Geode
Andre Langevin
 
Infinispan Servers: Beyond peer-to-peer data grids
Galder Zamarreño
 
Infinispan from POC to Production
C2B2 Consulting
 
Hacking Infinispan: the new open source data grid meets NoSQL
Codemotion
 
Infinspan: In-memory data grid meets NoSQL
Manik Surtani
 
Keeping Infinispan In Shape: Highly-Precise, Scalable Data Eviction
Galder Zamarreño
 
Apache geode
Yogesh BG
 
Redis adaptor for Apache Geode
Swapnil Bawaskar
 
Introduction to Apache Geode (Cork, Ireland)
Anthony Baker
 
Apache Geode Clubhouse - WAN-based Replication
PivotalOpenSourceHub
 
인메모리 클러스터링 아키텍처
Jaehong Cheon
 
Ad

Similar to Introducing Apache Geode and Spring Data GemFire (20)

PPTX
Building Highly Scalable Spring Applications using In-Memory Data Grids
John Blum
 
PPTX
Getting Started with Apache Geode
John Blum
 
PPTX
Open Sourcing GemFire - Apache Geode
Apache Geode
 
PDF
Pivotal's effort on Apache Geode
Apache Apex
 
PDF
Session State Caching with Spring
VMware Tanzu
 
PDF
Geode is Not a Cache, it's an Analytics Engine
VMware Tanzu
 
PDF
Implementing a highly scalable stock prediction system with R, Geode, SpringX...
William Markito Oliveira
 
PPTX
Spring Data and In-Memory Data Management in Action
John Blum
 
PPTX
Scaling Spring Boot Applications in Real-Time
VMware Tanzu
 
PPTX
Building a Stock Prediction system with Machine Learning using Geode, SpringX...
William Markito Oliveira
 
PPTX
#GeodeSummit - Spring Data GemFire API Current and Future
PivotalOpenSourceHub
 
PPTX
Simplifying Apache Geode with Spring Data
VMware Tanzu
 
PDF
5 Tips for Getting Started with Pivotal GemFire
VMware Tanzu
 
PPTX
Apache Geode (incubating) Introduction with Docker
William Markito Oliveira
 
PPTX
Geode introduction
Swapnil Bawaskar
 
PDF
Visualize and Analyze Apache Geode Real-time and Historical Metrics
VMware Tanzu
 
PDF
Visualize and Analyze Apache Geode Real-time and Historical Metrics with Grafana
Christian Tzolov
 
PPTX
Geode Performance Architecture for the Agile Enterprise Using Cloud Native API's
VMware Tanzu
 
PDF
Gemfire Introduction
VMware Tanzu Korea
 
PDF
Geode - Day 1
Swapnil Bawaskar
 
Building Highly Scalable Spring Applications using In-Memory Data Grids
John Blum
 
Getting Started with Apache Geode
John Blum
 
Open Sourcing GemFire - Apache Geode
Apache Geode
 
Pivotal's effort on Apache Geode
Apache Apex
 
Session State Caching with Spring
VMware Tanzu
 
Geode is Not a Cache, it's an Analytics Engine
VMware Tanzu
 
Implementing a highly scalable stock prediction system with R, Geode, SpringX...
William Markito Oliveira
 
Spring Data and In-Memory Data Management in Action
John Blum
 
Scaling Spring Boot Applications in Real-Time
VMware Tanzu
 
Building a Stock Prediction system with Machine Learning using Geode, SpringX...
William Markito Oliveira
 
#GeodeSummit - Spring Data GemFire API Current and Future
PivotalOpenSourceHub
 
Simplifying Apache Geode with Spring Data
VMware Tanzu
 
5 Tips for Getting Started with Pivotal GemFire
VMware Tanzu
 
Apache Geode (incubating) Introduction with Docker
William Markito Oliveira
 
Geode introduction
Swapnil Bawaskar
 
Visualize and Analyze Apache Geode Real-time and Historical Metrics
VMware Tanzu
 
Visualize and Analyze Apache Geode Real-time and Historical Metrics with Grafana
Christian Tzolov
 
Geode Performance Architecture for the Agile Enterprise Using Cloud Native API's
VMware Tanzu
 
Gemfire Introduction
VMware Tanzu Korea
 
Geode - Day 1
Swapnil Bawaskar
 
Ad

Recently uploaded (20)

PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PDF
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PPTX
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PDF
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
WSO2
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PPTX
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
PDF
Supporting the NextGen 911 Digital Transformation with FME
Safe Software
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Smarter Governance with AI: What Every Board Needs to Know
OnBoard
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
Enhancing Environmental Monitoring with Real-Time Data Integration: Leveragin...
Safe Software
 
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
Edge AI and Vision Alliance
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
Simplify Your FME Flow Setup: Fault-Tolerant Deployment Made Easy with Packer...
Safe Software
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
WSO2
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
Supporting the NextGen 911 Digital Transformation with FME
Safe Software
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 

Introducing Apache Geode and Spring Data GemFire

  • 2. 2© 2014 Pivotal Software, Inc. All rights reserved. 2© 2014 Pivotal Software, Inc. All rights reserved. Introducing Apache Geode with Spring Data GemFire John Blum / Luke Shannon 24 June 2015
  • 3. 3© 2014 Pivotal Software, Inc. All rights reserved. Agenda  What is Apache Geode?  Apache Geode Technical Specification  High-level Implementation Details  Spring Data GemFire  Q&A
  • 4. 4© 2014 Pivotal Software, Inc. All rights reserved. Pivotal GemFire What is Apache Geode?  In a nutshell… – Open Source core of Pivotal GemFire – Apache Incubator ▪ https://wiki.apache.org/incubator/GeodeProposal
  • 5. 5© 2014 Pivotal Software, Inc. All rights reserved. What is Apache Geode? One definition is… A distributed, in-memory compute and data management platform that elastically scales to achieve high-throughput, low-latency access to big, fast data in order to power business critical, analytical applications in real-time. Nodes Ops / SecLinear scalability Elastic capacity +/- Latency optimized data distribution
  • 6. 6© 2014 Pivotal Software, Inc. All rights reserved. What is Apache Geode?  Technically… – Distributed, in-memory database (IMDG) with ACID properties – Transactional Key/Value Store (Cache) – Glorified-version of ConcurrentHashMap – Message Bus with guaranteed message delivery ▪ Reliable, asynchronous event notifications
  • 7. 7© 2014 Pivotal Software, Inc. All rights reserved. What Apache Geode Does?  Enables new or existing Java applications to operate at cloud-scale with predictable, low-latencies and be highly-available without sacrificing consistency.  Applications can transact and analyze Big Data in real-time to garner insights and achieve meaningful and impactful business results. Ap p Ap p Ap p Ap p
  • 8. 8© 2014 Pivotal Software, Inc. All rights reserved. Apache Geode Characteristics  In-Memory  Distributed  Consistent  Highly-Available / Fault Tolerant  High-Throughput / Low, Predictable Latency  High Scalability  Data-aware Parallel Compute
  • 9. 9© 2014 Pivotal Software, Inc. All rights reserved. How are Apache Geode’s features implemented?
  • 10. 10© 2014 Pivotal Software, Inc. All rights reserved. Memory  Geode stores data in memory… – JVM Heap – Off-Heap (Native Memory)  Geode (optionally) stores data to disk – Persistence + Overflow
  • 11. 11© 2014 Pivotal Software, Inc. All rights reserved. Management Memory  Eviction (LRU)  Expiration (Region & Entry TTL/TTI)  Automatic resource management (critical & eviction Heap %)  Region Compression (Snappy)  JVM GC Tuning
  • 12. 12© 2014 Pivotal Software, Inc. All rights reserved. IMDG  An In-Memory Data Grid (IMDG), such as Apache Geode… – Pools system resources across multiple nodes in a cluster to manage both application state and behavior. – Memory, CPU, Network and (optional) Disk
  • 13. 13© 2014 Pivotal Software, Inc. All rights reserved. High-Throughput / Low-Latency  Geode uses concurrent, in-memory data structures with a highly optimized distribution infrastructure to minimize context switching and contention. – synchronous/asynchronous replication for high read throughput – partitioning for both high read and write throughput
  • 14. 14© 2014 Pivotal Software, Inc. All rights reserved. Shared-Nothing Disk Persistence Architecture  Manages data in local disk files on each node in the cluster independently from other nodes – Members are self-sufficient; Members do not share memory or disk; – Data/Transactions appended to Oplog files – Compaction  Design goals (all about In-Memory)… – Minimize IO operations (Write-Behind vs. Write-Through) – Minimize locking – Minimize serialization
  • 15. 15© 2014 Pivotal Software, Inc. All rights reserved. REPLICATE & PARTITION Regions High Availability  Data is partitioned across nodes in the cluster and distributed uniformly – Rebalanced as nodes join/leave – Redundant copies
  • 16. 16© 2014 Pivotal Software, Inc. All rights reserved. Persistence – Shared Nothing Server 3Server 2 Bucket 3 *primary* Bucket 1 secondary Bucket 3 secondary Bucket 2 *primary* Server 1 Bucket 2 secondary Bucket 1 *primary*
  • 17. 17© 2014 Pivotal Software, Inc. All rights reserved. Persistence – Shared Nothing Server 1 Server 3Server 2 Bucket 2 secondary Bucket 1 *primary* Bucket 3 *primary* Bucket 1 secondary Bucket 3 secondary Bucket 2 *primary* What if a server crashes?
  • 18. 18© 2014 Pivotal Software, Inc. All rights reserved. Persistence – Shared Nothing Server 1 Server 3Server 2 Bucket 2 secondary Bucket 1 *primary* Bucket 3 *primary* Bucket 1 *primary* Bucket 3 secondary Bucket 2 *primary* Bucket 2 secondary Primary Failover Restore Redundancy Bucket 1 secondary
  • 19. 19© 2014 Pivotal Software, Inc. All rights reserved. Network Partitions
  • 20. 20© 2014 Pivotal Software, Inc. All rights reserved. Partition Regions Configurable Consistency  Redundant Copies – 0 to 3  Colocation  Total Number of Buckets – 113 (Default)  Local Max Memory – 90% of Heap  Total Max Memory – All Members, Both Primary/Secondary Copies
  • 21. 21© 2014 Pivotal Software, Inc. All rights reserved. REPLICATE vs. PARTITION Configurable Consistency  Partition Regions – Updates routed through primary bucket – Holds lock on key when distributing updates  Replicate Regions – Possible conflicts due to out-of-order updates – Conflict checking (--concurrency-checks-enabled) ReplicatedPartitioned Disabled
  • 22. 22© 2014 Pivotal Software, Inc. All rights reserved. Apache Geode Topologies
  • 23. 23© 2014 Pivotal Software, Inc. All rights reserved. Peer-to-Peer (P2P) Apache Geode Topologies  Configuration with the Cache embedded in the application process – Close proximity of application logic and data
  • 24. 24© 2014 Pivotal Software, Inc. All rights reserved. Client/Server Apache Geode Topologies  Single-Hop Data Access  Continuously load balanced between servers to get the best response-times `  Automatic fail-over when servers crash or become unresponsive
  • 25. 25© 2014 Pivotal Software, Inc. All rights reserved. WAN Apache Geode Topologies  Site-to-Site Replication for DR
  • 26. 26© 2014 Pivotal Software, Inc. All rights reserved. Use Cases Apache Geode  Persistent OLTP/OLAP – System of Record (SOR)  Caching with JSR-107 (JCache) or Spring Cache Abstraction  HTTP Session State Management – Caching and Replication  Distributed L2 Caching for Hibernate  Memcached Server (Gemcached)
  • 27. 27© 2014 Pivotal Software, Inc. All rights reserved. Additional Features Apache Geode  Functions – Application logic is distributed, routed and run in parallel with close proximity to the data required by the application.  Serialization (PDX)  Delta-propagation – difference of new/old value  JTA-compliant Transactions  Security – SSL, Auth
  • 28. 28© 2014 Pivotal Software, Inc. All rights reserved. Roadmap Apache Geode  HDFS persistence  Off-Heap storage  Lucene search/indexing  Spark integration  Cloud Foundry service
  • 29. 29© 2014 Pivotal Software, Inc. All rights reserved. Interface Apache Geode  Language Support – Native: Java, C/C++, C# – Non-native: JavaScript, Python, Ruby, Scala, etc  API – Java HashMap (Region) – OQL / Function – Memcache client – REST API – Spring Data GemFire  Data Structure – User-defined Classes / POJOs – Portable Data Exchange (PDX) – Documents (JSON)  Powerful Data Access – Object Query Language (OQL) – Data-aware, Scatter-Gather Functions – Publish/Scribe framework for RI/CQs with reliable, async event queues
  • 30. 30© 2014 Pivotal Software, Inc. All rights reserved. 30© 2014 Pivotal Software, Inc. All rights reserved. Spring Data GemFire http://projects.spring.io/spring-data-gemfire/
  • 31. 31© 2014 Pivotal Software, Inc. All rights reserved. So… Why Spring?
  • 32. 32© 2014 Pivotal Software, Inc. All rights reserved. “Simple things should be simple; complex things should be possible” – Alan Kay
  • 33. 33© 2014 Pivotal Software, Inc. All rights reserved. Spring Data GemFire (SDG) Consistently applies Spring's powerful, non-invasive programming model to simplify configuration and development with Apache Geode. Spring Ecosystem Integration… – Spring Cache Abstraction / Transaction Management – Spring Data Commons + REST – Spring Integration (Inbound/Outbound Channel Adapters) – Spring XD (Input Source and Sinks)
  • 34. 34© 2014 Pivotal Software, Inc. All rights reserved. Apache Geode combined with Spring Data GemFire can be used as JSR-107 (JCache) caching provider + +
  • 35. 35© 2014 Pivotal Software, Inc. All rights reserved. GRAILS Full-stack, Web XD Stream, Taps, Jobs BOOT Bootable, Minimal, Ops-Ready Big, Fast, Flexible Data Web, Integration, Batch WEB Controllers, REST, WebSocket INTEGRATION Channels, Adapters, Filters, Transformers BATCH Jobs, Steps, Readers, Writers BIG DATA Ingestion, Export, Orchestration, Hadoop DATA NON-RELATIONALRELATIONAL CORE GROOVYFRAMEWORK SECURITY REACTOR
  • 36. 36© 2014 Pivotal Software, Inc. All rights reserved. Use Cases / Configurations Spring Data GemFire  Apache Geode Configuration / Bootstrapping – Replacement for cache.xml; Can be used with Cluster Configuration  Application Peer (Cache)  Application Client (ClientCache)
  • 37. 37© 2014 Pivotal Software, Inc. All rights reserved. Examples… SDG-based Configuration
  • 38. 38© 2014 Pivotal Software, Inc. All rights reserved. with Spring Bootstrapping Apache Geode @SpringBootApplication @ImportResource("/spring-data-gemfire-cache.xml") @EnableGemfireRepositories @EnableTransactionManagement public class SampleDataGemFireApplication { public static void main(String[] args) { SpringApplication.run(SampleDataGemFireApplication.class, args); } } Or… gfsh>start server –name=Example … --spring-xml-location=“<classpath-to-spring-application- context.xml>”
  • 39. 39© 2014 Pivotal Software, Inc. All rights reserved. Basic (Region) Data Access Data Access with Spring @Repository public class CustomerDao { @Resource(name = “Example”) private Region<?, ?> example; … } Example…
  • 40. 40© 2014 Pivotal Software, Inc. All rights reserved. GemfireTemplate Data Access with Spring Data GemFire  Advantages… – Simple, Convenient Data Access (CRUD, OQL, Function) – Protects developer from GemFire/Geode API changes – Exception Translation into Spring DAO Exception Hierarchy – Transaction Management <bean name=“customersTemplate” class=“org.springframework.data.gemfire.GemfireTemplate” p:region-ref=“Customers”>
  • 41. 41© 2014 Pivotal Software, Inc. All rights reserved. GemfireRepository Data Access with Repositories public interface CustomerRepository extends GemfireRepository<Customer, Long> { } // Spring context.xml <gfe-data:repositories base-package="org.example.app.customer.dao.repo"> <repo:include-filter type="assignable" expression=”org.example.app.customer.dao.repo.CustomerRepository"/> </gfe-data:repositories> Example…
  • 42. 42© 2014 Pivotal Software, Inc. All rights reserved. Implementation Annotation-based Function Implementation/Execution package org.example.app.functions; import … @Component public class ExampleFunctions { @GemfireFunction public Customer update(…) { … } … } Example… (Optional)… <bean class=“org.example….ExampleFunctions”/>
  • 43. 43© 2014 Pivotal Software, Inc. All rights reserved. Execution Annotation-based Function Implementation/Execution package org.example.app.function.executions; import … @OnRegion(“Example”) public interface ExampleFunctionExecution { Customer update(…); } And… <gfe:annotation-driven/> <gfe-data:function-executions base-package="org.example.app.function.executions">
  • 44. 44© 2014 Pivotal Software, Inc. All rights reserved. Execution Annotation-based Function Implementation/Execution  Additionally… – @OnServer(s), @OnMember(s)  Examples…
  • 45. 45© 2014 Pivotal Software, Inc. All rights reserved. JSR-107 (JCache), Spring Cache Abstraction Geode Caching Provider  With @Cacheable  And @CachePut, @CacheEvict(allEntries=[true|false]), @CacheConfig – http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#cache-jsr-107  Or with JSR-107 using… – @CacheResult, @CachePut, @CacheRemove, @CacheRemoveAll, @CacheDefaults
  • 46. 46© 2014 Pivotal Software, Inc. All rights reserved. 46© 2014 Pivotal Software, Inc. All rights reserved. Demo By Luke Shannon
  • 47. 47© 2014 Pivotal Software, Inc. All rights reserved. On the horizon…
  • 48. 48© 2014 Pivotal Software, Inc. All rights reserved. Roadmap Spring Data GemFire  Support for GemFire 8.2 & 9.0 – HDFS, Off-Heap, Apache Lucene, Spark  Support for pre-defined data sets using Snapshot Service – SGG-408  Expiration annotation support with CustomExpiry – SGF-404  Spring Session Adapter for GemFire/Geode – SGF-373
  • 49. 49© 2014 Pivotal Software, Inc. All rights reserved. Roadmap Continued… Spring Data GemFire  Repository Query method annotation extensions... – SGF-392 public interface ExampleRepository implements GemfireRepository<Customer, Long> { @Trace @Limit(20) @Import(“org.example.app.domain.SomeOtherType”) List<Customer> findByLastname(String lastName); }
  • 50. 50© 2014 Pivotal Software, Inc. All rights reserved. Get Involved…
  • 51. 51© 2014 Pivotal Software, Inc. All rights reserved. Apache Geode Contribute  In addition to developing Spring applications with Apache Geode, now is a perfect time to get involved in the Apache Geode community and contribute growing Apache project from the ground-up. – Ways to participate… http://geode.incubator.apache.org/contribute/
  • 52. 52© 2014 Pivotal Software, Inc. All rights reserved. Finally…
  • 53. 53© 2014 Pivotal Software, Inc. All rights reserved. Washington, DC – September 14 – 17, 2015 SpringOne2GX  Early Bird price registration ends August 14th, Register Now! – https://2015.event.springone2gx.com/register  Building High-Scalable Spring Applications with Distributed In-Memory Data Grids. – Luke Shannon & John Blum – Tuesday, September 15th, 2015 – https://2015.event.springone2gx.com/schedule/sessions/building_highly_scalable_spring_applications_with_in_m emory_distributed_data_grids.html
  • 54. 54© 2014 Pivotal Software, Inc. All rights reserved. References  http://geode.incubator.apache.org/  http://geode.incubator.apache.org/contribute/  https://github.com/project-geode/docs/wiki  https://github.com/apache/incubator-geode  https://pivotal.io/big-data/pivotal-gemfire  http://gemfire.docs.pivotal.io/latest/userguide/index.html#getting_started/topics/gemfire_overview.html  http://gemfire.docs.pivotal.io/latest/javadocs/japi/index.html  http://stackoverflow.com/questions/tagged/geode+or+gemfire  http://projects.spring.io/spring-data-gemfire/  http://docs.spring.io/spring-data-gemfire/docs/1.6.0.RELEASE/reference/html/  http://docs.spring.io/spring-data-gemfire/docs/current/reference/html/  http://docs.spring.io/spring-data-gemfire/docs/current/api/  https://github.com/spring-projects/spring-data-gemfire  https://github.com/spring-projects/spring-gemfire-examples  http://stackoverflow.com/questions/tagged/spring-data-gemfire
  • 55. 55© 2014 Pivotal Software, Inc. All rights reserved. 55© 2014 Pivotal Software, Inc. All rights reserved. Q&A Any questions…
  • 56. 56© 2014 Pivotal Software, Inc. All rights reserved. 56© 2014 Pivotal Software, Inc. All rights reserved. Thank you!

Editor's Notes

  • #6: Geode can be scaled up or down to address load and changing demand, and… Ideally, Pivotal CloudFoundry (CF) will handle this automatically (dynamically) Keywords: Data Volume and Rate of Data Streams/Events, Ingest/Process/Output, Meaningful/Impactful Business Results
  • #7: Data is stored/kept in-memory for improved performance (lower latency, higher throughput) and distributed (replicated) across the cluster for high-availability and fault tolerance (resiliency to failures) and optionally persisted to disk (durability). ACID properties characteristic is important because… Applications require traditional database capabilities (ACID-compliant (Atomic, Consistent, Isolated, Durable)) in a highly-performant architecture achieved via distributed computing (distributed systems). Both Cache-level and Global (JTA)-based transactions are supported. Region implements java.util.ConcurrentMap. Geode enables event-based application architectures with Register Interests (RI) and Pivotal GemFire extends builds on that with Continuous Queries (CQ)
  • #8: Consistency, highly-availability are low-latency are important aspects for enabling fast, responsive, resilient and accurate applications at scale. Think microservices…
  • #9: To summarize, Apache Geode can be described as…
  • #12: Managing memory is important to prevent “stop the world” GCs and ultimately OutOfMemoryErrors. Entry Count, Memory Size (MB) and Heap % LRU with LOCAL_DESTROY and OVERFLOW_TO_DISK Expiration with (LOCAL_) DESTROY, (LOCAL_) INVALIDATE Resource Management – Geode uses a ResourceManager to manage resources (memory) and can prevent cache modifications in the event of GC overload.
  • #15: Appends data/transactions to Oplogs.
  • #24: Application process is a (system) member in the distributed system (cluster).
  • #25: Clients store metadata about bucket locations for Partitioned Region data. Continuous feedback from servers on their load conditions. With data partitioned and replicated across servers, clients can dynamically move to different servers to uniformly load the servers in order to deliver predictable response times.
  • #26: Application process is a (system) member in the distributed system (cluster).
  • #30: Powerful Application Developer Features
  • #41: Spring is inherently Template-based (Template Pattern) using Callbacks. Example… JdbcTemplate, JmsTemplate