COUCHBASE	  SERVER	  2.0                                  Damien	  Katz,	  CTO,	  Couchbase	  Inc.                        ...
COUCHBASE	  SERVER	  2.0       •    Indexing	  and	  querying   Couchbase	  Server       •    Reliable	  Data	  Storage   ...
COUCHBASE	  SERVER:	  ARCHITECTURE                                        BCDE%               &&&&%           &&&(%       ...
COUCHBASE	  SERVER:	  ARCHITECTURE                     BCDE%                   1";+-%F$*G4%                               ...
PARTITIONING	  THE	  DATA                 Key	  à vBucket                vBucket	  à Servers                  (hash	  fu...
DEVELOPING	  FOR	                                       COUCHBASE	  SERVER	  2.0                               User Applic...
DEMO	  TIME                                        7Monday, August 1, 2011
PLAYER	  DOCUMENT                {                	       "_id":	  "Keith4540",                	       "_rev":	  "1-­‐ab35...
PLAYER	  DOCUMENT                                              8Monday, August 1, 2011
ITEM	  DOCUMENT                {                	       "_id":	  "Katana_e5890c94-­‐11c6-­‐48-­‐65746ce6c560",            ...
ITEM	  DOCUMENT                                            9Monday, August 1, 2011
MONSTER	  DOCUMENT                {                	       "_id":	  "Bauchan9932",                	       "_rev":	  "1-­‐5...
MONSTER	  DOCUMENT                                               10Monday, August 1, 2011
11Monday, August 1, 2011
GA M E       O N!                                                                              11 	                       ...
PERFORMANCE	  OPTIMIZATIONS                                                                                               ...
SCATTER	  GATHER	  VIEWS                                        • Incremental	  Map	                                      ...
DEMO	  TIME                                        14Monday, August 1, 2011
THANK	  YOU!                                  Get	  Couchbase	  Server	  2.0	  at	                               h_p://www...
16Monday, August 1, 2011
JSON	  DOCUMENTS                         COUCHBASE	  SERVER                                               17Monday, August...
Upcoming SlideShare
Loading in...5
×

CouchConf-SF-Couchbase-2.0-Live-Demo!

1,403

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,403
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
35
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

CouchConf-SF-Couchbase-2.0-Live-Demo!

  1. 1. COUCHBASE  SERVER  2.0 Damien  Katz,  CTO,  Couchbase  Inc. Frank  Weigel,  Director  Products,  Couchbase  Inc. 1Monday, August 1, 2011
  2. 2. COUCHBASE  SERVER  2.0 • Indexing  and  querying Couchbase  Server • Reliable  Data  Storage Memcached • High  performance • ElasIc Membase CouchDB Simple.    Fast.    ElasBc 2Monday, August 1, 2011
  3. 3. COUCHBASE  SERVER:  ARCHITECTURE BCDE% &&&&% &&&(% 1";+-%F$*G4% !*!+,8,39*%&:(% !*!+,8,39*%:(% 1";+-%?@A% !"#$% >,5,%),/,0*6%% Memcached )*!+,+-*.%% ),/,0*.%1,+-*%2% )*!3,4*% Membase */0$/*%$/5*67,+*% 1";+-3,4*%<$/09*%<*6=*6% CouchDB 3Monday, August 1, 2011
  4. 4. COUCHBASE  SERVER:  ARCHITECTURE BCDE% 1";+-%F$*G4% &&&&% &&&(% !*!+,8,39*%&:(% !*!+,8,39*%:(% Membase !"#$% HOGBP67$C7376$34L$@6-FDB3KA4$234356@$ 1";+-%?@A% IFGC76@$Q34356@$$ ./01$2343562647$89:;<6=$>:$ >,5,%),/,0*6%% EFA=3F$CD45F67A4$CG-6@HDCA@$ .6=3F34B6$A@B+6C7@37A@$ IA4J5G@3KA4$234356@$ )*!+,+-*.%% NAL6$+63F7+$2A4D7A@$ 9@AB6CC$2A4D7A@$ ),/,0*.%1,+-*%2% ?63@7=637$ )*!3,4*% */0$/*%$/5*67,+*% 1";+-3,4*%<$/09*%<*6=*6% +,-$ A4$63B+$4AL6$ A46$-6@$BFGC76@$ /@F345;M19$ ?119$ 6@F345$-A@7$23--6@$ LDC7@D=G76L$6@F345$ *#&"$ ()&$ !""##$%$!""&&$ 4Monday, August 1, 2011
  5. 5. PARTITIONING  THE  DATA Key  à vBucket vBucket  à Servers (hash  function) (table  lookup) All  possible vBucket-­‐Server  Map  -­‐ Example membase  keys vBuckets Host  Server/Replica  Servers vBuckets Host  Server/Replica  Servers Key1 vBucket1 ServerA /  ServerB,  ServerC Key2 vBucket1 Server1 /  Server2,  Server3 vBucket2 ServerA /  ServerB,  ServerC Key3 Key4 vBucket3 ServerB /  ServerA,  ServerC Key5 vBucket4 Server B /  Server A,  Server C Key6 vBucket2 Server1 /  Server2,  Server3 vBucket5 ServerC /  ServerA,  ServerB Key7 vBucket6 ServerC /  ServerA,  ServerB Key8 Key9 Key10 vBucket3 Server2 /  Server3,  Server4 Keym vBucketn Serverp /  Serverq,  Serverr 5Monday, August 1, 2011
  6. 6. DEVELOPING  FOR   COUCHBASE  SERVER  2.0 User Application User code CouchbaseClient cb = new CouchbaseClient(listURIs, "aBucket", "letmein"); spymemcached 2.7.x // this is all the same as before Class MemcachedClient cb.set("hello", 0, "world"); Class TapClient file Class CouchbaseClient extends MemcachedClient cb.get("hello"); Map<String, Object> manyThings = cb.getBulk(Collection<String> keys); // pseudo /* accessing a view is done in a very compatible way, * different method different object, same return */ Map<String, Object> widgets = cb.getRange("myView", Couchbase Cluster "abegin", "theend"); Couchbase Couchbase Couchbase // other code is the same! 2.0 Node 2.0 Node 2.0 Node 6Monday, August 1, 2011
  7. 7. DEMO  TIME 7Monday, August 1, 2011
  8. 8. PLAYER  DOCUMENT {   "_id":  "Keith4540",   "_rev":  "1-­‐ab354009ce09f198c555b693e057adce",   "jsonType":  "player",   "uuid":  "35767d02-­‐a958-­‐4b83-­‐8179-­‐616816692de1",   "name":  "Keith4540",   "hitpoints":  75,   "experience":  663,   "level":  4,   "loggedIn":  false } 8Monday, August 1, 2011
  9. 9. PLAYER  DOCUMENT 8Monday, August 1, 2011
  10. 10. ITEM  DOCUMENT {   "_id":  "Katana_e5890c94-­‐11c6-­‐48-­‐65746ce6c560",   "_rev":  "1-­‐d6bbd5e814c32c66e22db2918a2efcd9",   "jsonType":  "item",   "name":  "Katana_e5890c94-­‐11c6-­‐65746ce6c560",   "uuid":  "e5890c94-­‐11c6-­‐4856-­‐ a7a6-­‐65746ce6c560",   "ownerId":  "Dale9887" } 9Monday, August 1, 2011
  11. 11. ITEM  DOCUMENT 9Monday, August 1, 2011
  12. 12. MONSTER  DOCUMENT {   "_id":  "Bauchan9932",   "_rev":  "1-­‐5c90be58be58134a0fc5e7db77dab5f2",   "jsonType":  "monster",   "name":  "Bauchan9932",   "uuid":  "d10dfc1b-­‐0412-­‐4140-­‐b4ec-­‐affdbf2aa5ec",   "hitpoints":  370,   "experienceWhenKilled":  52,   "itemProbability":  0.5050581341872865 } 10Monday, August 1, 2011
  13. 13. MONSTER  DOCUMENT 10Monday, August 1, 2011
  14. 14. 11Monday, August 1, 2011
  15. 15. GA M E O N! 11   thanks  for  the  photo!  h_p://flic.kr/p/88fCcH  Monday, August 1, 2011
  16. 16. PERFORMANCE  OPTIMIZATIONS • Much  improved  bulk   loading  performance • Significantly  be_er   indexing  performance • Disk  Storage   ReducIon 57/   653879 everwer/20 /p h otos/dav kr.com ://www.flic o!  h_p e  phot thanks  for  th 12Monday, August 1, 2011
  17. 17. SCATTER  GATHER  VIEWS • Incremental  Map   Reduce • Distributed  indexing • Parallelize  work  &  IO 13Monday, August 1, 2011
  18. 18. DEMO  TIME 14Monday, August 1, 2011
  19. 19. THANK  YOU! Get  Couchbase  Server  2.0  at   h_p://www.couchbase.com/downloads Stay  tuned  on  hearing  more  on  developing  for   Couchbase  Server  next  in  this  room 15Monday, August 1, 2011
  20. 20. 16Monday, August 1, 2011
  21. 21. JSON  DOCUMENTS COUCHBASE  SERVER 17Monday, August 1, 2011
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×