Your SlideShare is downloading. ×
October 2013 NYC Meetup
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

October 2013 NYC Meetup

301
views

Published on


These slides were used as part of an interactive talk/demo in New York. The video fills in the gaps: https://www.youtube.com/watch?v=cO197XEkcVo.

Abstract:

The move from scale-up to scale-out architectures has challenged developers to re-think database design. It's been a great forcing function, resulting in a number of systems that combine traditional database functionality with modern scaling capability. What is sometimes lost in that discussion, however, is how difficult it is to manage a distributed system.

In this talk I'll introduce you to the newly released NuoDB 2.0, a NewSQL database that can be distributed across data centers, and demonstrate why the user experience should be considered part of the criteria for judging scale.

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
301
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Keeping Pace with a Distributed Database ! Seth Proctor CTO Copyright © 2013 NuoDB
  • 2. Copyright © 2013 NuoDB !2
  • 3. NuoDB is a Distributed Database Copyright © 2013 NuoDB !3
  • 4. Simple; Composable Copyright © 2013 NuoDB !4
  • 5. Peers play one of two roles SQL Clients Host 1 Host 2 Transaction Engine Storage Manager Durable Store (KV) Copyright © 2013 NuoDB !5
  • 6. Scaled independently Host 1 Host 3 Transaction Engine Host 4 Transaction Engine Host 2 Transaction Engine Host 5 Storage Manager Storage Manager Copyright © 2013 NuoDB !6
  • 7. On-demand Copyright © 2013 NuoDB !7
  • 8. Adjust transactional throughput ‣ Add, move or remove TEs to ‣ Adjust for demand ‣ Migrate or upgrade active databases ‣ Re-adjust resources Copyright © 2013 NuoDB !8
  • 9. Add durability points Active Database: one SM running TE (Running) Active Database: add SM TE (Running) TE (Running) TE (Running) SM (Running) SM (Running) SM (Syncing) Archive Archive Archive Active Database: redundant archives TE (Running) TE (Running) SM (Running) SM (Running) Archive Archive Copyright © 2013 NuoDB !9
  • 10. React to failure Active Database: one TE fails TE (Running) Active Database: add TE TE (Running) TE (Fails) TE (Joining) SM (Running) SM (Running) Archive Archive Active Database: two TEs TE (Running) TE (Running) SM (Running) Archive Copyright © 2013 NuoDB !10
  • 11. Multi-tenant; Managed Copyright © 2013 NuoDB !11
  • 12. Installation == Provisioning ‣ Every host has a management agent ‣ ‣ ‣ Makes the host available Keeps track of local activity Some are “Connection Brokers” ‣ Load-balancer for SQL clients ‣ Single management point Copyright © 2013 NuoDB !12
  • 13. Independent databases Host 1 Host 2 Host 3 TE SM TE TE Host 4 Host 5 TE SM Host 6 SM TE SM TE EBS SM S3 EBS EBS HDFS Provisioned host Logically addressable Database Complete, independent archive Copyright © 2013 NuoDB !13
  • 14. http://dev.nuodb.com/techblog/ tags/moonshot Copyright © 2013 NuoDB !14
  • 15. And now, a few quick demos.. Copyright © 2013 NuoDB !15
  • 16. Templates Copyright © 2013 NuoDB !16
  • 17. One host { } "name" : "Single Host", "summary" : "...", "requirements" : [{ "processes" : [{ "type" : "SM", "host" : "${HOST}" },{ "type" : "TE", "host" : "${HOST}" }] }] Copyright © 2013 NuoDB !17
  • 18. Many hosts, one region { } "name" : "Multi Host", "summary" : "...", "requirements" : [{ "region" : "${REGION}", "processes" : [{ "type" : "SM", "min" : 1, "max" : 2 },{ "type" : "TE", "min" : 1, }] }] Copyright © 2013 NuoDB !18
  • 19. GET /api/1/templates Copyright © 2013 NuoDB !19
  • 20. GET /api/1/databases Copyright © 2013 NuoDB !20
  • 21. Statistics Copyright © 2013 NuoDB !21
  • 22. Java Stored Procedures Copyright © 2013 NuoDB !22
  • 23. Flexible Schema Copyright © 2013 NuoDB !23
  • 24. Want to learn more? ‣ http://dev.nuodb.com ‣ ‣ http://githib.com/nuodb ‣ ‣ Techblog, documentation & forums Community projects & APIs info@nuodb.com Copyright © 2013 NuoDB !24
  • 25. Thank You. Copyright © 2013 NuoDB