SlideShare a Scribd company logo
Hibernate cache 2007/03/16
abstract ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
快取的層次  (1/2) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
cache level (2/2) cluster transaction application transaction application transaction transaction
Hibernate cache transaction application cluster concept session session factory third party hibernate
Cache providers Cache  Cluster Safe  Query Cache  Hashtable yes EHcache yes OScache yes Swarmcache yes JBosscache yes yes
cache strategies ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
cache concurrency strategy support cache read-only nonstrict-read-write read-write transactional hashtable yes yes yes EHCache yes yes yes OSCache yes yes yes SwarmCache yes yes JBoss yes yes
entity cache ,[object Object],[object Object],[object Object],[object Object]
session.get step in session? DataBase No session.get Yes session
session.load step in session? session.get Yes session No in session factory? DataBase No session factory Yes
collection cache setting <hibernate mapping> <class name=“User”> ……… . <set name=“addresses” table=“t_addresses” …… > <cache usage=“read-only”> User.hbm.xml
collection cache ,[object Object],[object Object],<hibernate-mapping> <class name=“com…..Adress” table=“t_addresses” …… > <cache usage=“read-write”>
query cache ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
set ehcache.xml <defaultCache maxElementsInMemory=&quot;10000&quot; eternal=&quot;false&quot; timeToIdleSeconds=&quot;120&quot; timeToLiveSeconds=&quot;120&quot; overflowToDisk=&quot;false&quot; />
clear 2nd-level cache ,[object Object]
hibernate statistics ,[object Object],[object Object],[object Object],[object Object],[object Object]
Query Optimization ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Query Optimization ,[object Object],[object Object]
Query Optimization ,[object Object],[object Object],[object Object],[object Object],[object Object],Article category Category
Query Optimization ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Article Article_Category Category category article
session & transaction ,[object Object],[object Object],[object Object],[object Object]

More Related Content

Viewers also liked

Algo stars程式交易人網聚:前進中國期貨市場
Algo stars程式交易人網聚:前進中國期貨市場Algo stars程式交易人網聚:前進中國期貨市場
Algo stars程式交易人網聚:前進中國期貨市場algostars
 
有保護的賣方策略
有保護的賣方策略有保護的賣方策略
有保護的賣方策略
eddiechuang
 
五分鐘認識實踐資管
五分鐘認識實踐資管五分鐘認識實踐資管
五分鐘認識實踐資管
良政 張
 
詹姆士看天下 2016/03/14
詹姆士看天下 2016/03/14詹姆士看天下 2016/03/14
詹姆士看天下 2016/03/14
ezfunds
 
Opportunities and Prospects of Sino-Australian Business Partnerships
Opportunities and Prospects of Sino-Australian Business PartnershipsOpportunities and Prospects of Sino-Australian Business Partnerships
Opportunities and Prospects of Sino-Australian Business Partnerships
Australian Business Forum - ABF
 
123mc
123mc123mc
123mc
Huai Yu Yu
 
程式交易優缺點
程式交易優缺點程式交易優缺點
程式交易優缺點
良政 張
 
1 超交易 执行摘要
1 超交易 执行摘要1 超交易 执行摘要
1 超交易 执行摘要
成 封
 
華人工作團隊內關係(Guanxi)與成員效能
華人工作團隊內關係(Guanxi)與成員效能華人工作團隊內關係(Guanxi)與成員效能
華人工作團隊內關係(Guanxi)與成員效能Joyce He
 
華南講座內湖分公司
華南講座內湖分公司華南講座內湖分公司
華南講座內湖分公司
howda0605
 
老板與主管之經營哲學~企業經營大師黃聰亮教授演講投影片
老板與主管之經營哲學~企業經營大師黃聰亮教授演講投影片老板與主管之經營哲學~企業經營大師黃聰亮教授演講投影片
老板與主管之經營哲學~企業經營大師黃聰亮教授演講投影片vincent8899
 
Carbon Trading Market
Carbon Trading MarketCarbon Trading Market
Carbon Trading Market
Green Initiatives 绿色倡议
 
