SlideShare a Scribd company logo
EASILY	SCALE	ENTERPRISE
APPLICATIONS	USING
DISTRIBUTED	DATA	GRIDS
Ondrej	Mihályi
@omihalyi
SCALABLE	APPLICATIONS
What	it	means?	Another	buzzword?
	@OMihalyi
HIGHLY	SCALABLE	APPLICATIONS	!?
Just	great.	Buzzword	Bingo	time!
	@OMihalyi
SERIOUSLY,	WHAT	ARE	WE	AFTER?
The	main	Goal:
add	more	resources	to	do	the	job
faster.
	@OMihalyi
WHAT	IS	SCALABILITY
Ability	to	improve	with	more	resources
Not	straightforward
More	working	hours	≠	more	done
More	people	on	the	job	≠	faster
	@OMihalyi
TYPES	OF	SCALING
VERTICAL
easy,	brute	force,	often	works	inefficient,
limited	by	physics
HORIZONTAL
enables	granular	scaling
more	complexity
	@OMihalyi
CHALLENGES	OF	HORIZONTAL
SCALING
distributed	programming
increased	communication
shared	state
	@OMihalyi
AVOIDING	BOTTLENECKS
:
Speedup	limited	by	the	parts	that
don't	benefit	from	added	resources
bottlenecks:	sequential	tasks,
synchronization,	communication
AMDAHL'S	LAW
	@OMihalyi
IN-MEMORY	DATAGRIDS
distributed	shared	state	(memory)
distrib.	communication	(locks,	messaging,	...)
simple	distrib.	structures	(map,	set,	queue,	...)
sophisticated	algorithms	behind	the	scenes
data	replication	and	even	distribution
auto-discovery	of	nodes
	@OMihalyi
EXAMPLES	OF	DATA-GRIDS
Hazelcast
JBoss	Infinispan
Oracle	Coherence
Terracotta
	@OMihalyi
PAYARA	SERVER
derived	from	GlassFish	Java	EE	Server
embedded	Hazelcast
HTTP	session	replication
JCache	CDI	integration
message	bus	over	CDI	events
	@OMihalyi
PAYARA	MICRO
shares	codebase	with	Payara	Server
can	cluster	with	Payara	Server
executable	JAR	or	embedded
web	apps	in	a	separate	file	or	uber	JAR
Hazelcast	started	by	default
	@OMihalyi
SCALE	UP!
Once	 an	 app	 is	 designed	 for	 flexible
clustering,	 it	 becomes	 elastic	 -	 easily
adaptable	to	increasing	load.
	@OMihalyi
DEMO	TIME
#1	MULTIPLICATION
Additional	instances
more	CPUs	and	other	resources
Simple	load	balancer	is	enough
data	is	shared	automatically
	@OMihalyi
#2	SCALING	MEMORY
Data	access	is	often	a	bottleneck
→	Keep	data	in	memory
Additional	instances	with	no	apps
Dumb	nodes	carrying	data
Increase	available	memory
Increase	resilience	to	outages
	@OMihalyi
#2	SCALING	MEMORY
	@OMihalyi
#3	SEPARATING	DATA	FROM	LOGIC
more	data	→	more	heap	and	time	in	GC
run	critical	apps	on	lite	nodes
slower	data	access	but	less	GC	cycles
tweak	GC	&	heap	for	throughput
data	and	app	nodes	in	pair	on	the	same
machine
	@OMihalyi
#3	SEPARATING	DATA	FROM	LOGIC
	@OMihalyi
DEMO	TIME
#4	SCALE	APP	PARTS	SEPARATELY
some	parts	of	an	app	are	bottlenecks
split	those	into	separate	services
can	be	scaled	higher
resources	assigned	more	granularly
small	and	lean	services	with	Payara	Micro
or	even	a	standalone	Hazelcast
	@OMihalyi
#4	SCALE	APP	PARTS	SEPARATELY
	@OMihalyi
HAZELCAST	MEMORY	UTILIZATION
Replicated	up	to	X	nodes
Data	evenly	distributed
Lite	nodes	without	data
Off-heap	data	(enterprise)
	@OMihalyi
OTHER	HAZELCAST	FEATURES
Auto	discovery	and	recovery
multicast	and	TCP	joiners
data	redistribution	when	nodes	join/leave
Distributed	cache	(JCache	API)
Distributed	queries	and	ExecutorService
	@OMihalyi
