Slides from my presentation at Cassandra Summit Europe 2013.
Every year more and more people buy their Christmas gifts online and that gifts are delivered by the postal service of France "La Poste".
At the end of the infrastructure a (not so) little MySQL was struggling for survival against that overwhelming load.
Then, in 2011, MySQL hit its limit... Come hear the true story of La Poste switching its parcel management, PHP-based application, from MySQL to Cassandra in 3 weeks.
You'll be taught about the details of the project constraints, how to use Cassandra from PHP, the migration plan, how to manage resilience testing, deploy your Cassandra with Puppet, and all the wonderful knowledge we accumulate through this project.
3. From Mysql to Cassandra
Overview
1
2
3
4
Context
Why ?
How ?
Go Live!
Delivering parcels at
La Poste
Why do we need
another system ?
Project’s constraints
and alternatives
How we build our
solution. Using C*
with PHP and
managing TTL
Provisioning servers.
Performance and
resilience testing
|
www.xebia.fr | http://blog.xebia.fr | #CassandraEU
Telephone : 33 (0)1 53 89 99 99 | email : info@xebia.fr | 156 bd Haussmann - 75008 Paris
3
4. La Poste
Mail services
Parcels distribution
More than 250 000 employees
70 000 postmen delivering parcels
|
www.xebia.fr | http://blog.xebia.fr | #CassandraEU
Telephone : 33 (0)1 53 89 99 99 | email : info@xebia.fr | 156 bd Haussmann - 75008 Paris
4
5. La Poste
Postman’s tour
(1) A postman scans every parcels
Print
Scan
(2) He prints his list of parcels
(3) He distributes the parcels
(4) He scans every remaining parcels
Distribute
Scan
|
www.xebia.fr | http://blog.xebia.fr | #CassandraEU
Telephone : 33 (0)1 53 89 99 99 | email : info@xebia.fr | 156 bd Haussmann - 75008 Paris
5
7. Why do we need another system ?
|
www.xebia.fr | http://blog.xebia.fr | #CassandraEU
Telephone : 33 (0)1 53 89 99 99 | email : info@xebia.fr | 156 bd Haussmann - 75008 Paris
7
8. Project’s constraints
Max 13ms per call
15 days of retention for data
Easy to deploy and operate
Easy to scale for years to come
|
www.xebia.fr | http://blog.xebia.fr | #CassandraEU
Telephone : 33 (0)1 53 89 99 99 | email : info@xebia.fr | 156 bd Haussmann - 75008 Paris
8
23. Thanks !
Thank you for trusting
me on Cassandra (and
everything else)!
|
Thank you for the
support !
Thank you for the
opportunity to work at
La Poste !
www.xebia.fr | http://blog.xebia.fr | #CassandraEU
Telephone : 33 (0)1 53 89 99 99 | email : info@xebia.fr | 156 bd Haussmann - 75008 Paris
23