Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Riak CS Introduction
Basho Technologies
April 02, 2013
Technology
7
3.7k
Riak CS Introduction
Intro to Riak CS presentation. Covers architecture, features, operations, stats and interfaces.
Basho Technologies
April 02, 2013
Tweet
Share
More Decks by Basho Technologies
See All by Basho Technologies
Ringpop by Uber
basho
1
7.3k
Realtime Systems for Social Data Analysis (RICON East 2013)
basho
3
700
How Do You Eat An Elephant? (RICON East 2013)
basho
0
1.1k
Revolution in Storage (RICON East 2013)
basho
3
1.4k
Automatically Scalable Computation (RICON East 2013)
basho
2
1.4k
Riak Enterprise Revisited (RICON East 2013)
basho
0
250
Large Scale Data Service as a Service (RICON East 2013)
basho
0
1.2k
Optimizing LevelDB for Performance and Scale (RICON East 2013)
basho
5
2.3k
Firefighting Riak at Scale (RICON East 2013)
basho
1
390
Other Decks in Technology
See All in Technology
20230121_データ分析系コミュニティ_サテライト企画
doradora09
0
510
SignalR を使ったアプリケーション開発をより快適に!
nenonaninu
0
470
re:Inventで発表があったIoT事例の紹介と考察
kizawa2020
0
160
日経電子版だけじゃない! 日経の新規Webメディアの開発 - NIKKEI Tech Talk #3
sztm
0
140
LINE iOSエンジニアの日々 / LINE iOS Engineer Days
line_developers
PRO
1
130
400種類のWeb APIをサポートしているデータパイプラインツールにおけるWeb APIとの共存戦略
cdataj
0
150
AWS re:Invent 2022で発表された新機能を試してみた ~Cloud OperationとSecurity~ / New Cloud Operation and Security Features Announced at AWS reInvent 2022
yuj1osm
1
140
OpenShiftでスポットVMを使おう.pdf
jpishikawa
1
210
OVN-Kubernetes-Introduction-ja-2023-01-27.pdf
orimanabu
1
240
マイクロサービス宣言から8年 振り返りとこれから / Eight Years After the Microservices Declaration A Look Back and A Look Ahead
eisuke
2
130
JAWS-UG 横浜 #54 資料
takakuni
0
180
エンタープライズ領域でのブロックチェーン・インターオペラビリティの発展 / Enterprise Blockchain Interoperability
gakumura
0
120
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
326
55k
What's new in Ruby 2.0
geeforr
336
30k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
120
29k
Side Projects
sachag
451
37k
jQuery: Nuts, Bolts and Bling
dougneiner
57
6.6k
Automating Front-end Workflow
addyosmani
1351
200k
Adopting Sorbet at Scale
ufuk
65
7.8k
A Modern Web Designer's Workflow
chriscoyier
689
180k
Streamline your AJAX requests with AmplifyJS and jQuery
dougneiner
128
8.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
338
18k
Building Applications with DynamoDB
mza
85
4.9k
WebSockets: Embracing the real-time Web
robhawkes
58
6k
Transcript
Simple, Available Cloud Storage
github.com/basho twitter.com/basho docs.basho.com
Overview
On March 27, 2012 Basho announced a new product called
Riak CS
On March 20, 2013 Riak CS became open source
Riak CS is... enterprise cloud storage Riak S3-compatibility multi-tenancy per
user reporting built on top of large object storage
Enabling you to host your own PUBLIC PRIVATE & CLOUDS
or…. Reliable Storage Behind Apps
About Riak
Riak Dynamo-inspired key/value store Written in Erlang with C/C++ Open
source under Apache 2 license Thousands of production deployments
Riak High availability Low-latency Horizontal scalability Fault-tolerance Ops friendliness
Riak Masterless • No master/slave or different roles • All
nodes are equal • Write availability and scalability • All nodes can accept/route requests
Riak No Sharding • Consistent hashing • Prevents “hot spots”
• Lowers operational burden of scale • Data rebalanced automatically
Riak Availability and Fault-Tolerance • Automatically replicates data • Read
and write data during hardware failure and network partition • Hinted handoff
How It Works
Riak CS Riak Stanchion
Riak CS node for every node of Riak 1
Riak Node Riak Node Riak Node Riak Node Riak Node
Large Object Riak CS S3 API Reporting API Riak CS S3 API Reporting API Riak CS S3 API Reporting API Riak CS S3 API Reporting API Riak CS S3 API Reporting API 1. User uploads an object 1 MB 2. Riak CS breaks object into 1 MB chunks 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 3. Riak CS streams chunks to Riak nodes 4. Riak replicates and stores chunks
USERS multi-tenancy: Riak CS will track individual usage/stats access_key secret_key
users identified by users authenticated by
BUCKETS users create buckets. buckets are like folders. store objects
in buckets. names are globally unique.
OBJECTS stored in buckets. objects are opaque. store any file
type.
Features
Riak CS Large Object Support • Started with 5GB /
object • Now have multipart upload • Content agnostic
Riak CS S3-Compatible API • Use existing S3 libraries and
tools • RESTful operations • Multipart upload • S3-style ACLs for object/bucket permissions • S3 authentication scheme
Riak CS Administration and Users • Interface for user creation,
deletion, and credentials • Configure so only admins can create users
Riak CS New Stuff in Riak 1.3 • Multipart upload:
parts between 5MB and 5GB • Support for GET range queries • Restrict access to buckets based on source IP
Riak CS
Riak CS Packages • Debian • Ubuntu • FreeBSD •
Mac • Red Hat Enterprise • Fedora • SmartOS • Solaris • Source
Operations
stats DTrace & built-in support track access & storage per
user monitor total cluster ops inspect ops with DTrace probes
OPERATIONAL STATS exposed via HTTP resource: /riak-cs/stats block bucket object
GET, PUT, DELETE LIST KEYS, CREATE, DELETE, GET/PUT ACL GET, PUT, DELETE HEAD, GET/PUT ACL HISTOGRAMS & COUNTERS
TRACK INDIVIDUAL USER’S THE “USAGE” BUCKET ACCESS STORAGE
QUERY USAGE STATS Storage and access statistics tracked on per-user
basis, as rollups for slices of time • Operations, Count, BytesIn, BytesOut, + system and user error • Objects, Bytes
Partnerships
Citrix CloudStack • Combined platform for compute and storage •
Summer ‘13: integrated authentication support • Videos on our blog
Enterprise
Multi-Datacenter Replication • For active backups, availability zones, disaster recovery,
global traffic • Real-time or full-sync • 24/7 support • Per-node or storage-based pricing
basho.com SIGN UP FOR AN ENTERPRISE DEVELOPER TRIAL http://docs.basho.com/
RICON.io A distributed systems conference RICON25Web for 25% off
github.com/basho twitter.com/basho docs.basho.com
Q&A