ANYTHING	TO	ASK?
Thank	you
RESOURCES
source	code:	
Hazelcast:	 ,	
Payara:	 ,	
OndrejM-demonstrations/scaling-
with-datagrids
article	about	flexible	clustering
hazelcast.com hazelcast.org
payara.fish payara.org
	@OMihalyi

More Related Content

What's hot (11)

PPTX
The End of server management - Continuous delivery meetup Paris
Quentin Adam
 
PPTX
Peace and love hospital
OHENE-DARKO Joshua Emmanuel
 
PPTX
How to be a high performing virtual team
Lisette Sutherland
 
PDF
Getting started
Lynnette Humphrey
 
PPT
Steps To Process The Setup Of Hulu Plus On Apple iPad?
ashlynwalkerus
 
PDF
K 5 specials apps and i pad staff training
Gull Lake Community Schools
 
PDF
Beginners guide to internet riches
Muhammad Yuliawan
 
PPTX
Campus notes05012015
Melanie Moon
 
PPTX
Mobile Business
DigeratiGroup
 
PDF
The Mobile Worker
Socialcast
 
PDF
G Suite Value Proposition by MediaAgility
MediaAgility
 
The End of server management - Continuous delivery meetup Paris
Quentin Adam
 
Peace and love hospital
OHENE-DARKO Joshua Emmanuel
 
How to be a high performing virtual team
Lisette Sutherland
 
Getting started
Lynnette Humphrey
 
Steps To Process The Setup Of Hulu Plus On Apple iPad?
ashlynwalkerus
 
K 5 specials apps and i pad staff training
Gull Lake Community Schools
 
Beginners guide to internet riches
Muhammad Yuliawan
 
Campus notes05012015
Melanie Moon
 
Mobile Business
DigeratiGroup
 
The Mobile Worker
Socialcast
 
G Suite Value Proposition by MediaAgility
MediaAgility
 

Similar to Easily scale enterprise applications using distributed data grids (20)

PPTX
Open Data - Oi Sir Tim Hands Off My Spreadsheet
Snowflake Software
 
PPTX
Bigdata and hadoop
RamyaG50
 
PPTX
Bigdata and hadoop
RamyaG50
 
PPTX
Building LLM Solutions using Open Source and Closed Source Solutions in Coher...
Sri Ambati
 
KEY
Utrecht NL-HUG/Data Science-NL - Agile Data Slides
Hortonworks
 
KEY
Paris HUG - Agile Analytics Applications on Hadoop
Hortonworks
 
PDF
Techno vision 2014 and HP Technologies: Driving Digital Change
Capgemini
 
PDF
Google Apps for Work
Physicians Agent™ Network
 
PPTX
Boosting Team Productivity By Getting Them Addicted to POT
Andy Harjanto
 
PPTX
Why Things Go Awry
Steve Weissman
 
PDF
A Big Data Journey: Bringing Open Source to Finance
Slim Baltagi
 
PPTX
TTI PEC Nairobi Workshop - Data Visualisation
Research to Action
 
PDF
"Big Data beyond Apache Hadoop - How to Integrate ALL your Data" - JavaOne 2013
Kai Wähner
 
PPTX
2009 09 08 The Lean Startup Gov 2.0 Summit Edition
Eric Ries
 
PDF
Cloud Con 2015 - Integration & Web APIs
SnapLogic
 
PPTX
Top Agile Myths & Misconceptions
David Tzemach
 
PPT
OfficeAbility Enterprise Social Networking - Quick Overview Presentation
Marlon McMartin
 
PDF
A Few Reasons to Switch to Cloud HR Software
Dynamics Business Solutions
 
PDF
Riding the Drupal Wave: The Future for Drupal and Open Source Content Manage...
Phase2
 
PDF
The New Workplace
Sigurd Rinde
 
Open Data - Oi Sir Tim Hands Off My Spreadsheet
Snowflake Software
 
Bigdata and hadoop
RamyaG50
 
Bigdata and hadoop
RamyaG50
 
Building LLM Solutions using Open Source and Closed Source Solutions in Coher...
Sri Ambati
 
Utrecht NL-HUG/Data Science-NL - Agile Data Slides
Hortonworks
 
Paris HUG - Agile Analytics Applications on Hadoop
Hortonworks
 