Aacromio clavicular reconstruction
Aacromio clavicular  reconstructionAacromio clavicular  reconstruction
Aacromio clavicular reconstructiondarko1307
 
Algorithmic Trading
Algorithmic TradingAlgorithmic Trading
Algorithmic Trading
Alice Chan
 
財富人生理財講座~企業經營大師黃聰亮教授演講投影片
財富人生理財講座~企業經營大師黃聰亮教授演講投影片財富人生理財講座~企業經營大師黃聰亮教授演講投影片
財富人生理財講座~企業經營大師黃聰亮教授演講投影片vincent8899
 
00.程式交易
00.程式交易00.程式交易
00.程式交易hohooh0320
 
Open Source, Open Data, Open Government
Open Source, Open Data, Open GovernmentOpen Source, Open Data, Open Government
Open Source, Open Data, Open Government
clkao
 
201407 外匯投資,交易策略,程式交易經驗與成果分享
201407 外匯投資,交易策略,程式交易經驗與成果分享201407 外匯投資,交易策略,程式交易經驗與成果分享
201407 外匯投資,交易策略,程式交易經驗與成果分享
neo911
 

Viewers also liked (20)

風險管理之預警機制
風險管理之預警機制風險管理之預警機制
風險管理之預警機制
 
Algo stars程式交易人網聚:前進中國期貨市場
Algo stars程式交易人網聚:前進中國期貨市場Algo stars程式交易人網聚:前進中國期貨市場
Algo stars程式交易人網聚:前進中國期貨市場
 
有保護的賣方策略
有保護的賣方策略有保護的賣方策略
有保護的賣方策略
 
五分鐘認識實踐資管
五分鐘認識實踐資管五分鐘認識實踐資管
五分鐘認識實踐資管
 
詹姆士看天下 2016/03/14
詹姆士看天下 2016/03/14詹姆士看天下 2016/03/14
詹姆士看天下 2016/03/14
 
Opportunities and Prospects of Sino-Australian Business Partnerships
Opportunities and Prospects of Sino-Australian Business PartnershipsOpportunities and Prospects of Sino-Australian Business Partnerships
Opportunities and Prospects of Sino-Australian Business Partnerships
 
123mc
123mc123mc
123mc
 
程式交易優缺點
程式交易優缺點程式交易優缺點
程式交易優缺點
 
1 超交易 执行摘要
1 超交易 执行摘要1 超交易 执行摘要
1 超交易 执行摘要
 
Portfolio 2015
Portfolio 2015Portfolio 2015
Portfolio 2015
 
華人工作團隊內關係(Guanxi)與成員效能
華人工作團隊內關係(Guanxi)與成員效能華人工作團隊內關係(Guanxi)與成員效能
華人工作團隊內關係(Guanxi)與成員效能
 
華南講座內湖分公司
華南講座內湖分公司華南講座內湖分公司
華南講座內湖分公司
 
老板與主管之經營哲學~企業經營大師黃聰亮教授演講投影片
老板與主管之經營哲學~企業經營大師黃聰亮教授演講投影片老板與主管之經營哲學~企業經營大師黃聰亮教授演講投影片
老板與主管之經營哲學~企業經營大師黃聰亮教授演講投影片
 
Carbon Trading Market
Carbon Trading MarketCarbon Trading Market
Carbon Trading Market
 
Aacromio clavicular reconstruction
Aacromio clavicular  reconstructionAacromio clavicular  reconstruction
Aacromio clavicular reconstruction
 
Algorithmic Trading
Algorithmic TradingAlgorithmic Trading
Algorithmic Trading
 
財富人生理財講座~企業經營大師黃聰亮教授演講投影片
財富人生理財講座~企業經營大師黃聰亮教授演講投影片財富人生理財講座~企業經營大師黃聰亮教授演講投影片
財富人生理財講座~企業經營大師黃聰亮教授演講投影片
 
00.程式交易
00.程式交易00.程式交易
00.程式交易
 
