Scalling through Couchbase at Sky Deutschland (Couchbase Live France 2015)
1. Scaling through Couchbase at Sky Deutschland
Norbert Gergely | Information Technology | Sky Deutschland | Couchbase Live | Paris, 29 September 2015
2. 2
Agenda
Scaling through Couchbase at Sky Deutschland
1 The online world of Sky Deutschland
2 NoSQL and Couchbase earning its rightful place
3 Current and future use cases
4 A story of migration
5 Conclusions. Q&A Session
3. 3
It is not any more only about watching TV
Scaling through Couchbase at Sky Deutschland
4. 4
Drilling down
Scaling through Couchbase at Sky Deutschland
Sky Go
• Sky exclusive channels (live events)
and online VoD service
• Free for Sky subscribers
• 151 million logins in 2014/2015
• Available to download content and
watch worldwide offline with Sky Go
Extra
Snap
• Online media library
• Offered as a Sky subscription
extension, but also available
without subscription
• Comprehensive license deals with
Hollywood Studios and exclusive
highlights from HBO, Disney
Sky Online
• The easy and flexible way to get Sky
• Sky channels (live events) offered,
VoD service
• Offered on monthly basis
6. 6
Agenda
Scaling through Couchbase at Sky Deutschland
1 The online world of Sky Deutschland
2 NoSQL and Couchbase earning its rightful place
3 Current and future use cases
4 A story of migration
5 Conclusions. Q&A Session
7. 7
Need for scalability – Peak Management
Scaling through Couchbase at Sky Deutschland
• User Login is the critical service requiring scalability and performance.
• User Login inquires operations that should rapidly scale.
• Peaks are constantly high during the live broadcasts => session management.
Extraction of Operations happening on a usual Bundesliga afternoon
Ops per second
8. 8
Need for fast requirement and product changes
Scaling through Couchbase at Sky Deutschland
Media/Entertainment is a rapidly changing environment
• High rate of changes as new platforms, services and products are required
• Newly added products / features => attracting more customers
• Products have to be easily configurable
• Business rules have to be implemented in a flexible way
These conditions require:
• Technologies that are easily developing the data structures
• Technologies that are easily scalable as new customers are attracted by new offers
9. 9
Need for centralized caching and continuous availability
Scaling through Couchbase at Sky Deutschland
Centralized caching advantages:
• Lower capital and operating cost by reducing workloads on backend systems
• Legacy systems are usually difficult to scale horizontally => expensive vertical solutions
• Already highlighted Peak Management
• Performant operational boost on reading operations
• Easily be balanced and simple to mantain
• Reusage and linkage between cached data
Business needs continuous availability:
• Today‘s online business cannot conceive anything else as 24x365 availability
• Backend technology has to guarantee „no downtimes“
• On-Demand Scalling on Business needs
10. 10
Why NOSQL?
Scaling through Couchbase at Sky Deutschland
NoSQL
Flexible
Schema
High
Availability
Performant
Read/Write
Scalability
Faster
Delivery
and Deploy
11. 11
Why Couchbase?
Scaling through Couchbase at Sky Deutschland
Combined caching and
NoSQL DB Advantages
Easy scalable Easy approachable Large portfolio of services
(Training, Technical Advising)
Very good administration &
monitoring functions
Very good proven performance
(easy and fast CRUD)
Document and
Key-Value Store
Empowering many
connector/plugins
(Elastic, Kafka, Hadoop, Spark)
12. 12
Agenda
Scaling through Couchbase at Sky Deutschland
1 The online world of Sky Deutschland
2 NoSQL and Couchbase earning its rightful place
3 Current and future use cases
4 A story of migration
5 Conclusions. Q&A Session
16. 16
Real-Time User Changes Depiction (Future)
Scaling through Couchbase at Sky Deutschland
Real time replication of different user profile / activity attributes:
• Important user-profile
• Session or cross-device data
The replication is required by different ingestion needs:
• Small data transformations
• Data syncronization
• Analytics
The usage of Couchbase:
• DCP Stream based pluggable components
19. 19
Agenda
Scaling through Couchbase at Sky Deutschland
1 The online world of Sky Deutschland
2 NoSQL and Couchbase earning its rightful place
4 A story of migration
5 Conclusions. Q&A Session
Current and future use cases3
21. 21
A migration of mindset – data model governance
Scaling through Couchbase at Sky Deutschland
LEGACY Databases
• Best of Breed Methods pretty clearly established
• Exclusive powers in the hand of architects
• Data architecture clearly established before
development, and rarely overwritten
• Data schema is tracked through data modeling tools
NOSQL Databases
• A mostly try-out strategy (each NoSQL with new
kind of strategies)
• Data modeling responsibility split, more in the hand
of developer
• “Perpetuum mobile” of data architecture
• Rarely one can find a data modeling tool, but the
most important is to keep schema flexible
22. 22
A migration of mindset – data model governance
Scaling through Couchbase at Sky Deutschland
http://blog.infoadvisors.com
24. 24
A migration of mindset – separate write and read stores
Scaling through Couchbase at Sky Deutschland
https://msdn.microsoft.com/en-us/library/jj591559.aspx
25. 25
Agenda
Scaling through Couchbase at Sky Deutschland
1 The online world of Sky Deutschland
2 NoSQL and Couchbase earning its rightful place
5 Conclusions. Q&A Session
Current and future use cases3
4 A story of migration
26. 26
Final thoughts and takeaways
Scaling through Couchbase at Sky Deutschland
Couchbase (NOSQL) is a wonderful technology that guarantees a lot of goodies:
•High (easy) scalability
•Performance
•Flexibility
•Easy mantainability
But everything functions if conditions are met:
•Developer thinks like an architect and architect thinks like a developer
•One can bypass certain business constraints