Techno vision 2014 and HP Technologies: Driving Digital Change
Capgemini
 
Google Apps for Work
Physicians Agent™ Network
 
Boosting Team Productivity By Getting Them Addicted to POT
Andy Harjanto
 
Why Things Go Awry
Steve Weissman
 
A Big Data Journey: Bringing Open Source to Finance
Slim Baltagi
 
TTI PEC Nairobi Workshop - Data Visualisation
Research to Action
 
"Big Data beyond Apache Hadoop - How to Integrate ALL your Data" - JavaOne 2013
Kai Wähner
 
2009 09 08 The Lean Startup Gov 2.0 Summit Edition
Eric Ries
 
Cloud Con 2015 - Integration & Web APIs
SnapLogic
 
Top Agile Myths & Misconceptions
David Tzemach
 
OfficeAbility Enterprise Social Networking - Quick Overview Presentation
Marlon McMartin
 
A Few Reasons to Switch to Cloud HR Software
Dynamics Business Solutions
 
Riding the Drupal Wave: The Future for Drupal and Open Source Content Manage...
Phase2
 
The New Workplace
Sigurd Rinde
 
Ad

More from Ondrej Mihályi (11)

PDF
Elastic and Cloud-ready Applications with Payara Micro
Ondrej Mihályi
 
PPTX
Bed con - MicroProfile: A Quest for a lightweight and reactive Enterprise Ja...
Ondrej Mihályi
 
ODP
How to bake_reactive_behavior_into_your_java_ee_applications
Ondrej Mihályi
 
ODP
How to bake reactive behavior into your Java EE applications
Ondrej Mihályi
 
ODP
How to bake reactive behavior into your Java EE applications
Ondrej Mihályi
 
ODP
How to bake reactive behavior into your Java EE applications
Ondrej Mihályi
 
ODP
How to bake reactive behavior into your Java EE applications
Ondrej Mihályi
 
ODP
Business layer and transactions
Ondrej Mihályi
 
ODP
Working with jpa
Ondrej Mihályi
 
ODP
Maven in Java EE project
Ondrej Mihályi
 
ODP
Java EE web project introduction
Ondrej Mihályi
 
Elastic and Cloud-ready Applications with Payara Micro
Ondrej Mihályi
 
Bed con - MicroProfile: A Quest for a lightweight and reactive Enterprise Ja...
Ondrej Mihályi
 
How to bake_reactive_behavior_into_your_java_ee_applications
Ondrej Mihályi
 
How to bake reactive behavior into your Java EE applications
Ondrej Mihályi
 
How to bake reactive behavior into your Java EE applications
Ondrej Mihályi
 
How to bake reactive behavior into your Java EE applications
Ondrej Mihályi
 
How to bake reactive behavior into your Java EE applications
Ondrej Mihályi
 
Business layer and transactions
Ondrej Mihályi
 
Working with jpa
Ondrej Mihályi
 
Maven in Java EE project
Ondrej Mihályi
 
Java EE web project introduction
Ondrej Mihályi
 
Ad

Recently uploaded (20)

PDF
UITP Summit Meep Pitch may 2025 MaaS Rebooted
campoamor1
 
PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
PDF
Salesforce Experience Cloud Consultant.pdf
VALiNTRY360
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PPTX
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PPTX
Prompt Like a Pro. Leveraging Salesforce Data to Power AI Workflows.pptx
Dele Amefo
 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PDF
NPD Software -Omnex systems
omnex systems
 
PPTX
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
PDF
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
Why is partnering with a SaaS development company crucial for enterprise succ...
Nextbrain Technologies
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PPTX
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
Is Framer the Future of AI Powered No-Code Development?
Isla Pandora
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
UITP Summit Meep Pitch may 2025 MaaS Rebooted
campoamor1
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
Salesforce Experience Cloud Consultant.pdf
VALiNTRY360
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
Prompt Like a Pro. Leveraging Salesforce Data to Power AI Workflows.pptx
Dele Amefo
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
NPD Software -Omnex systems
omnex systems
 
Get Started with Maestro: Agent, Robot, and Human in Action – Session 5 of 5
klpathrudu
 
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Why is partnering with a SaaS development company crucial for enterprise succ...
Nextbrain Technologies
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Is Framer the Future of AI Powered No-Code Development?
Isla Pandora
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 

Easily scale enterprise applications using distributed data grids