SlideShare a Scribd company logo
1 of 20
Download to read offline
Firenze, 
25 Settembre 
Loyalty 
cashback 
-­‐ 
Scaling 
with 
MongoDB 
Salvatore 
Incandela 
1
2 
About Me 
IT 
Architecture 
Agile 
Open 
Source 
NoSql 
R&D 
Security 
Big Data 
DDD 
CQRS 
Change 
Management 
Electronic 
Money 
Continous 
Improvement 
Organization 
Paybay - Copyright 2014 - All Right Reserved
3 
Agenda 
• Context 
• Problem Setting 
• Problem Solving 
• Problem Solved 
• MongoDb Focus 
• MongoDb Cluster Config 
• MongoDb Cluster Status 
• Our Loyalty Clients 
• Next Steps 
Paybay - Copyright 2014 - All Right Reserved
4 
Context 
Loyalty Cashback Program, how it works: 
Card Holder Buy Affiliated 
Merchant 
Acquires 
Transaction 
Bank 
Send 
Transaction 
Give Rewards 
Loyalty Platform 
Paybay - Copyright 2014 - All Right Reserved
5 
Context 
Big Loyalty Cashback Program 
Card Holder 
10Mln 50k+ 
Very Big!! 
2+Mln per day 
1,5+Mln per day 
50k+ per day 
1,5+Mln per day 
Buy Affiliated 
Merchant 
Acquires 
Transaction 
Bank 
Send 
Transaction 
Give Rewards 
Loyalty Platform 
Paybay - Copyright 2014 - All Right Reserved
6 
Context 
Big Loyalty Cashback Program 
Just for one Bank but… 
10Mln 50k+ 
Card Holder Buy Affiliated Merchant 
….the platform will be multitenant! 
Give Rewards Acquires Transactions 
Loyalty Platform Send Transactions Bank 
Very Big!! 
2+Mln per day 
1,5+Mln per day 
50k+ per day 
1,5+Mln per day 
Paybay - Copyright 2014 - All Right Reserved
7 
Problem Setting 
• Shared DataStores causes poor performances 
• FrontEnd performances 
• BackEnd performances 
• High scalability costs 
• Lack of Smart Business and Operational Analitics 
Paybay - Copyright 2014 - All Right Reserved
8 
Problem Setting 
WebApps 
RDBMS 
Batch Engine 
Core Services 
Data Acces Layer 
Performances 
Budget 
Mobile Web 
Services 
Analitics Is this solution economically sustainable? 
How to Scale the Data Store? 
Paybay - Copyright 2014 - All Right Reserved
9 
Problem Solving 
Performances 
WebApps Mobile Web 
Budget 
Batch Engine 
Analitics Core Services 
Data Acces Layer 
RDBMS 
RDBMS 
Services 
ß Not for Us 
Paybay - Copyright 2014 - All Right Reserved
10 
Problem Solving 
CQRS originally introduced by Greg Young 
The change that CQRS introduces is to split the conceptual model into 
separate models for update and display, which it refers to as Command 
and Query respectively following the vocabulary of 
CommandQuerySeparation. 
The rationale is that for many problems, particularly in more complicated 
domains, having the same conceptual model for commands and queries 
leads to a more complex model that does neither well. 
Martin Fowler 
http://martinfowler.com/bliki/CQRS.html 
Paybay - Copyright 2014 - All Right Reserved
11 
Problem Solving fase 1 
WebApps Mobile Web 
MongoDb 
Performances 
Budget 
Analitics 
Document Modeled 
Fast Reads to more performances 
Business Analitics collections 
Operational Analitics Collections 
E/R Modeled 
Reliable 
Strong Competencies 
CQRS Principle transitions 
Batch Engine 
Data Acces Layer 
Services 
Core Services Commands Reads 
ß Only for Fast Reads 
RDBMS 
Paybay - Copyright 2014 - All Right Reserved
12 
Problem Solved! 
WebApps Mobile Web 
MongoDb 
Performances 
Budget 
Analitics 
CQRS Principle transitions 
MongoDb MongoDb 
More Reliable configuration 
Batch Engine 
Core Services 
Data Acces Layer 
Services 
Commands Reads 
RDBMS 
Still used 
ß Only for Fast Reads 
RDBMS 
Paybay - Copyright 2014 - All Right Reserved
13 
MongoDb Focus 
Noteworthy 
• MondoDb is flexible schema 
• De-normalized 
• MMS: Monitoring, Backup tools 
• Database Metrics, HW Statistics 
• OOP Oriented no ORM Mappings 
MongoDb MongoDb MongoDb 
Paybay - Copyright 2014 - All Right Reserved
14 
MongoDb Cluster Config 
Cluster Configuration 
• 3 Node 
• Replica Set 
• 9 Collections (the biggest contains 700mln raw data) 
• Compound Index 
• Background indexes 
• TTL Indexes 
MongoDb MongoDb MongoDb 
Paybay - Copyright 2014 - All Right Reserved
15 
MongoDb Cluster Status 
Manage Tb of Data 
• Up and running about 3 years without fault 
• Increase Reads parformances up to 60% 
• Decrease costs about 70% 
• Self Learned: good documentations 
MongoDb MongoDb MongoDb 
Paybay - Copyright 2014 - All Right Reserved
16 
Our Loyalty Clients 
Paybay - Copyright 2014 - All Right Reserved
17 
Next Steps? 
We’ll adopt MongoDb as Fast Read DataStore 
for the entire Blue Tiger Platform 
MongoDb MongoDb MongoDb 
MongoDb MongoDb MongoDb 
MongoDb MongoDb MongoDb 
800Mln Trx per Year 
Loyalty 
Couponing 
Ticketing 
Payments 
Issuing 
150k Clients 
800k Trx per Year 
10Mln Trx per Year 
1Mln Cards per Year 
MongoDb MongoDb MongoDb 
MongoDb MongoDb MongoDb 
MongoDb MongoDb MongoDb 
MongoDb MongoDb MongoDb 
Paybay - Copyright 2014 - All Right Reserved
18 
Contacts 
{ name: “Salvatore Incandela”, 
twitter: “@sincandela”, 
email: “salvatore.incandela@paybay.it”, 
linkedin: “https://www.linkedin.com/in/salvatoreincandela”} 
Paybay - Copyright 2014 - All Right Reserved
Grazie
Q&A

More Related Content

Viewers also liked

Accenture-Banking-Opportunities-EU-PSD2-v2
Accenture-Banking-Opportunities-EU-PSD2-v2Accenture-Banking-Opportunities-EU-PSD2-v2
Accenture-Banking-Opportunities-EU-PSD2-v2Petri Syvänne
 
Progettazione App con funzioni banking
Progettazione App con funzioni bankingProgettazione App con funzioni banking
Progettazione App con funzioni bankingRoberta Gionni
 
Mobile technology: The ‘anytime, anywhere’ enabler of customer loyalty
Mobile technology: The ‘anytime, anywhere’ enabler of customer loyaltyMobile technology: The ‘anytime, anywhere’ enabler of customer loyalty
Mobile technology: The ‘anytime, anywhere’ enabler of customer loyaltyDeloitte Canada
 
The banking & Fintech app market in the UK
The banking & Fintech app market in the UKThe banking & Fintech app market in the UK
The banking & Fintech app market in the UKAT Internet
 
Reimagining enterprise IT: Shifting from technology provider to experience en...
Reimagining enterprise IT: Shifting from technology provider to experience en...Reimagining enterprise IT: Shifting from technology provider to experience en...
Reimagining enterprise IT: Shifting from technology provider to experience en...Meld Studios
 
Accenture-Banking-WithinReach
Accenture-Banking-WithinReachAccenture-Banking-WithinReach
Accenture-Banking-WithinReachMiceal Canavan
 
MOBILE APP BENCHMARK: TOP 10 MOBILE SHOPPING APPS IN THE US
MOBILE APP BENCHMARK: TOP 10 MOBILE SHOPPING APPS IN THE USMOBILE APP BENCHMARK: TOP 10 MOBILE SHOPPING APPS IN THE US
MOBILE APP BENCHMARK: TOP 10 MOBILE SHOPPING APPS IN THE USAT Internet
 
2017 Trust Barometer - Italian launch
2017 Trust Barometer - Italian launch2017 Trust Barometer - Italian launch
2017 Trust Barometer - Italian launchEdelman Italia
 
Predictive Data & Ambient Intelligence
Predictive Data & Ambient IntelligencePredictive Data & Ambient Intelligence
Predictive Data & Ambient IntelligenceEdelman
 
Ducati Dealer Communication System
Ducati Dealer Communication SystemDucati Dealer Communication System
Ducati Dealer Communication Systemaccenture
 
Wellness Trends To Watch - Brasil
Wellness Trends To Watch - BrasilWellness Trends To Watch - Brasil
Wellness Trends To Watch - BrasilEdelman
 
How Blockchain can bring Greater Value to Procure to Pay Processes
How Blockchain can bring Greater Value to Procure to Pay ProcessesHow Blockchain can bring Greater Value to Procure to Pay Processes
How Blockchain can bring Greater Value to Procure to Pay Processesaccenture
 
#CarnavalDeRua: Monitoramento de Mídias Digitais
#CarnavalDeRua: Monitoramento de Mídias Digitais#CarnavalDeRua: Monitoramento de Mídias Digitais
#CarnavalDeRua: Monitoramento de Mídias DigitaisEdelman
 
Cross-selling in the New Era: A Win-win for Banks and Customers
Cross-selling in the New Era: A Win-win for Banks and CustomersCross-selling in the New Era: A Win-win for Banks and Customers
Cross-selling in the New Era: A Win-win for Banks and Customersaccenture
 
Investment Banking Technology: Jettisoning Legacy Architectures
Investment Banking Technology: Jettisoning Legacy ArchitecturesInvestment Banking Technology: Jettisoning Legacy Architectures
Investment Banking Technology: Jettisoning Legacy Architecturesaccenture
 
PAY2U investment brief
PAY2U investment briefPAY2U investment brief
PAY2U investment briefpay2u
 
The Value Game-Changer: Digital Performance in The Post and Parcel Industry
The Value Game-Changer: Digital Performance in The Post and Parcel IndustryThe Value Game-Changer: Digital Performance in The Post and Parcel Industry
The Value Game-Changer: Digital Performance in The Post and Parcel Industryaccenture
 
Digital disruption: Embracing an Integrated Digital Ecosystem
Digital disruption: Embracing an Integrated Digital EcosystemDigital disruption: Embracing an Integrated Digital Ecosystem
Digital disruption: Embracing an Integrated Digital Ecosystemaccenture
 
MOBILE APP BENCHMARK: DER E-COMMERCE-APP-MARKT IN DEUTSCHLAND
MOBILE APP BENCHMARK: DER E-COMMERCE-APP-MARKT IN DEUTSCHLANDMOBILE APP BENCHMARK: DER E-COMMERCE-APP-MARKT IN DEUTSCHLAND
MOBILE APP BENCHMARK: DER E-COMMERCE-APP-MARKT IN DEUTSCHLANDAT Internet
 
2017 Edelman Trust Barometer - Technology
2017 Edelman Trust Barometer - Technology2017 Edelman Trust Barometer - Technology
2017 Edelman Trust Barometer - TechnologyEdelman
 

Viewers also liked (20)

Accenture-Banking-Opportunities-EU-PSD2-v2
Accenture-Banking-Opportunities-EU-PSD2-v2Accenture-Banking-Opportunities-EU-PSD2-v2
Accenture-Banking-Opportunities-EU-PSD2-v2
 
Progettazione App con funzioni banking
Progettazione App con funzioni bankingProgettazione App con funzioni banking
Progettazione App con funzioni banking
 
Mobile technology: The ‘anytime, anywhere’ enabler of customer loyalty
Mobile technology: The ‘anytime, anywhere’ enabler of customer loyaltyMobile technology: The ‘anytime, anywhere’ enabler of customer loyalty
Mobile technology: The ‘anytime, anywhere’ enabler of customer loyalty
 
The banking & Fintech app market in the UK
The banking & Fintech app market in the UKThe banking & Fintech app market in the UK
The banking & Fintech app market in the UK
 
Reimagining enterprise IT: Shifting from technology provider to experience en...
Reimagining enterprise IT: Shifting from technology provider to experience en...Reimagining enterprise IT: Shifting from technology provider to experience en...
Reimagining enterprise IT: Shifting from technology provider to experience en...
 
Accenture-Banking-WithinReach
Accenture-Banking-WithinReachAccenture-Banking-WithinReach
Accenture-Banking-WithinReach
 
MOBILE APP BENCHMARK: TOP 10 MOBILE SHOPPING APPS IN THE US
MOBILE APP BENCHMARK: TOP 10 MOBILE SHOPPING APPS IN THE USMOBILE APP BENCHMARK: TOP 10 MOBILE SHOPPING APPS IN THE US
MOBILE APP BENCHMARK: TOP 10 MOBILE SHOPPING APPS IN THE US
 
2017 Trust Barometer - Italian launch
2017 Trust Barometer - Italian launch2017 Trust Barometer - Italian launch
2017 Trust Barometer - Italian launch
 
Predictive Data & Ambient Intelligence
Predictive Data & Ambient IntelligencePredictive Data & Ambient Intelligence
Predictive Data & Ambient Intelligence
 
Ducati Dealer Communication System
Ducati Dealer Communication SystemDucati Dealer Communication System
Ducati Dealer Communication System
 
Wellness Trends To Watch - Brasil
Wellness Trends To Watch - BrasilWellness Trends To Watch - Brasil
Wellness Trends To Watch - Brasil
 
How Blockchain can bring Greater Value to Procure to Pay Processes
How Blockchain can bring Greater Value to Procure to Pay ProcessesHow Blockchain can bring Greater Value to Procure to Pay Processes
How Blockchain can bring Greater Value to Procure to Pay Processes
 
#CarnavalDeRua: Monitoramento de Mídias Digitais
#CarnavalDeRua: Monitoramento de Mídias Digitais#CarnavalDeRua: Monitoramento de Mídias Digitais
#CarnavalDeRua: Monitoramento de Mídias Digitais
 
Cross-selling in the New Era: A Win-win for Banks and Customers
Cross-selling in the New Era: A Win-win for Banks and CustomersCross-selling in the New Era: A Win-win for Banks and Customers
Cross-selling in the New Era: A Win-win for Banks and Customers
 
Investment Banking Technology: Jettisoning Legacy Architectures
Investment Banking Technology: Jettisoning Legacy ArchitecturesInvestment Banking Technology: Jettisoning Legacy Architectures
Investment Banking Technology: Jettisoning Legacy Architectures
 
PAY2U investment brief
PAY2U investment briefPAY2U investment brief
PAY2U investment brief
 
The Value Game-Changer: Digital Performance in The Post and Parcel Industry
The Value Game-Changer: Digital Performance in The Post and Parcel IndustryThe Value Game-Changer: Digital Performance in The Post and Parcel Industry
The Value Game-Changer: Digital Performance in The Post and Parcel Industry
 
Digital disruption: Embracing an Integrated Digital Ecosystem
Digital disruption: Embracing an Integrated Digital EcosystemDigital disruption: Embracing an Integrated Digital Ecosystem
Digital disruption: Embracing an Integrated Digital Ecosystem
 
MOBILE APP BENCHMARK: DER E-COMMERCE-APP-MARKT IN DEUTSCHLAND
MOBILE APP BENCHMARK: DER E-COMMERCE-APP-MARKT IN DEUTSCHLANDMOBILE APP BENCHMARK: DER E-COMMERCE-APP-MARKT IN DEUTSCHLAND
MOBILE APP BENCHMARK: DER E-COMMERCE-APP-MARKT IN DEUTSCHLAND
 
2017 Edelman Trust Barometer - Technology
2017 Edelman Trust Barometer - Technology2017 Edelman Trust Barometer - Technology
2017 Edelman Trust Barometer - Technology
 

Similar to Salvatore Incandela "Loyalty cashback - Scaling with MongoDB"

Replacing Traditional Technologies with MongoDB: A Single Platform for All Fi...
Replacing Traditional Technologies with MongoDB: A Single Platform for All Fi...Replacing Traditional Technologies with MongoDB: A Single Platform for All Fi...
Replacing Traditional Technologies with MongoDB: A Single Platform for All Fi...MongoDB
 
In memory computing principles by Mac Moore of GridGain
In memory computing principles by Mac Moore of GridGainIn memory computing principles by Mac Moore of GridGain
In memory computing principles by Mac Moore of GridGainData Con LA
 
Data flow in the data center
Data flow in the data centerData flow in the data center
Data flow in the data centerAdam Cataldo
 
2019 StartIT - Boosting your performance with Blackfire
2019 StartIT - Boosting your performance with Blackfire2019 StartIT - Boosting your performance with Blackfire
2019 StartIT - Boosting your performance with BlackfireMarko Mitranić
 
Webinar: Enterprise Trends for Database-as-a-Service
Webinar: Enterprise Trends for Database-as-a-ServiceWebinar: Enterprise Trends for Database-as-a-Service
Webinar: Enterprise Trends for Database-as-a-ServiceMongoDB
 
Key Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to PostgresKey Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to PostgresEDB
 
Edge 2014: Maintaining the Balance: Getting the Most of Your CDN with IKEA
Edge 2014: Maintaining the Balance: Getting the Most of Your CDN with IKEAEdge 2014: Maintaining the Balance: Getting the Most of Your CDN with IKEA
Edge 2014: Maintaining the Balance: Getting the Most of Your CDN with IKEAAkamai Technologies
 
Webinar: Elevate Your Enterprise Architecture with In-Memory Computing
Webinar: Elevate Your Enterprise Architecture with In-Memory ComputingWebinar: Elevate Your Enterprise Architecture with In-Memory Computing
Webinar: Elevate Your Enterprise Architecture with In-Memory ComputingMongoDB
 
WSO2Con US 2013 - Connected Business - making it happen
WSO2Con US 2013 - Connected Business - making it happenWSO2Con US 2013 - Connected Business - making it happen
WSO2Con US 2013 - Connected Business - making it happenWSO2
 
MongoDB Evenings Houston: Implementing EDW Using MongoDB by Purvesh Patel, Ch...
MongoDB Evenings Houston: Implementing EDW Using MongoDB by Purvesh Patel, Ch...MongoDB Evenings Houston: Implementing EDW Using MongoDB by Purvesh Patel, Ch...
MongoDB Evenings Houston: Implementing EDW Using MongoDB by Purvesh Patel, Ch...MongoDB
 
Overcoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBOvercoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBMongoDB
 
MongoDB .local Chicago 2019: MongoDB – Powering the new age data demands
MongoDB .local Chicago 2019: MongoDB – Powering the new age data demandsMongoDB .local Chicago 2019: MongoDB – Powering the new age data demands
MongoDB .local Chicago 2019: MongoDB – Powering the new age data demandsMongoDB
 
The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013RightScale
 
MongoDB Breakfast Milan - Mainframe Offloading Strategies
MongoDB Breakfast Milan -  Mainframe Offloading StrategiesMongoDB Breakfast Milan -  Mainframe Offloading Strategies
MongoDB Breakfast Milan - Mainframe Offloading StrategiesMongoDB
 
2013 CPM Conference, Nov 6th, NoSQL Capacity Planning
2013 CPM Conference, Nov 6th, NoSQL Capacity Planning2013 CPM Conference, Nov 6th, NoSQL Capacity Planning
2013 CPM Conference, Nov 6th, NoSQL Capacity Planningasya999
 
MongoDB World 2019: Unleash the Power of the MongoDB Aggregation Framework
MongoDB World 2019: Unleash the Power of the MongoDB Aggregation FrameworkMongoDB World 2019: Unleash the Power of the MongoDB Aggregation Framework
MongoDB World 2019: Unleash the Power of the MongoDB Aggregation FrameworkMongoDB
 
How to Place Data at the Center of Digital Transformation in BFSI
How to Place Data at the Center of Digital Transformation in BFSIHow to Place Data at the Center of Digital Transformation in BFSI
How to Place Data at the Center of Digital Transformation in BFSIDenodo
 
Single view with_mongo_db_(lo)
Single view with_mongo_db_(lo)Single view with_mongo_db_(lo)
Single view with_mongo_db_(lo)MongoDB
 
Myths & Reality - Choose a DBMS tailored to your use cases
Myths & Reality - Choose a DBMS tailored to your use casesMyths & Reality - Choose a DBMS tailored to your use cases
Myths & Reality - Choose a DBMS tailored to your use casesOVHcloud
 

Similar to Salvatore Incandela "Loyalty cashback - Scaling with MongoDB" (20)

Replacing Traditional Technologies with MongoDB: A Single Platform for All Fi...
Replacing Traditional Technologies with MongoDB: A Single Platform for All Fi...Replacing Traditional Technologies with MongoDB: A Single Platform for All Fi...
Replacing Traditional Technologies with MongoDB: A Single Platform for All Fi...
 
In memory computing principles by Mac Moore of GridGain
In memory computing principles by Mac Moore of GridGainIn memory computing principles by Mac Moore of GridGain
In memory computing principles by Mac Moore of GridGain
 
Data flow in the data center
Data flow in the data centerData flow in the data center
Data flow in the data center
 
2019 StartIT - Boosting your performance with Blackfire
2019 StartIT - Boosting your performance with Blackfire2019 StartIT - Boosting your performance with Blackfire
2019 StartIT - Boosting your performance with Blackfire
 
Webinar: Enterprise Trends for Database-as-a-Service
Webinar: Enterprise Trends for Database-as-a-ServiceWebinar: Enterprise Trends for Database-as-a-Service
Webinar: Enterprise Trends for Database-as-a-Service
 
Key Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to PostgresKey Methodologies for Migrating from Oracle to Postgres
Key Methodologies for Migrating from Oracle to Postgres
 
Edge 2014: Maintaining the Balance: Getting the Most of Your CDN with IKEA
Edge 2014: Maintaining the Balance: Getting the Most of Your CDN with IKEAEdge 2014: Maintaining the Balance: Getting the Most of Your CDN with IKEA
Edge 2014: Maintaining the Balance: Getting the Most of Your CDN with IKEA
 
Webinar: Elevate Your Enterprise Architecture with In-Memory Computing
Webinar: Elevate Your Enterprise Architecture with In-Memory ComputingWebinar: Elevate Your Enterprise Architecture with In-Memory Computing
Webinar: Elevate Your Enterprise Architecture with In-Memory Computing
 
Dataweek-Talk-2014
Dataweek-Talk-2014Dataweek-Talk-2014
Dataweek-Talk-2014
 
WSO2Con US 2013 - Connected Business - making it happen
WSO2Con US 2013 - Connected Business - making it happenWSO2Con US 2013 - Connected Business - making it happen
WSO2Con US 2013 - Connected Business - making it happen
 
MongoDB Evenings Houston: Implementing EDW Using MongoDB by Purvesh Patel, Ch...
MongoDB Evenings Houston: Implementing EDW Using MongoDB by Purvesh Patel, Ch...MongoDB Evenings Houston: Implementing EDW Using MongoDB by Purvesh Patel, Ch...
MongoDB Evenings Houston: Implementing EDW Using MongoDB by Purvesh Patel, Ch...
 
Overcoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBOvercoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDB
 
MongoDB .local Chicago 2019: MongoDB – Powering the new age data demands
MongoDB .local Chicago 2019: MongoDB – Powering the new age data demandsMongoDB .local Chicago 2019: MongoDB – Powering the new age data demands
MongoDB .local Chicago 2019: MongoDB – Powering the new age data demands
 
The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013
 
MongoDB Breakfast Milan - Mainframe Offloading Strategies
MongoDB Breakfast Milan -  Mainframe Offloading StrategiesMongoDB Breakfast Milan -  Mainframe Offloading Strategies
MongoDB Breakfast Milan - Mainframe Offloading Strategies
 
2013 CPM Conference, Nov 6th, NoSQL Capacity Planning
2013 CPM Conference, Nov 6th, NoSQL Capacity Planning2013 CPM Conference, Nov 6th, NoSQL Capacity Planning
2013 CPM Conference, Nov 6th, NoSQL Capacity Planning
 
MongoDB World 2019: Unleash the Power of the MongoDB Aggregation Framework
MongoDB World 2019: Unleash the Power of the MongoDB Aggregation FrameworkMongoDB World 2019: Unleash the Power of the MongoDB Aggregation Framework
MongoDB World 2019: Unleash the Power of the MongoDB Aggregation Framework
 
How to Place Data at the Center of Digital Transformation in BFSI
How to Place Data at the Center of Digital Transformation in BFSIHow to Place Data at the Center of Digital Transformation in BFSI
How to Place Data at the Center of Digital Transformation in BFSI
 
Single view with_mongo_db_(lo)
Single view with_mongo_db_(lo)Single view with_mongo_db_(lo)
Single view with_mongo_db_(lo)
 
Myths & Reality - Choose a DBMS tailored to your use cases
Myths & Reality - Choose a DBMS tailored to your use casesMyths & Reality - Choose a DBMS tailored to your use cases
Myths & Reality - Choose a DBMS tailored to your use cases
 

More from Paybay

Gamification in the world of digital marketing
Gamification in the world of digital marketing Gamification in the world of digital marketing
Gamification in the world of digital marketing Paybay
 
Darktrace e paybay
 Darktrace e paybay Darktrace e paybay
Darktrace e paybayPaybay
 
Estratto ticketmat comunicazione_27-01-15
Estratto ticketmat comunicazione_27-01-15Estratto ticketmat comunicazione_27-01-15
Estratto ticketmat comunicazione_27-01-15Paybay
 
Rassegna smaterializzazione buoni cartacei
Rassegna   smaterializzazione buoni cartaceiRassegna   smaterializzazione buoni cartacei
Rassegna smaterializzazione buoni cartaceiPaybay
 
Paybay and Movenda partnership
Paybay and Movenda partnershipPaybay and Movenda partnership
Paybay and Movenda partnershipPaybay
 
Digital Couponing
 Digital Couponing Digital Couponing
Digital CouponingPaybay
 
Gamification
GamificationGamification
GamificationPaybay
 
Infografica mobile trend copia4
Infografica mobile trend copia4Infografica mobile trend copia4
Infografica mobile trend copia4Paybay
 

More from Paybay (8)

Gamification in the world of digital marketing
Gamification in the world of digital marketing Gamification in the world of digital marketing
Gamification in the world of digital marketing
 
Darktrace e paybay
 Darktrace e paybay Darktrace e paybay
Darktrace e paybay
 
Estratto ticketmat comunicazione_27-01-15
Estratto ticketmat comunicazione_27-01-15Estratto ticketmat comunicazione_27-01-15
Estratto ticketmat comunicazione_27-01-15
 
Rassegna smaterializzazione buoni cartacei
Rassegna   smaterializzazione buoni cartaceiRassegna   smaterializzazione buoni cartacei
Rassegna smaterializzazione buoni cartacei
 
Paybay and Movenda partnership
Paybay and Movenda partnershipPaybay and Movenda partnership
Paybay and Movenda partnership
 
Digital Couponing
 Digital Couponing Digital Couponing
Digital Couponing
 
Gamification
GamificationGamification
Gamification
 
Infografica mobile trend copia4
Infografica mobile trend copia4Infografica mobile trend copia4
Infografica mobile trend copia4
 

Recently uploaded

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
WSO2Con2024 - Low-Code Integration Tooling
WSO2Con2024 - Low-Code Integration ToolingWSO2Con2024 - Low-Code Integration Tooling
WSO2Con2024 - Low-Code Integration ToolingWSO2
 
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million PeopleWSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million PeopleWSO2
 
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2
 
WSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2
 
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...WSO2
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2
 
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...WSO2
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2
 
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfAzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfryanfarris8
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2
 

Recently uploaded (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2Con2024 - Low-Code Integration Tooling
WSO2Con2024 - Low-Code Integration ToolingWSO2Con2024 - Low-Code Integration Tooling
WSO2Con2024 - Low-Code Integration Tooling
 
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million PeopleWSO2Con2024 - Unleashing the Financial Potential of 13 Million People
WSO2Con2024 - Unleashing the Financial Potential of 13 Million People
 
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
WSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - KanchanaWSO2Con2024 - Hello Choreo Presentation - Kanchana
WSO2Con2024 - Hello Choreo Presentation - Kanchana
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
WSO2Con2024 - Simplified Integration: Unveiling the Latest Features in WSO2 L...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
WSO2CON 2024 - Lessons from the Field: Legacy Platforms – It's Time to Let Go...
 
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
WSO2Con2024 - Navigating the Digital Landscape: Transforming Healthcare with ...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
 
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdfAzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
AzureNativeQumulo_HPC_Cloud_Native_Benchmarks.pdf
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 

Salvatore Incandela "Loyalty cashback - Scaling with MongoDB"

  • 1. Firenze, 25 Settembre Loyalty cashback -­‐ Scaling with MongoDB Salvatore Incandela 1
  • 2. 2 About Me IT Architecture Agile Open Source NoSql R&D Security Big Data DDD CQRS Change Management Electronic Money Continous Improvement Organization Paybay - Copyright 2014 - All Right Reserved
  • 3. 3 Agenda • Context • Problem Setting • Problem Solving • Problem Solved • MongoDb Focus • MongoDb Cluster Config • MongoDb Cluster Status • Our Loyalty Clients • Next Steps Paybay - Copyright 2014 - All Right Reserved
  • 4. 4 Context Loyalty Cashback Program, how it works: Card Holder Buy Affiliated Merchant Acquires Transaction Bank Send Transaction Give Rewards Loyalty Platform Paybay - Copyright 2014 - All Right Reserved
  • 5. 5 Context Big Loyalty Cashback Program Card Holder 10Mln 50k+ Very Big!! 2+Mln per day 1,5+Mln per day 50k+ per day 1,5+Mln per day Buy Affiliated Merchant Acquires Transaction Bank Send Transaction Give Rewards Loyalty Platform Paybay - Copyright 2014 - All Right Reserved
  • 6. 6 Context Big Loyalty Cashback Program Just for one Bank but… 10Mln 50k+ Card Holder Buy Affiliated Merchant ….the platform will be multitenant! Give Rewards Acquires Transactions Loyalty Platform Send Transactions Bank Very Big!! 2+Mln per day 1,5+Mln per day 50k+ per day 1,5+Mln per day Paybay - Copyright 2014 - All Right Reserved
  • 7. 7 Problem Setting • Shared DataStores causes poor performances • FrontEnd performances • BackEnd performances • High scalability costs • Lack of Smart Business and Operational Analitics Paybay - Copyright 2014 - All Right Reserved
  • 8. 8 Problem Setting WebApps RDBMS Batch Engine Core Services Data Acces Layer Performances Budget Mobile Web Services Analitics Is this solution economically sustainable? How to Scale the Data Store? Paybay - Copyright 2014 - All Right Reserved
  • 9. 9 Problem Solving Performances WebApps Mobile Web Budget Batch Engine Analitics Core Services Data Acces Layer RDBMS RDBMS Services ß Not for Us Paybay - Copyright 2014 - All Right Reserved
  • 10. 10 Problem Solving CQRS originally introduced by Greg Young The change that CQRS introduces is to split the conceptual model into separate models for update and display, which it refers to as Command and Query respectively following the vocabulary of CommandQuerySeparation. The rationale is that for many problems, particularly in more complicated domains, having the same conceptual model for commands and queries leads to a more complex model that does neither well. Martin Fowler http://martinfowler.com/bliki/CQRS.html Paybay - Copyright 2014 - All Right Reserved
  • 11. 11 Problem Solving fase 1 WebApps Mobile Web MongoDb Performances Budget Analitics Document Modeled Fast Reads to more performances Business Analitics collections Operational Analitics Collections E/R Modeled Reliable Strong Competencies CQRS Principle transitions Batch Engine Data Acces Layer Services Core Services Commands Reads ß Only for Fast Reads RDBMS Paybay - Copyright 2014 - All Right Reserved
  • 12. 12 Problem Solved! WebApps Mobile Web MongoDb Performances Budget Analitics CQRS Principle transitions MongoDb MongoDb More Reliable configuration Batch Engine Core Services Data Acces Layer Services Commands Reads RDBMS Still used ß Only for Fast Reads RDBMS Paybay - Copyright 2014 - All Right Reserved
  • 13. 13 MongoDb Focus Noteworthy • MondoDb is flexible schema • De-normalized • MMS: Monitoring, Backup tools • Database Metrics, HW Statistics • OOP Oriented no ORM Mappings MongoDb MongoDb MongoDb Paybay - Copyright 2014 - All Right Reserved
  • 14. 14 MongoDb Cluster Config Cluster Configuration • 3 Node • Replica Set • 9 Collections (the biggest contains 700mln raw data) • Compound Index • Background indexes • TTL Indexes MongoDb MongoDb MongoDb Paybay - Copyright 2014 - All Right Reserved
  • 15. 15 MongoDb Cluster Status Manage Tb of Data • Up and running about 3 years without fault • Increase Reads parformances up to 60% • Decrease costs about 70% • Self Learned: good documentations MongoDb MongoDb MongoDb Paybay - Copyright 2014 - All Right Reserved
  • 16. 16 Our Loyalty Clients Paybay - Copyright 2014 - All Right Reserved
  • 17. 17 Next Steps? We’ll adopt MongoDb as Fast Read DataStore for the entire Blue Tiger Platform MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb 800Mln Trx per Year Loyalty Couponing Ticketing Payments Issuing 150k Clients 800k Trx per Year 10Mln Trx per Year 1Mln Cards per Year MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb MongoDb Paybay - Copyright 2014 - All Right Reserved
  • 18. 18 Contacts { name: “Salvatore Incandela”, twitter: “@sincandela”, email: “salvatore.incandela@paybay.it”, linkedin: “https://www.linkedin.com/in/salvatoreincandela”} Paybay - Copyright 2014 - All Right Reserved
  • 20. Q&A