13.01.2013 Views

Managing large sharded MySQL topologies with Jetpants - Percona

Managing large sharded MySQL topologies with Jetpants - Percona

Managing large sharded MySQL topologies with Jetpants - Percona

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Auto-sharding in <strong>MySQL</strong>?!?<br />

• Hypothetical, and not necessarily recommended<br />

• Would probably would be < 500 lines of Ruby code in a cloud<br />

environment<br />

• Develop a daemon process using <strong>Jetpants</strong> as a library<br />

• Monitor shard sizes and peak I/O utilization; use shard#split method on<br />

worst offender if over a certain size or load<br />

• Would need ability to automatically deploy app configuration changes<br />

• Would need ability to monitor spare host list size, and spin up new<br />

nodes when needed<br />

<strong>Managing</strong> <strong>large</strong> <strong>sharded</strong> <strong>topologies</strong> <strong>with</strong> <strong>Jetpants</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!