Open Source, Open Data, Open Government
Open Source, Open Data, Open GovernmentOpen Source, Open Data, Open Government
Open Source, Open Data, Open Government
 
201407 外匯投資,交易策略,程式交易經驗與成果分享
201407 外匯投資,交易策略,程式交易經驗與成果分享201407 外匯投資,交易策略,程式交易經驗與成果分享
201407 外匯投資,交易策略,程式交易經驗與成果分享
 

Similar to Hibernate Cache

Jug Lugano - Scale over the limits
Jug Lugano - Scale over the limitsJug Lugano - Scale over the limits
Jug Lugano - Scale over the limitsDavide Carnevali
 
Ehcache Architecture, Features And Usage Patterns
Ehcache Architecture, Features And Usage PatternsEhcache Architecture, Features And Usage Patterns
Ehcache Architecture, Features And Usage Patterns
Eduardo Pelegri-Llopart
 
Advanced Hibernate Notes
Advanced Hibernate NotesAdvanced Hibernate Notes
Advanced Hibernate NotesKaniska Mandal
 
Spring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICES
Spring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICESSpring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICES
Spring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICES
Michael Plöd
 
Scaling Your Cache
Scaling Your CacheScaling Your Cache
Scaling Your Cache
Alex Miller
 
Cache is King
Cache is KingCache is King
Cache is King
Steve Souders
 
Developing High Performance and Scalable ColdFusion Application Using Terraco...
Developing High Performance and Scalable ColdFusion Application Using Terraco...Developing High Performance and Scalable ColdFusion Application Using Terraco...
Developing High Performance and Scalable ColdFusion Application Using Terraco...
ColdFusionConference
 
Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Developing High Performance and Scalable ColdFusion Applications Using Terrac...Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Shailendra Prasad
 
10 Cache Implementation
10  Cache Implementation10  Cache Implementation
10 Cache ImplementationRanjan Kumar
 
Cache Tooling
Cache ToolingCache Tooling
Cache Tooling
Rohit Kelapure
 
Cache Tooling
Cache ToolingCache Tooling
Cache Tooling
Rohit Kelapure
 
Java In-Process Caching - Performance, Progress and Pitfalls
Java In-Process Caching - Performance, Progress and PitfallsJava In-Process Caching - Performance, Progress and Pitfalls
Java In-Process Caching - Performance, Progress and Pitfalls
Jens Wilke
 
Java In-Process Caching - Performance, Progress and Pittfalls
Java In-Process Caching - Performance, Progress and PittfallsJava In-Process Caching - Performance, Progress and Pittfalls
Java In-Process Caching - Performance, Progress and Pittfalls
cruftex
 
Hibernate caching
Hibernate cachingHibernate caching
Hibernate cachingbsudy
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With Coherence
James Bayer
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With CoherenceJames Bayer
 
Application Grid Dev with Coherence
Application Grid Dev with CoherenceApplication Grid Dev with Coherence
Application Grid Dev with Coherence
James Bayer
 
Hazelcast Deep Dive (Paris JUG-2)
Hazelcast Deep Dive (Paris JUG-2)Hazelcast Deep Dive (Paris JUG-2)
Hazelcast Deep Dive (Paris JUG-2)
Emrah Kocaman
 
idea: talk about the Active Cache
idea: talk about the Active Cacheidea: talk about the Active Cache
idea: talk about the Active CacheChing Yi Chan
 
My sql monitoring cu沙龙
My sql monitoring cu沙龙My sql monitoring cu沙龙
My sql monitoring cu沙龙colderboy17
 

Similar to Hibernate Cache (20)

Jug Lugano - Scale over the limits
Jug Lugano - Scale over the limitsJug Lugano - Scale over the limits
Jug Lugano - Scale over the limits
 
Ehcache Architecture, Features And Usage Patterns
Ehcache Architecture, Features And Usage PatternsEhcache Architecture, Features And Usage Patterns
Ehcache Architecture, Features And Usage Patterns
 
