Slide 1

Slide 1 text

Riak intro RICON 2012 report 2013/3/12 Riak Meetup Tokyo @ Roppongi Midtown Yahoo!JAPAN #riakjp

Slide 2

Slide 2 text

•্੢߁ଠ @kuenishi •Bashoδϟύϯגࣜձࣾ •෼ࢄγεςϜͷݚڀ΍։ൃΛ5೥͘Β͍ •೔ຊ๏ਓ͕9݄ʹͰ͖ͨ ͓લɺ୭Α

Slide 3

Slide 3 text

ۓٸΞϯέʔτ • RiakΛฉ͍ͨ͜ͱ͕͋Δ [Y/y]? • RiakΛ͢Ͱʹ࢖͍ͬͯΔ [y/n]? • ϗϯτʹ࢖͑Δͷʁͱٙ໰ʹࢥ͍ͬͯΔ [Y/n]?

Slide 4

Slide 4 text

• DynamoʹΠϯεύΠϠ͞Εͨ • Consistent HashingʹΑΓਫฏ෼ࢄ͢Δ • Vector ClocksΛ༻͍ͯϨϓϦέʔγϣϯ͠ • Erlang/OTPͰಈ࡞͢Δ • ෼ࢄKVSͰ͋Δ WikiPedia: Vector Clocks

Slide 5

Slide 5 text

Consistent Hashing and Replicas / Vector Clocks Link Walking Gossiping Append-only stores Virtual Nodes / Handoff and Rebalancing HTTP / Protocol Buffers Secondary Index / MapReduce

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

• Riakͷ্Ͱಈ࡞͢Δ • εέʔϧΞ΢τՄೳͰ • AWS S3ޓ׵ͷAPIΛ࣋ͪ • Erlang/OTPͰಈ࡞͢Δ • Ϋϥ΢υετϨʔδ Clouds and Storages by cowlishaw, on Flickr

Slide 10

Slide 10 text

• ෼ࢄγεςϜɺ෼ࢄDBͷΠϯμετϦΞϧͳ ΧϯϑΝϨϯε • Bashoओ࠵ͳͷͰRiak੒෼ଟΊ • Riak͚ͩ͡Όͳ͍ˍRiakҎ֎ͷਓ΋Welcome • ࣄྫ΋ଟ͍

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

େ͖͘෼ྨ͢Δͱ… • Riakͷࣄྫͷ࿩ by αʔϏεΛ࡞͍ͬͯΔਓ • Riakʹؔ܎͢Δ࿩ by αʔϏεΛ࡞͍ͬͯΔਓ • Riakͷத਎ͷ࿩ by Basho Eng. • ෼ࢄγεςϜͷࣄྫɾ঺հɾྺ࢙ͳͲ

Slide 15

Slide 15 text

Riakࣄྫͷ࿩

Slide 16

Slide 16 text

Building a Transaction Logs-based Protocol on Riak (Will Moss and Tim Douglas) • BumpͰ͸2010ʙ2012ʹ͔͚ͯɺMongoDBΛ ΍ΊͯRiakʹͨ͠ • FlockͰ͸΋ͪΖΜRiak • ෳ਺ͷϨίʔυʢϢʔβɺΠϕϯτʣΛߋ৽͢ ΔͨΊʹLocking͢ΔϚγϯΛ1୆͚ͩ༻ҙ • Conflict resolution͸montage http://vimeo.com/53550624

Slide 17

Slide 17 text

Pattern of Innovation: Riak Usage at Best Buy (Joel Crabb) • Amazon, Walmartʹ͙࣍શถୈ3Ґͷখച • Product CatalogΛRiakͰ • RiakͷΑ͏ͳ৽͍͠ϞϊΛଞࣾʹઌۦ͚ͯͲ ͏΍ͬͯಋೖ͢Δ͔ɺ·ͨ͸Πϊϕʔγϣϯ Λى͜͢ํ๏ http://vimeo.com/54384814

Slide 18

Slide 18 text

Migrating from MySQL to Riak (George Resse) • enStratus • ෳ਺ͷΫϥ΢υΛ੾Γସ͑ͨΓ૊Έ߹Θͤͯ ࢖͑ΔΑ͏ʹ͢ΔαʔϏε • Ϋϥ΢υͷσʔλΛΩϟογϡͨ͠Γ͢Δͷ ͰɺMySQLͰ͸εέʔϧ͠ͳ͍ • Dasein Persistence as “ORM” • 2i+MapReduceΘΓͱΑ͍Α http://vimeo.com/54887751

Slide 19

Slide 19 text

Big Data in the Small (Michael Bevilacqua-Linn) • xfinity.com at Comcast • NetflixΈ͍ͨͳαʔϏεʢຊՈʁݩ૆ʁʣ • Ϋϥ΢υͷσʔλΛΩϟογϡͨ͠Γ͢Δͷ ͰɺMySQLͰ͸εέʔϧ͠ͳ͍ • http://vimeo.com/54270121

Slide 20

Slide 20 text

Riak at OpenX (Anthony Molinaro) • AdϓϥοτϑΥʔϜɺRTBͳͲ • MySQL -> Cassandra -> Riak • MySQL -> CouchDB -> riak_core ͷࣗલΞϓϦ • 1T ads in 2011 ~> 4T ads in 2012 (estm.) • ͋ͱ͸ֆͰ http://bit.ly/YWYJW5

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

2013?

Slide 24

Slide 24 text

2013?

Slide 25

Slide 25 text

Riak at Voxer (Matt Ranney) • ೔ຊͰ͍͏LINEΈ͍ͨͳαʔϏε • LAMP?→CouchDB→Riak+node.js • ͪΌΜͱಈ͘ • put/getҎ֎͸஗͍ http://vimeo.com/52827773

Slide 26

Slide 26 text

Riak for All Storage: Voxer

Slide 27

Slide 27 text

Voxer: Initial Stats • 11 Riak nodes (switched from CouchDB • 500GB Data set • ~20k Peak Concurrent Users • ~4MM Daily Request

Slide 28

Slide 28 text

Voxer: Post Growth • ~60 Nodes • 100s of TBs of data (>1TB daily) • ~400k Concurrent Users • >2B Daily Requests

Slide 29

Slide 29 text

Riakͷத਎ͷ࿩

Slide 30

Slide 30 text

Talks by Basho Engineers • Riak Pipe - Riaks’s Distributed Processing Framework by Bryan Fink • Introducing Yokozuna - Searching Riak With Solr by Ryan Zezeski • Building Riak CS on Riak by Reid Draper and Kelly McLaughlin • Cloning the Cloud - Riak and Multi Data Center Replication by Andrew Thompson • Bringing Consistency to Riak by Joseph Blomstedt

Slide 31

Slide 31 text

ͦͷଞ

Slide 32

Slide 32 text

Keep CALM and Query On (Joseph Hellerstein) • ίϯϐϡʔλʔ΍σʔλ ϕʔεͷྺ࢙΍ੑ࣭Λӳ ࠃʹͳͧΒ͑ͯղઆ • CALM - Consistency and Logical Monotonicity • Boom http://vimeo.com/53904989

Slide 33

Slide 33 text

ଞʹ΋ • Advancing Distributed Systems(Eric Brewer) • Using Chef to Manage Distributed Systems(Mandi Walls) • Rebuilding a Bird in Flight(Dana Contreras) • Modern Radiology for Distributed Systems(Dietrich Featherston) • Immutability Changes Everything(Pat Helland) •

Slide 34

Slide 34 text

Q&A •basho.co.jp / github.com/basho/riak •@BashoJapan #riakjp •೔ຊޠML [email protected]