Your SlideShare is downloading. ×
0
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Building a Mobile Data Platform with Cassandra - Apigee Under the Hood (Webcast)

4,766

Published on

Published in: Technology
2 Comments
4 Likes
Statistics
Notes
No Downloads
Views
Total Views
4,766
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
77
Comments
2
Likes
4
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. Usergrid
 
 Open SourceMobile Backend on Cassandra
  • 2. Hi I m
Ed Anuff


  • 3. 

API Management
API Analytics
API Tools
  • 4. Usergrid

Backend-as-a-Service
& Open Source

Mobile and
Rich client apps

  • 5. App, Cloud, & HTTP
  • 6. No Web Stack Page Templates MVC Logic Database
  • 7. Just Apps and APIs
  • 8. Key Capabilities

A platform not a single app
Flexible data model
Easy to use from anylanguage



  • 9. Why shouldCassandradevelopers careabout Usergrid?

  • 10. Open Source (APLv2)
Built on Hector
Multi-tenant (VirtualKeyspaces)
JSON and full-text indexing
Rich permissions model
REST API


  • 11. Multi-tenant data forApps
  • 12. Lots of Teams... Team Team Team
  • 13. Lots of Apps... App App App Team
  • 14. And App Users... App Team
  • 15. And data anddevices App Team
  • 16. Multi-tenancy atscaleApp App App App App App Team Team Team
  • 17. Schema Separate Database Shared DatabaseShared - Scalability + Scalability + Isolation - No Isolation + Simple - ComplicatedSeparateSchema - Scalability - Scalability + Isolation - No Isolation + Not Complicated - Complicated
  • 18. CREATE DATABASE ALTER TABLE
  • 19. Sharding SQL is toomuch work.

Oracle is too muchmoney.
  • 20. What about NoSQL?

Most NoSQL worksat the wrongabstraction level.
  • 21. Does Cassandraprovide any moreoptions?

Sort of
  • 22. Schema Separate Keyspace Shared KeyspaceShared Expensive InterestingSeparateSchema Very Unwieldy Expensive
  • 23. How would SharedSchema/SharedKeyspace work?
  • 24. Users = { "4e3c0423-…" : { username: "edanuff", email: "ed@anuff.com", … : … }, "e5d61f2b-…" : { username: "jdoe", email:"john.doe@gmail.com", … : … }}
  • 25. Users = { "4e3c0423-…" : { username: "edanuff", email: "ed@anuff.com", … : … }, "e5d61f2b-…" : { username: "jdoe", email:"john.doe@gmail.com", … : … }}
  • 26. Conventional Row Keys In Single Keyspace Row UUID Row UUID Row UUID Row UUID Row UUID Row UUID
  • 27. Multi-tenant Row Keys In Shared Keyspace Tenant ID Row UUID Tenant ID Row UUID Tenant ID Row UUID Tenant ID Row UUID Tenant ID Row UUID Tenant ID Row UUID
  • 28. Wonderful, morethings for me to buildmyself in the apptier... 

Hold that thought...
  • 29. Shared Schema/Shared Keyspace is Virtual Keyspaces 

Part of Hector Client
  • 30. public static <E> Keyspace createVirtualKeyspace( String keyspace, E keyPrefix, Serializer<E> kps, Cluster cluster);
  • 31. Hector hides the Tenant Prefixes Prepend Tenant UUID Hector Cassandra Remove Tenant UUID
  • 32. What about indexes?

Hector doesn t filterresults
Don t add a tenant column
App-tier CF indexespreferable

  • 33. What about CQL?

See previous slide for indexlimitations
Hector doesn t currentlysupport Virtual Keyspaces viaCQL
I don t actually ever use CQL
  • 34. So what else is inthere?
  • 35. JSON

Full JSON values,fully indexed, usingJackson and stufffrom Lucene
  • 36. Permissions

Fine grained, peruser, built on Shiro
  • 37. REST

Full REST API, builton Jersey
  • 38. Anything else?
  • 39. Mongo CompatibleAPI

Experimental MongoAPI emulation viaNetty

Mongo binary wire
  • 40. That s what
Usergrid is.
  • 41. Use the ideas
Use the code
Use the cloud
  • 42. usergrid.com
git.io/usergrid

Thanks!

×