Advanced Hibernate Notes
Advanced Hibernate NotesAdvanced Hibernate Notes
Advanced Hibernate Notes
 
Spring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICES
Spring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICESSpring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICES
Spring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICES
 
Scaling Your Cache
Scaling Your CacheScaling Your Cache
Scaling Your Cache
 
Cache is King
Cache is KingCache is King
Cache is King
 
Developing High Performance and Scalable ColdFusion Application Using Terraco...
Developing High Performance and Scalable ColdFusion Application Using Terraco...Developing High Performance and Scalable ColdFusion Application Using Terraco...
Developing High Performance and Scalable ColdFusion Application Using Terraco...
 
Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Developing High Performance and Scalable ColdFusion Applications Using Terrac...Developing High Performance and Scalable ColdFusion Applications Using Terrac...
Developing High Performance and Scalable ColdFusion Applications Using Terrac...
 
10 Cache Implementation
10  Cache Implementation10  Cache Implementation
10 Cache Implementation
 
Cache Tooling
Cache ToolingCache Tooling
Cache Tooling
 
Cache Tooling
Cache ToolingCache Tooling
Cache Tooling
 
Java In-Process Caching - Performance, Progress and Pitfalls
Java In-Process Caching - Performance, Progress and PitfallsJava In-Process Caching - Performance, Progress and Pitfalls
Java In-Process Caching - Performance, Progress and Pitfalls
 
Java In-Process Caching - Performance, Progress and Pittfalls
Java In-Process Caching - Performance, Progress and PittfallsJava In-Process Caching - Performance, Progress and Pittfalls
Java In-Process Caching - Performance, Progress and Pittfalls
 
Hibernate caching
Hibernate cachingHibernate caching
Hibernate caching
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With Coherence
 
App Grid Dev With Coherence
App Grid Dev With CoherenceApp Grid Dev With Coherence
App Grid Dev With Coherence
 
Application Grid Dev with Coherence
Application Grid Dev with CoherenceApplication Grid Dev with Coherence
Application Grid Dev with Coherence
 
Hazelcast Deep Dive (Paris JUG-2)
Hazelcast Deep Dive (Paris JUG-2)Hazelcast Deep Dive (Paris JUG-2)
Hazelcast Deep Dive (Paris JUG-2)
 
idea: talk about the Active Cache
idea: talk about the Active Cacheidea: talk about the Active Cache
idea: talk about the Active Cache
 
My sql monitoring cu沙龙
My sql monitoring cu沙龙My sql monitoring cu沙龙
My sql monitoring cu沙龙
 

More from Yenwen Feng

在 Kotlin/Android 使用 Ethereum Smart Contract
在 Kotlin/Android 使用 Ethereum Smart Contract在 Kotlin/Android 使用 Ethereum Smart Contract
在 Kotlin/Android 使用 Ethereum Smart Contract
Yenwen Feng
 
Lambda local - A local server for developing AWS Lambda function in Java
Lambda local - A local server for developing AWS Lambda function in JavaLambda local - A local server for developing AWS Lambda function in Java
Lambda local - A local server for developing AWS Lambda function in Java
Yenwen Feng
 
Product Market Fit
Product Market FitProduct Market Fit
Product Market Fit
Yenwen Feng
 
Introduction to Growth
Introduction to GrowthIntroduction to Growth
Introduction to Growth
Yenwen Feng
 
Growth
GrowthGrowth
Growth
Yenwen Feng
 
消費性 APP 的募資經驗分享
消費性 APP 的募資經驗分享消費性 APP 的募資經驗分享
消費性 APP 的募資經驗分享
Yenwen Feng
 
Thoughts behind Cubie Messenger
Thoughts behind Cubie MessengerThoughts behind Cubie Messenger
Thoughts behind Cubie MessengerYenwen Feng
 
Facebook flash api and social game development
Facebook flash api and social game developmentFacebook flash api and social game development
Facebook flash api and social game developmentYenwen Feng
 
Our experience to start a startup
Our experience to start a startupOur experience to start a startup
Our experience to start a startupYenwen Feng
 
