Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Bingo Bango Mongo

5ff4f1dbfd3888fba963ec7cc629e6f3?s=47 mthenw
February 09, 2013

Bingo Bango Mongo

Replication and sharding in MongoDB. 09.02.2013 meetphp.pl #8

5ff4f1dbfd3888fba963ec7cc629e6f3?s=128

mthenw

February 09, 2013
Tweet

More Decks by mthenw

Other Decks in Technology

Transcript

  1. bingo bango mongo replication and sharding in MongoDB

  2. Maciej Winnicki Senior PHP Developer @ Allegro Group @mthenw

  3. Mongo WHAT?

  4. agile scalable document-oriented high-performance open source NoSQL database

  5. data

  6. read/write app db

  7. data

  8. data

  9. You must scale!

  10. read/write app db

  11. read read/write master slave app

  12. read read/write app replica set master slave

  13. It was replication

  14. data

  15. read/write app replica set 1

  16. read/write app replica set 2 replica set 1 replica set

    3 read/write read/write
  17. Where is my data?

  18. a . . . z a . . g h

    . . n o . . z andy@gmail.com harry@mail.com oprah@cbs.com
  19. read/write app replica set 2 replica set 1 replica set

    3 read/write read/write mongos
  20. read/write app replica set 2 replica set 1 replica set

    3 read/write read/write mongos config
  21. It was sharding

  22. server down

  23. Thanks!

  24. ?