08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Cloudian at cassandra conference in tokyo
1. Cassandra Conference in Tokyo
Cloudian:
Storage Layer
October 5, 2011
Gary Ogasawara
Gemini Mobile Technologies
(c) Copyright and Confidential, Gemini Mobile
2011/10/5 1
Technologies, Inc. & KK, 2011, All rights reserved.
2. Outline
1. What is Cloudian™
2. Cassandra in Cloudian
3. Cassandra for Object Store
4. Cassandra for Reports
5. Cassandra for Account Info
6. HyperStore™
7. HyperStore Performance
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 2
3. Cloudian =
S3 Cloud Storage
as Packaged Software
S3 = Simple Storage Service (S3) by Amazon Web Services (AWS)
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 3
4. Cloudian Features
1. Full AWS S3 API Compatibility, including error codes
2. Multi-datacenter, peer-to-peer architecture. No single point of failure.
3. Multi-tenant: QoS controls, billing, reporting by each User and each Group
4. Public and Private Clouds. Elastic Capacity: small start and scale-out as needed
5. System, Group, and User management by Management Console or REST API
6. Easy to Use Packaged Software, backed by 24x7 carrier grade support team
with 10 years experience in Japan
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 4
5. Cloudian customers
Launched beta service on August 1, 2011
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved.
6. Cloudian customers
Launched “Nifty Cloud Storage” service
from September 29, 2011
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved.
7. Cloudian customers
In 2 months since Cloudian commercial release in July 2011
Over 30 companies in the world have been
evaluating Cloudian as trial
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved.
8. Cloudian Use Cases
1. Public Cloud Storage Service 2. Enterprise Private Cloud/NAS
Use Case: S3 API compatible service Use Case: Secure, Low cost, Reliable, Easy
to Scale Enterprise Storage
By: Data Centers
By: Appliance Vendors
Cloud Service Providers
System Integrators
Telecom Carriers
Data Centers
Size: Peta-Byte to Exa-Byte
Cloud Service Providers
10s to 100s of nodes
Telecom Carriers
Target: File Share, Archive, Backup Size: Tera-Byte to Peta-Byte
Social Games, SNS 3 to 10s of nodes
Multi-device Applications Target: NAS/SAN replacement
Media Backup, Streaming NAS/SAN Backing Store
Enterprise NAS backup Any size Enterprise
… … many others … … Government, Medical, Financials
… … many others … …
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 8
9. Cassandra in Cloudian
Why Cassandra?
Scalable.
- Scale out by adding nodes to running system.
- Distributed (P2P architecture), no single point of failure
Reliable.
- Resilient to network or hardware failures.
- Multi-datacenter replication
- Tuneable data consistency level.
Fast.
- Write path especially fast.
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 9
10. Cloudian™: Logical Architecture
Admin Credentials
Server DB
HTTPS
Login
HTTP QoS
Account profile HTTPS Servlets S3 Server
/ Security keys Servlets DB
Reports HTTP
Management
Console
Data Explorer HTTP
Data UserData DB
Servers (Cassandra)
WEB UI
HTTP or AccountInfo
HTTPS DB
(S3) (Cassandra)
Reports DB
Applications
(Cassandra)
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 10
11. Network Design: Minimum Redundant
Configuration
Servlets
Cred/QOS
DB
Browser HTTP/HTTPS HTTP/S
Sticky Cassandra
requests sessions Server
for UI
LB
Application HTTP/HTTPS
requests
for S3
Servlets
Cred/QOS
DB
HTTP/S
Cassandra
Server
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 11
12. Network Design: Multi-Datacenter Example
2 datacenters / 4 nodes per datacenter
Servlets Servlets Servlets Servlets
HTTP/S HTTP/S HTTP/S HTTP/S
Cassandra Cassandra Cassandra Cassandra
Server Server Server Server
Cred/QOS Cred/QOS Cred/QOS Cred/QOS
DB (M) DB (S) DB (M) DB (S)
HTTP/S HTTP/S HTTP/S HTTP/S
Cassandra Cassandra Cassandra Cassandra
Server Server Server Server
DC1 DC2
Users routed to their “home” DC using S3 bucketname.
“Home” DC holds primary copy of user data.
Storage objects, Reports, User profiles replicated across DCs by Cassandra.
Credentials/QOS DB (KV DB) has local DC slave and remote DC slave.
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 12
13. Cassandra for Object Store
Blob storage
Object metadata
Large object support
- Multi-part. Amazon S3 multi-part API. Parts uploaded independently and in any
order. Single parts can be re-transmitted. After all parts are uploaded, then
presented as a single object.
- Chunking. Break single objects into smaller chunks (e.g., 10 MB) when storing.
- HTTP Range header. For downloads, HEAD request used to get object size, then
download using start byte and length.
- HyperStore™. Store objects on multiple storage options.
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 13
14. Cassandra for Account Info
DATA MODEL
User
- ID, name, contact info, etc.
Group
- ID, name, contact info, etc.
Rating Plan
Security Credentials
NOTES
“Static” data. Fixed number of columns.
Secondary index in User CF on groupID. Allows query to get all
userIDs for a specified groupID.
Could be put in a Relational DB like MySQL, but no need to add
another component.
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 14
15. Cassandra for Reports
DATA MODEL
“Raw” column family
- User, Group, System
- Transaction type (HTTP GET, PUT, DELETE)
- Object path
- Size
“Rollup” column families.
- RollupHour. Summarizes data for each hour using Raw data.
- RollupDay. Summarizes data for each day using RollupHour data.
- RollupMonth. Summarizes data for each month using RollupDay data.
NOTES
High write rate. Low read rate.
Automatic deletion using Cassandra TTL (time-to-live).
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 15
16. HyperStore™
Admin Credentials
HyperStore: Management policies tailored
for different object types.
S3 QoS
Object metadata is still stored in Cassandra
Data Store
Use Cassandra’s distributed systems (Alternate)
methods for data partitioning, replication, HyperStore™
node health detection. Manager
Data Store
Fork Cassandra source for customizations. (Cassandra)
Cloudian™
Benefits: Server Accounting
(Cassandra)
Better performance
More capacity per node Reporting
(Cassandra)
Higher disk utilization
Storage layer flexibility
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 16
17. HyperStore: Hybrid Storage Example
Storage 1
Storage 2
optimal
U
X
Optimal solution is to choose the storage method that minimizes latency.
Generally, you want to maximize/minimize U, a performance metric, based
on random variables X using a mixture of N storage layers.
In a simple case,
U : average latency
X = {object size}
N = {cassandra, ext4 fs}.
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 17
18. HyperStore: Initial Results on Latency
50
40
ms 30 >30% faster
PUT-Cass
20
PUT-HS
10
0
KB
0.5 5 50 500
60
50
40 >400% faster
ms
30 GET-Cass
20 GET-HS
10
0 KB
0.5 5 50 500
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 18
19. HyperStore: Next Steps
Disk space usage: Improve disk utilization percentage by HyperStore.
Failure cases: Need extensive testing in cluster environment.
Integrated operations: Interaction between nodetool and “hsstool”.
Seeking alpha testers
Contact
bigdata@geminimobile.com
Twitter: @geminimobile
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 19
20. Request Free Cloudian Trial
Japanese: http://geminimobile.jp/big-data-solutions/cloudian_eval_agr.php5
English: http://geminimobile.com/cloud-solutions/cloudian_eval_agr.php
(c) Copyright and Confidential, Gemini Mobile Technologies, Inc. & KK, 2011, All rights reserved. 20