You are on page 1of 40

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

QuickTimeª and a
Animation decompressor
are needed to see this picture.

Merchant Customer
We gave him options to pay

QuickTimeª and a
Animation decompressor
are needed to see this picture.

Merchant Customer
We gave him safety

QuickTimeª and a
Animation decompressor
are needed to see this picture.

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

QuickTimeª and a
Animation decompressor
are needed to see this picture.

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

Reliable
Agility
Open source
Start-up Low cost On the Edge
Good history
Rapid growth
Solid company

Cluster MySQL Carrier Grade


We had to scale wisely
WebData
nsactions center 02
process 01

Internet

Replication

GSM
Network
We had to scale wisely
Data center 01

Web process

Internet

Replication
Data center 02

GSM
Network

Transactions
We had to build independency

GSM
Network

Internet

Our Data Center structure


We had to use it to our advantage
Reports Authorization

CRM
Credit Billing
Proposal Collection Authorization

R/W R/W

26 SQL nodes 8 SQL nodes

Replication

6 Data nodes 4 Data nodes

Only necessary tables for authorization

Replication

R
Replication
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
Slave Master
Master
DH&C
BRT Slave

DELIVER: provide something promised


Data Center 02
01

20 miles

10 MB METRO ETHERNET

Data Center 01 Data Center 02

2 MB MPLS
“A vision without action
is just a Dream!”
We innovated and delivered
but it had to be REAL
Start-up reality: scalability

...and the same happened with our


If
Thesomething
number
...we
of
goes
just
clients
wrong
replace
started
with
it. atoserver...
grow...
servers.
Credit card reality: availability and performance
QuickTimeª and a
Animation decompressor
are needed to see this picture.

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.
Financial transactions reality: reliability
Backup Database
Lost Data Lost Business

Backup Failed Restore

X
Replicated Database
0100011110 0100011110 0100011110
0101111000 0101111000 0101111000
0100011100 0100011100 0100011100
No lost data
and no lost
business

X
0100011110 0100011110 0100011110
0101111000 0101111000 0101111000
0100011100 0100011100 0100011100

Failed

THAT`S WHAT WE USE


MySQL
Cluster 5.1
REAL: something founded on practical matters
Carrier Grade

Start-up for credit service involving financial transactions

Scalability Availability

Performance Reliability
“No pain no gain!”
We innovated, delivered and
proved it real, but it was a
CHALLENGE
What we’ve been through

DEVELOPMENT
DATABASE
TEAM
Totally
possible
and we still don’t Knowledge
Consulting
haveWork
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!

You might also like