SlideShare a Scribd company logo
4
Most read
6
Most read
7
Most read
Spring Caches with Protocol Buffers
SpringOne 02/09/2021
Katia Aresti
Infinispan (Red Hat)
Hi! I’m Katia
Aresti
2
@karesti
Senior Software Engineer
2017 Infinispan (Data Grid)
2019 Java Champion
@karesti | Spring One 2021
@Cacheable
@CacheEvict
@CachePut
@Caching
@CacheConfig
JCache
EhCache
Caffeine
Infinispan
Hazelcast
Redis
Couchebase
...
Spring Cache
@karesti | Spring One 2021
Infinispan (12.1.7.Final, 13.0.0.Dev04)
100% Open-Source, In-Memory Distributed Data (caches)
Interoperability
Resilient
Fault Tolerant Data
Clustered Processing Query
ACID Tx
@karesti | Spring One 2021
Hot Rod, Rest ...
Data
Infinispan Server Cluster
Data
Data
Infinispan Client-Server
Infinispan
Spring-Boot
Starter
Infinispan JS Client
Infinispan Java Client
Infinispan C# Client
@karesti | Spring One 2021
Marshalling and Data formats
Data
Stores the data
- Java
- Text, JSON, XML
- Protobuf
Uses a Marshaller
- JavaMarshaller
- StringMarshaller
- ProtostreamMarshaller
Serialized data
🔗 New Guide Available
Protostream
App
@karesti | Spring One 2021
Infinispan Protostream API
public class Customer {
@ProtoFactory
public Customer(String name...) {
@ProtoField(number = 1)
public String getName() {
return name;
}
Customer.java
package com.redhat;
message Customer {
optional string name = 1;
...
⚙
Protostream
customer.proto
https://github.com/infinispan/protostream
@karesti | Spring One 2021
Spring Boot, Infinispan and Protobuf Caches demo
Customers
Service
London
Data
@karesti | Spring One 2021
Spring Boot, Infinispan and Protobuf Caches demo
Customers
Service
{
"distributed-cache": {
"backups": {
"backup": {
"site": "LON",
"strategy": "SYNC",
"failure-policy": "WARN"
}
},
London
Data
New York
Data
Cross-Site Replication
@karesti | Spring One 2021
Thank You!!!
Q & A
@infinispan
Infinispan documentation
Building a real-time leaderboard with Red Hat Data Grid and Quarkus on a hybrid Kubernetes
deployment
SpringOne 2021 Demo Repository

More Related Content

PDF
Spring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICES
PPTX
Xây dụng và kết hợp Kafka, Druid, Superset để đua vào ứng dụng phân tích dữ l...
PDF
Introduction to hazelcast
PDF
MinIO January 2020 Briefing
PDF
Designing Apache Hudi for Incremental Processing With Vinoth Chandar and Etha...
PDF
Clickhouse Capacity Planning for OLAP Workloads, Mik Kocikowski of CloudFlare
PDF
Designing ETL Pipelines with Structured Streaming and Delta Lake—How to Archi...
PDF
Redis + Kafka = Performance at Scale | Julien Ruaux, Redis Labs
Spring One 2 GX 2014 - CACHING WITH SPRING: ADVANCED TOPICS AND BEST PRACTICES
Xây dụng và kết hợp Kafka, Druid, Superset để đua vào ứng dụng phân tích dữ l...
Introduction to hazelcast
MinIO January 2020 Briefing
Designing Apache Hudi for Incremental Processing With Vinoth Chandar and Etha...
Clickhouse Capacity Planning for OLAP Workloads, Mik Kocikowski of CloudFlare
Designing ETL Pipelines with Structured Streaming and Delta Lake—How to Archi...
Redis + Kafka = Performance at Scale | Julien Ruaux, Redis Labs

What's hot (20)

PDF
A Thorough Comparison of Delta Lake, Iceberg and Hudi
PPTX
Databricks Platform.pptx
PDF
PDF
(2014년) Active Active 데이터센터
PDF
Federated Engine 실무적용사례
PDF
Working with JSON Data in PostgreSQL vs. MongoDB
PPTX
Intro to Azure Data Factory v1
PPTX
Apache Spark Architecture
PDF
Apache Spark on K8S and HDFS Security with Ilan Flonenko
PPTX
The Basics of MongoDB
PDF
NoSQL
PDF
webservice scaling for newbie
PDF
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
PDF
MongoDB Administration 101
PPT
Introduction to mongodb
PDF
My first 90 days with ClickHouse.pdf
PDF
The Patterns of Distributed Logging and Containers
PPTX
Quand utiliser MongoDB … Et quand vous en passer…
PDF
Introduction to MongoDB
PPTX
Compression Options in Hadoop - A Tale of Tradeoffs
A Thorough Comparison of Delta Lake, Iceberg and Hudi
Databricks Platform.pptx
(2014년) Active Active 데이터센터
Federated Engine 실무적용사례
Working with JSON Data in PostgreSQL vs. MongoDB
Intro to Azure Data Factory v1
Apache Spark Architecture
Apache Spark on K8S and HDFS Security with Ilan Flonenko
The Basics of MongoDB
NoSQL
webservice scaling for newbie
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
MongoDB Administration 101
Introduction to mongodb
My first 90 days with ClickHouse.pdf
The Patterns of Distributed Logging and Containers
Quand utiliser MongoDB … Et quand vous en passer…
Introduction to MongoDB
Compression Options in Hadoop - A Tale of Tradeoffs
Ad

Similar to Spring Caches with Protocol Buffers (20)

PPTX
Spark + Hadoop Perfect together
PDF
Fast and Simplified Streaming, Ad-Hoc and Batch Analytics with FiloDB and Spa...
PDF
Hopsworks - The Platform for Data-Intensive AI
PDF
Hopsworks - Self-Service Spark/Flink/Kafka/Hadoop
PPTX
Streaming Real-time Data to Azure Data Lake Storage Gen 2
PPTX
Meetup deeplearningitalia-milano-valerio-morfino
PDF
Equinix Big Data Platform and Cassandra - A view into the journey
PPT
JPA and Coherence with TopLink Grid
PDF
Enterprise Data Lakes
PPTX
Modern Data Warehousing with the Microsoft Analytics Platform System
PPT
PPTX
Speed it up and Spark it up at Intel
PPT
Climbing the beanstalk
PPTX
Zero ETL analytics with LLAP in Azure HDInsight
PPTX
How HPE 3PAR Can Help YOur Mission Critical on Cloud : Seminar Protecting Mi...
PPTX
Disaster Recovery in the Hadoop Ecosystem: Preparing for the Improbable
PPTX
Scabiv0.2
PDF
PDF
Resume_Weixiang Ding
DOCX
Soban_CV_0922.docx
Spark + Hadoop Perfect together
Fast and Simplified Streaming, Ad-Hoc and Batch Analytics with FiloDB and Spa...
Hopsworks - The Platform for Data-Intensive AI
Hopsworks - Self-Service Spark/Flink/Kafka/Hadoop
Streaming Real-time Data to Azure Data Lake Storage Gen 2
Meetup deeplearningitalia-milano-valerio-morfino
Equinix Big Data Platform and Cassandra - A view into the journey
JPA and Coherence with TopLink Grid
Enterprise Data Lakes
Modern Data Warehousing with the Microsoft Analytics Platform System
Speed it up and Spark it up at Intel
Climbing the beanstalk
Zero ETL analytics with LLAP in Azure HDInsight
How HPE 3PAR Can Help YOur Mission Critical on Cloud : Seminar Protecting Mi...
Disaster Recovery in the Hadoop Ecosystem: Preparing for the Improbable
Scabiv0.2
Resume_Weixiang Ding
Soban_CV_0922.docx
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
System and Network Administration Chapter 2
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
ai tools demonstartion for schools and inter college
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PPTX
L1 - Introduction to python Backend.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Nekopoi APK 2025 free lastest update
PPT
Introduction Database Management System for Course Database
wealthsignaloriginal-com-DS-text-... (1).pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
System and Network Administration Chapter 2
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
ai tools demonstartion for schools and inter college
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
L1 - Introduction to python Backend.pptx
Understanding Forklifts - TECH EHS Solution
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Which alternative to Crystal Reports is best for small or large businesses.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Navsoft: AI-Powered Business Solutions & Custom Software Development
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Operating system designcfffgfgggggggvggggggggg
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Design an Analysis of Algorithms I-SECS-1021-03
Nekopoi APK 2025 free lastest update
Introduction Database Management System for Course Database

Spring Caches with Protocol Buffers

  • 1. Spring Caches with Protocol Buffers SpringOne 02/09/2021 Katia Aresti Infinispan (Red Hat)
  • 2. Hi! I’m Katia Aresti 2 @karesti Senior Software Engineer 2017 Infinispan (Data Grid) 2019 Java Champion
  • 3. @karesti | Spring One 2021 @Cacheable @CacheEvict @CachePut @Caching @CacheConfig JCache EhCache Caffeine Infinispan Hazelcast Redis Couchebase ... Spring Cache
  • 4. @karesti | Spring One 2021 Infinispan (12.1.7.Final, 13.0.0.Dev04) 100% Open-Source, In-Memory Distributed Data (caches) Interoperability Resilient Fault Tolerant Data Clustered Processing Query ACID Tx
  • 5. @karesti | Spring One 2021 Hot Rod, Rest ... Data Infinispan Server Cluster Data Data Infinispan Client-Server Infinispan Spring-Boot Starter Infinispan JS Client Infinispan Java Client Infinispan C# Client
  • 6. @karesti | Spring One 2021 Marshalling and Data formats Data Stores the data - Java - Text, JSON, XML - Protobuf Uses a Marshaller - JavaMarshaller - StringMarshaller - ProtostreamMarshaller Serialized data 🔗 New Guide Available Protostream App
  • 7. @karesti | Spring One 2021 Infinispan Protostream API public class Customer { @ProtoFactory public Customer(String name...) { @ProtoField(number = 1) public String getName() { return name; } Customer.java package com.redhat; message Customer { optional string name = 1; ... ⚙ Protostream customer.proto https://github.com/infinispan/protostream
  • 8. @karesti | Spring One 2021 Spring Boot, Infinispan and Protobuf Caches demo Customers Service London Data
  • 9. @karesti | Spring One 2021 Spring Boot, Infinispan and Protobuf Caches demo Customers Service { "distributed-cache": { "backups": { "backup": { "site": "LON", "strategy": "SYNC", "failure-policy": "WARN" } }, London Data New York Data Cross-Site Replication
  • 10. @karesti | Spring One 2021 Thank You!!! Q & A @infinispan Infinispan documentation Building a real-time leaderboard with Red Hat Data Grid and Quarkus on a hybrid Kubernetes deployment SpringOne 2021 Demo Repository