GWT: Our Experiences
GWT: Our ExperiencesGWT: Our Experiences
GWT: Our Experiences
Yenwen Feng
 
Entrepreneurship3
Entrepreneurship3Entrepreneurship3
Entrepreneurship3
Yenwen Feng
 
Intro to Google Gadgets
Intro to Google GadgetsIntro to Google Gadgets
Intro to Google Gadgets
Yenwen Feng
 
Suggestions for Building Websites
Suggestions for Building WebsitesSuggestions for Building Websites
Suggestions for Building Websites
Yenwen Feng
 
Ajax by Examples 2
Ajax by Examples 2Ajax by Examples 2
Ajax by Examples 2
Yenwen Feng
 

More from Yenwen Feng (15)

在 Kotlin/Android 使用 Ethereum Smart Contract
在 Kotlin/Android 使用 Ethereum Smart Contract在 Kotlin/Android 使用 Ethereum Smart Contract
在 Kotlin/Android 使用 Ethereum Smart Contract
 
Lambda local - A local server for developing AWS Lambda function in Java
Lambda local - A local server for developing AWS Lambda function in JavaLambda local - A local server for developing AWS Lambda function in Java
Lambda local - A local server for developing AWS Lambda function in Java
 
Product Market Fit
Product Market FitProduct Market Fit
Product Market Fit
 
Introduction to Growth
Introduction to GrowthIntroduction to Growth
Introduction to Growth
 
Growth
GrowthGrowth
Growth
 
Growth
GrowthGrowth
Growth
 
消費性 APP 的募資經驗分享
消費性 APP 的募資經驗分享消費性 APP 的募資經驗分享
消費性 APP 的募資經驗分享
 
Thoughts behind Cubie Messenger
Thoughts behind Cubie MessengerThoughts behind Cubie Messenger
Thoughts behind Cubie Messenger
 
Facebook flash api and social game development
Facebook flash api and social game developmentFacebook flash api and social game development
Facebook flash api and social game development
 
Our experience to start a startup
Our experience to start a startupOur experience to start a startup
Our experience to start a startup
 
GWT: Our Experiences
GWT: Our ExperiencesGWT: Our Experiences
GWT: Our Experiences
 
Entrepreneurship3
Entrepreneurship3Entrepreneurship3
Entrepreneurship3
 
Intro to Google Gadgets
Intro to Google GadgetsIntro to Google Gadgets
Intro to Google Gadgets
 
Suggestions for Building Websites
Suggestions for Building WebsitesSuggestions for Building Websites
Suggestions for Building Websites
 
Ajax by Examples 2
Ajax by Examples 2Ajax by Examples 2
Ajax by Examples 2
 

Recently uploaded

LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 

Hibernate Cache

  • 2.
  • 3.
  • 4. cache level (2/2) cluster transaction application transaction application transaction transaction
  • 5. Hibernate cache transaction application cluster concept session session factory third party hibernate
  • 6. Cache providers Cache Cluster Safe Query Cache Hashtable yes EHcache yes OScache yes Swarmcache yes JBosscache yes yes
  • 7.
  • 8. cache concurrency strategy support cache read-only nonstrict-read-write read-write transactional hashtable yes yes yes EHCache yes yes yes OSCache yes yes yes SwarmCache yes yes JBoss yes yes
  • 9.
  • 10. session.get step in session? DataBase No session.get Yes session
  • 11. session.load step in session? session.get Yes session No in session factory? DataBase No session factory Yes
  • 12. collection cache setting <hibernate mapping> <class name=“User”> ……… . <set name=“addresses” table=“t_addresses” …… > <cache usage=“read-only”> User.hbm.xml
  • 13.
  • 14.
  • 15. set ehcache.xml <defaultCache maxElementsInMemory=&quot;10000&quot; eternal=&quot;false&quot; timeToIdleSeconds=&quot;120&quot; timeToLiveSeconds=&quot;120&quot; overflowToDisk=&quot;false&quot; />
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.