Just like you! April, 2008
We wanted to INNOVATE
He wanted cheaper ways to sell hot dogs Merchant
We gave him low fees and no fixed cost Merchant
He wanted convenience Customer
We gave him confirmation at his own cell phone Merchant Customer
We gave him options to pay Merchant Customer
We gave him safety Merchant Customer
INNOVATE: Bring something new to an environment Merchant Customer
Then ... he wanted innovation in his business web merchant hotdog.com
We gave him simplicity web merchant hotdog.com
We gave him security web merchant hotdog.com Customer
INNOVATE: Produce something never done before web merchant hotdog.com Customer
Many wanted the same for their businesses
Many wanted the advantages of the transaction
A “whole lot” is happening every day
INNOVATE ... but DELIVER!
“No free lunch!” We wanted to Innovate, but we had to DELIVER
We had to choose right Start-up Agility Rapid growth Low cost Reliable Good history Open source Solid company On the Edge Cluster MySQL Carrier Grade
We had to scale wisely Internet GSM Network Web process Data center 01 Replication GSM Network Transactions
We had to scale wisely Internet GSM Network Transactions Web process Data center 02 Replication Data center 01
Our Data Center structure We had to build independency GSM Network Internet Our Data Center structure
Only necessary tables for authorization We had to use it to our advantage Reports Authorization CRM Credit Billing Proposal Collection Authorization R/W Only necessary tables for authorization R/W 26 SQL nodes 8 SQL nodes Replication 6 Data nodes 4 Data nodes Replication Replication R MyIsam Reports Data Center 02
We had to think towards the data 26 SQL nodes (also used to store historic data) 70% of the data Read only MyIsam 6 Data nodes (only current data) 30% of the data Read / Write Cluster
DELIVER: provide something promised DH&C Data Center 01 BRT Data Center 02 20 miles 10 MB METRO ETHERNET Master Slave Slave Master Master Slave Data Center 01 Data Center 02 Slave Master 2 MB MPLS
“A vision without action We innovated and delivered is just a Dream!” We innovated and delivered but it had to be REAL
Start-up reality: scalability ...we just replace it. If something goes wrong with a server... ...and the same happened with our servers. The number of clients started to grow...
Credit card reality: availability and performance working 24 x 7 # transactions per hour = 1040 # transactions per month = 750,000 amount per month = R$ 25,000,000.00 # proposals per month = 120,000 # proposals per day = 4,000 credit proposal troughput = 7 proposals per sec.
X X Financial transactions reality: reliability THAT`S WHAT WE USE Backup Database Lost Data Lost Business Backup Failed Restore X Replicated Database 0100011110 0101111000 0100011100 0100011110 0101111000 0100011100 0100011110 0101111000 0100011100 No lost data No lost business 0100011110 0101111000 0100011100 0100011110 0101111000 0100011100 X 0100011110 0101111000 0100011100 Failed Restore THAT`S WHAT WE USE
Start-up for credit service involving financial transactions REAL: something founded on practical matters Start-up for credit service involving financial transactions Scalability Availability MySQL Cluster 5.1 Carrier Grade Performance Reliability
We innovated, delivered and proved it real, but it was a CHALLENGE “No pain no gain!” We innovated, delivered and proved it real, but it was a CHALLENGE
and we still don’t have support contract What we’ve been through Totally possible Work Knowledge Consulting DATABASE TEAM DEVELOPMENT TEAM and we still don’t have support contract
What we’ve gotten from it High skilled team Freedom to create World Exposure MySQL Conference 2008
CHALLENGE: a stimulating situation
In the end ...
Some think it will INNOVATE
Others think it won’t be DELIVERED
Some may think it is UNREAL
Others understand the CHALLENGE
WE THINK IT IS A SUCCESS!