Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Riak CS Introduction
Search
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.4k
Realtime Systems for Social Data Analysis (RICON East 2013)
basho
3
870
How Do You Eat An Elephant? (RICON East 2013)
basho
0
1.3k
Revolution in Storage (RICON East 2013)
basho
3
1.6k
Automatically Scalable Computation (RICON East 2013)
basho
2
1.6k
Riak Enterprise Revisited (RICON East 2013)
basho
0
330
Large Scale Data Service as a Service (RICON East 2013)
basho
0
1.3k
Optimizing LevelDB for Performance and Scale (RICON East 2013)
basho
5
2.6k
Firefighting Riak at Scale (RICON East 2013)
basho
1
560
Other Decks in Technology
See All in Technology
インシデント対応の 実践と品質文化の醸成
____rina____
2
1.4k
クライアントサイドでよく使われる Debounce処理 をサーバサイドで3回実装した話
yoshiori
1
110
EKS初心者が早めに知っておきたかったこと
cuorain
0
130
サーバーサイドのデータプレーンプログラミング 〜 NVIDIA Blue Field / DOCA 〜
ebiken
PRO
1
220
JPOUG_10_20241018_OracleDB_AWS_v1.3.pdf
asahihidehiko
1
240
都市伝説バスターズ「WebアプリのボトルネックはDBだから言語の性能は関係ない」 - Kaigi on Rails 2024
osyoyu
7
2.2k
SwiftSyntaxでUIKitとSwiftUIの使用率を完璧に計測できちゃう件について
ldf_tech
0
160
実は仲良し?Amplify Gen2と生成AI
mkdev10
1
240
サーバーレス SaaS における運用監視の負荷軽減のためのアプローチ
ririru0325
0
130
WHOLENESS, REPAIRING, AND TO HAVE FUN: 全体性、修復、そして楽しむこと
snoozer05
PRO
2
2.9k
Mobbing Practices
kawaguti
PRO
2
290
顧客が本当に必要だったもの - パフォーマンス改善編 / Make what is needed
soudai
14
2.3k
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Scaling GitHub
holman
458
140k
Designing Experiences People Love
moore
138
23k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
RailsConf 2023
tenderlove
29
870
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
664
120k
Visualization
eitanlees
143
15k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
How to Ace a Technical Interview
jacobian
275
23k
GitHub's CSS Performance
jonrohan
1030
460k
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