Download - Orbitz_Couchbase_SF_2013
![Page 1: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/1.jpg)
From Sectional to Sofa
NoSQL with .J. Steven Young
![Page 2: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/2.jpg)
Show Me the Cache
• 11 Clusters (4 mirrored) – 100 nodes
• > 3 TB of data• ~430m objects (146m in largest)• Total ops/sec ~ 75k – *149k with HA
![Page 3: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/3.jpg)
In The Beginning
• Cache Scalability• Drop in replace Memcached• Database relief• HA caching
![Page 4: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/4.jpg)
From the Bottom Up
• Processors• Memory• Disk• Virtualization• “Bloat”-ware
![Page 5: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/5.jpg)
Establish Standard Architecture
• LESSON: STANDARDIZE HARDWARE– Sizing Environments Properly– Testing Failures–Performance Testing / Tuning–Documenting Failures and Successes
![Page 6: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/6.jpg)
Expectations of Users
• LESSON: Know what is wanted– Object Sizing and Number– TTL, ops/sec, # Host Connections– Bucket Type– Indexing and Queries and Replication– Binary vs. JSON
![Page 7: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/7.jpg)
Cache Behaving Badly
• LESSON: PREPROD TESTING– Rebalance Issues– Swapping– Memory Consumption– Out Dated Libraries
![Page 8: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/8.jpg)
Cache in the Couch
• LESSON: Know TCO– Resources– Administrative Costs / Time– Usage / Consolidation
![Page 9: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/9.jpg)
Balancing Act
• Consolidation• Replication• Fault Tolerant Applications• Off-loading Processes• Libraries • Connections
![Page 10: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/10.jpg)
Use Case #1
• Content– HTML– Image Links– HA caches– XDCR
![Page 11: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/11.jpg)
Example of HADC 1 DC 2
VS.
![Page 12: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/12.jpg)
Use Case #2
• Upselling– Package Deals– Ads Data– Added Offers
![Page 13: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/13.jpg)
Use Case #3
• Search History / Trends– Previous Searches– What Properties are Trending– Stored Pricing
![Page 14: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/14.jpg)
Image the Possibilities
• Alerting Management• Configuration Management• RDBS Caching• Release Management• Trending Analysis
If you build it… They will come!
![Page 15: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/15.jpg)
Foundations for Success
• From the Ground Up• Know Your Environment• Know Your Limitations• Monitor
![Page 16: Orbitz_Couchbase_SF_2013](https://reader038.vdocument.in/reader038/viewer/2022110318/55d564e0bb61eb413a8b45f1/html5/thumbnails/16.jpg)
Q & A @jstevenyoung