SlideShare uma empresa Scribd logo
1 de 38
Baixar para ler offline
The GR8 Road to #fame
Rishabh Jain
To The New Digital
http://www.fame.live
LIVE will be the new ‘Selfie’ by 2017
• #fame was launched on 15th April 2015 and was available for
both Android and iOS from day 1.
• Twitter’s Periscope was launched on March 26, 2015 and on
May 26 2015 it was available for Android
• Facebook Live launched in April. (6th April 2016)
Some terms that I would be using
• DVR - Digital Video Recorder
• Encoder - Compresses the video to standard format
• Transcoding - converting a given video input into a digital
format that is compatible with most types of Web players and
mobile devices
• RTMP - Real time messaging protocol
• HLS - HTTP Live Streaming
• OTT Platform - Over the Top, delivery of audio and video over
Internet (e.g. Youtube.com)
• Beam - Instead of Stream we call it Beam
• Adaptive Bitrate - Automatically adjusting the video quality
depending on the bandwidth.
Contents
What is #fame?
The Solution
Some Key Components
The Need
Evolution/Future
What is #fame?
A platform that allows users to broadcast themselves
LIVE
How #fame is fairing
 MAUs: 3M+
 Watch Hours: ~17K / day
 Interactions: ~15M / day
 Multi-Country presence – India, Indonesia and Thailand
Key Milestone
 Big Bollywood Events IIFA(Bollywood Awards), Movie Releases
 Entertainment Event Streaming Sunburn Goa, NH-7 Weekender
 Brand Promotions OLA, Myntra, Bacardi, etc
 Celebrity Shows & Movie Promotions Afrojack, Akshay Kumar, S
oha Ali Khan, Kunal Khemu and many more TV and Bollywood ac
tors
Contents
What is #fame?
The Solution
Some Key Components
The Need
Evolution/Future
Product vision
#fame approached TTN Digital to build a
Live Video Platform with an aim to
Disrupt and Democratize Talent Discovery ecosystem
What #fame needed
 Mobile first highly interactive and personalized (based on
user behavior and preferences) social platform
 User can start beaming live to whole wide world at the
click of button; can watch Videos On Demand as well
 International reach yet Hyper-local
Challenges- Business and Technical
 Small turn around time: MVP < 3 months
 Minimal Latency and adaptive quality in Live Streaming
and across low bandwidths
 Real time chat  Publish Subscribe at large scale and
unpredictability
 Diverse ecosystem of mobile devices
 Early Movers Dilemma, Extreme Agility
Contents
What is #fame?
The Solution
Some Key Components
The Need
Evolution/Future
Demo
The Story So Far
April – May(2015)
• Public Launch (Android,
iOS) with improved
features – Moderation,
Instant Live etc.
• CMS and Admin
Jun – Jul(2015)
• IIFA – Arch. And Prod.
Scale-up
• Landscape Mode
• Stickers
• Hashtags
• Carousal Control
• Sharing across App
Aug – Sep (2015)
• Revamped Go Live
Experience
• Follow Famestars On
Sign-up
• Consumer Learning
Journey
• Comments on Videos
The Story So Far
Oct – Nov(2015)
• Revamped UI /
Navigation,
Personalization, Social,
FTL
• Indonesia Launch
Dec – Jan(2016)
• Website Launch
• Mobile Responsive Site
• Revamped Search
• Major Bugs and UI/UX
Fixes
• Thailand Launch
• Regionalisation (S.
India, GPS based)
Feb-Mar(2016)
• Portrait
Beaming(Streaming)
• Re-written chat Micro
Service
• Revamped Chat UX
• Major Bugs and UI/UX
Fixes
• Own OTT Platform
(instead of Youtube
Solution Architecture (Grails Plugin Based)
Thought Behind Initial Design Decisions
 API First Architecture: Mobile First Application
 Grails: RAD and good REST support
 Wowza Server : Good support for protocols & mature
community
 PubNub : Leader in Chat and Instant Messaging
Learning from the Initial Design
 Databases can quickly become point of contention
 Difficult to move fast with Monolithic architecture
 Business wants to move fast but how does Engineering cope
up
Victims of our initial success
Learn & Adapt
Solution Architecture – Improved & Refined
Thoughts behind the Changes
 Smaller chunks of applications should be easier to manage &
scale
 Expanding teams will be easier as smaller specialized apps
 Database load distribution achieved partially
Micro-services with Spring Boot
And We learn some more…
 If not done properly, Micro-services can be a dependency
hell
 Few time consuming transactions can result in bad UX
 Performance tuning starts from requirement understanding:
Think to scale
 We needed more database connections
 There are better ways to do calculations & aggregations
 Hope for the best, prepare for the worst
Solution Architecture – Current
AngularJS
Thoughts Behind the Changes
 Existing APIs made AngularJS as obvious choice for Web App
 Offloading certain calls to Nginx for Smart response caching
 Hazelcast can handle complex queries as well.
 Handling things asynchronously can save a lot of precious
resources
 Server level optimizations  Improves performance from
same H/W
 Spark, Kafka, Hadoop-YARN, Cassandra combination good for
real time/batch aggregations & calculations.
 Developers needed an integrated consistent environment on
local machines  Docker
And The Learning Continues…
 150+ servers with 5 different environments
 MySql or Percona or AWS Aurora or Vitess or …
 MongoDB Improvements (Read-Write Separation,
Replication and Sharding)
 Grails 3
 Spring Boot
 Real-time monitoring & pro-active corrections across
multitude of services and 3rd party dependencies
And It’s relentless
 Faster encoding mechanisms for better live streaming &
viewing experience
 Better resilience for surges
 Intelligent and self-learning Personalization
 More Data Driven decisions
 Monetization possibilities and experiments
For Video Domain enthusiast
For Video Domain enthusiast (Behind the scenes)
Monitoring & Optimizations
Monitoring & Optimizations
Other Sources
Tech. Stack
Data Storage
Contents
What is #fame?
The Solution
Some Key Components
The Need
Evolution/Future
Live Steaming And Chat
Live Steaming And Chat- Technology making it possible
Search
Live Steaming And Chat- Technology making it possible
Contents
What is #fame?
The Solution
Some Key Components
The Need
Evolution/Future
The Road Ahead
Regionalization
Monetization
Private Beams
Gamification
Collaborative Beams
Gratification
Rishabhjain15

Mais conteúdo relacionado

Mais procurados

NPR presentation at DC API Meetup 12/13/12 by Irakli Nadareishvili
NPR presentation at DC API Meetup 12/13/12 by Irakli NadareishviliNPR presentation at DC API Meetup 12/13/12 by Irakli Nadareishvili
NPR presentation at DC API Meetup 12/13/12 by Irakli Nadareishvili
DC Web API User Group
 
Architecting for Hyper Growth and Great Engineering Culture
Architecting for Hyper Growth and Great Engineering CultureArchitecting for Hyper Growth and Great Engineering Culture
Architecting for Hyper Growth and Great Engineering Culture
ifnu bima
 
The New IT - Your Milestone Plan
The New IT -  Your Milestone PlanThe New IT -  Your Milestone Plan
The New IT - Your Milestone Plan
WSO2
 
Patrick Debois - From Serverless to Servicefull
Patrick Debois - From Serverless to ServicefullPatrick Debois - From Serverless to Servicefull
Patrick Debois - From Serverless to Servicefull
ServerlessConf
 

Mais procurados (20)

NPR presentation at DC API Meetup 12/13/12 by Irakli Nadareishvili
NPR presentation at DC API Meetup 12/13/12 by Irakli NadareishviliNPR presentation at DC API Meetup 12/13/12 by Irakli Nadareishvili
NPR presentation at DC API Meetup 12/13/12 by Irakli Nadareishvili
 
apidays LIVE Helsinki & North - Designing embedded platforms: lessons from in...
apidays LIVE Helsinki & North - Designing embedded platforms: lessons from in...apidays LIVE Helsinki & North - Designing embedded platforms: lessons from in...
apidays LIVE Helsinki & North - Designing embedded platforms: lessons from in...
 
Architecting for Hyper Growth and Great Engineering Culture
Architecting for Hyper Growth and Great Engineering CultureArchitecting for Hyper Growth and Great Engineering Culture
Architecting for Hyper Growth and Great Engineering Culture
 
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...
APIs: What’s in it for me – How can APIs bring value to our Business (Philipp...
 
Do's and Don'ts of APIs
Do's and Don'ts of APIsDo's and Don'ts of APIs
Do's and Don'ts of APIs
 
AppBattler - An Android-based SDK for game developers to enable social gaming
AppBattler - An Android-based SDK for game developers to enable social gamingAppBattler - An Android-based SDK for game developers to enable social gaming
AppBattler - An Android-based SDK for game developers to enable social gaming
 
Urbanesia - Open Source & Microsoft
Urbanesia - Open Source & MicrosoftUrbanesia - Open Source & Microsoft
Urbanesia - Open Source & Microsoft
 
AD AR StoryBook
AD AR StoryBookAD AR StoryBook
AD AR StoryBook
 
Build Hybrid Mobile Applications for Nokia Lumia Devices
Build Hybrid Mobile Applications for Nokia Lumia DevicesBuild Hybrid Mobile Applications for Nokia Lumia Devices
Build Hybrid Mobile Applications for Nokia Lumia Devices
 
The New IT - Your Milestone Plan
The New IT -  Your Milestone PlanThe New IT -  Your Milestone Plan
The New IT - Your Milestone Plan
 
Google v Oracle: The Future of Software and Fair Use
Google v Oracle: The Future of Software and Fair UseGoogle v Oracle: The Future of Software and Fair Use
Google v Oracle: The Future of Software and Fair Use
 
App and web with Hippo CMS and AngularJS
App and web with Hippo CMS and AngularJS App and web with Hippo CMS and AngularJS
App and web with Hippo CMS and AngularJS
 
Patrick Debois - From Serverless to Servicefull
Patrick Debois - From Serverless to ServicefullPatrick Debois - From Serverless to Servicefull
Patrick Debois - From Serverless to Servicefull
 
Security Is a Concern, Let’s Make It an Enabler
Security Is a Concern, Let’s Make It an EnablerSecurity Is a Concern, Let’s Make It an Enabler
Security Is a Concern, Let’s Make It an Enabler
 
apidays LIVE London 2021 - Federating the Content Layer by Jamie Barton, Grap...
apidays LIVE London 2021 - Federating the Content Layer by Jamie Barton, Grap...apidays LIVE London 2021 - Federating the Content Layer by Jamie Barton, Grap...
apidays LIVE London 2021 - Federating the Content Layer by Jamie Barton, Grap...
 
Synapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps developmentSynapse india reviews on cross plateform mobile apps development
Synapse india reviews on cross plateform mobile apps development
 
APIdays Zurich 2019 - API management for event driven microservices, Fran Men...
APIdays Zurich 2019 - API management for event driven microservices, Fran Men...APIdays Zurich 2019 - API management for event driven microservices, Fran Men...
APIdays Zurich 2019 - API management for event driven microservices, Fran Men...
 
GraphQL vs BFF: A critical perspective
GraphQL vs BFF: A critical perspectiveGraphQL vs BFF: A critical perspective
GraphQL vs BFF: A critical perspective
 
Micro frontend architecture_presentation_ssoni
Micro frontend architecture_presentation_ssoniMicro frontend architecture_presentation_ssoni
Micro frontend architecture_presentation_ssoni
 
Hybrid Mobile Application
Hybrid Mobile ApplicationHybrid Mobile Application
Hybrid Mobile Application
 

Destaque

Merging micrservices architecture with SOA Practices
Merging micrservices architecture with SOA Practices Merging micrservices architecture with SOA Practices
Merging micrservices architecture with SOA Practices
WSO2
 

Destaque (20)

Functional Programming Past Present Future
Functional Programming Past Present FutureFunctional Programming Past Present Future
Functional Programming Past Present Future
 
Changing application demands: What developers need to know
Changing application demands: What developers need to knowChanging application demands: What developers need to know
Changing application demands: What developers need to know
 
Building Resilient Microservices
Building Resilient Microservices Building Resilient Microservices
Building Resilient Microservices
 
Refactor your Java EE application using Microservices and Containers - Arun G...
Refactor your Java EE application using Microservices and Containers - Arun G...Refactor your Java EE application using Microservices and Containers - Arun G...
Refactor your Java EE application using Microservices and Containers - Arun G...
 
Blockchain technology a primer
Blockchain technology   a primerBlockchain technology   a primer
Blockchain technology a primer
 
Merging micrservices architecture with SOA Practices
Merging micrservices architecture with SOA Practices Merging micrservices architecture with SOA Practices
Merging micrservices architecture with SOA Practices
 
Java EE facile con Spring Boot - Luigi Bennardis - Codemotion Roma 2015
Java EE facile con Spring Boot - Luigi Bennardis - Codemotion Roma 2015Java EE facile con Spring Boot - Luigi Bennardis - Codemotion Roma 2015
Java EE facile con Spring Boot - Luigi Bennardis - Codemotion Roma 2015
 
Understanding Bitcoin (Blockchain) and its Potential for Disruptive Applications
Understanding Bitcoin (Blockchain) and its Potential for Disruptive ApplicationsUnderstanding Bitcoin (Blockchain) and its Potential for Disruptive Applications
Understanding Bitcoin (Blockchain) and its Potential for Disruptive Applications
 
Simplify Cloud Applications using Spring Cloud
Simplify Cloud Applications using Spring CloudSimplify Cloud Applications using Spring Cloud
Simplify Cloud Applications using Spring Cloud
 
Microservices Past, Present, Future
Microservices Past, Present, FutureMicroservices Past, Present, Future
Microservices Past, Present, Future
 
John Davies of C24 - BlockChain - Blockbuster or Bullshit?
John Davies of C24 - BlockChain - Blockbuster or Bullshit?John Davies of C24 - BlockChain - Blockbuster or Bullshit?
John Davies of C24 - BlockChain - Blockbuster or Bullshit?
 
Spring IO 2016 - Spring Cloud Microservices, a journey inside a financial entity
Spring IO 2016 - Spring Cloud Microservices, a journey inside a financial entitySpring IO 2016 - Spring Cloud Microservices, a journey inside a financial entity
Spring IO 2016 - Spring Cloud Microservices, a journey inside a financial entity
 
Spring cloud for microservices architecture
Spring cloud for microservices architectureSpring cloud for microservices architecture
Spring cloud for microservices architecture
 
Cryptocurrencies, Blockchain & Smart Contracts: A General Introduction
Cryptocurrencies, Blockchain & Smart Contracts: A General IntroductionCryptocurrencies, Blockchain & Smart Contracts: A General Introduction
Cryptocurrencies, Blockchain & Smart Contracts: A General Introduction
 
Microservices with Spring Boot
Microservices with Spring BootMicroservices with Spring Boot
Microservices with Spring Boot
 
Microservices with Java, Spring Boot and Spring Cloud
Microservices with Java, Spring Boot and Spring CloudMicroservices with Java, Spring Boot and Spring Cloud
Microservices with Java, Spring Boot and Spring Cloud
 
Microservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring CloudMicroservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
 
Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...
Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...
Microservices + Events + Docker = A Perfect Trio by Docker Captain Chris Rich...
 
Docker for Ops: Extending Docker with APIs, Drivers and Plugins by Arnaud Por...
Docker for Ops: Extending Docker with APIs, Drivers and Plugins by Arnaud Por...Docker for Ops: Extending Docker with APIs, Drivers and Plugins by Arnaud Por...
Docker for Ops: Extending Docker with APIs, Drivers and Plugins by Arnaud Por...
 
Spring boot introduction
Spring boot introductionSpring boot introduction
Spring boot introduction
 

Semelhante a Building & scaling a live streaming mobile platform - Gr8 road to fame

SumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststemSumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststem
Sumit Kataria
 
Oxagile Company Presentation (UPDATED)
Oxagile Company Presentation (UPDATED)Oxagile Company Presentation (UPDATED)
Oxagile Company Presentation (UPDATED)
Dzmitry Aleinik
 
Top 10 Lessons Learned from the Netflix API - OSCON 2014
Top 10 Lessons Learned from the Netflix API - OSCON 2014Top 10 Lessons Learned from the Netflix API - OSCON 2014
Top 10 Lessons Learned from the Netflix API - OSCON 2014
Daniel Jacobson
 
Faster and more efficient processes by combining BPM and Mobile – yes we can!
Faster and more efficient processes by combining BPM and Mobile – yes we can!Faster and more efficient processes by combining BPM and Mobile – yes we can!
Faster and more efficient processes by combining BPM and Mobile – yes we can!
Sebastian Faulhaber
 

Semelhante a Building & scaling a live streaming mobile platform - Gr8 road to fame (20)

SumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststemSumitK's mobile app dev using drupal as base ststem
SumitK's mobile app dev using drupal as base ststem
 
HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?HTML5 or Android for Mobile Development?
HTML5 or Android for Mobile Development?
 
Dynamic APIs: SOA Done Right
Dynamic APIs: SOA Done RightDynamic APIs: SOA Done Right
Dynamic APIs: SOA Done Right
 
Zend php mobile and right scale rightscale compute 2013
Zend php mobile and right scale   rightscale compute 2013Zend php mobile and right scale   rightscale compute 2013
Zend php mobile and right scale rightscale compute 2013
 
Go Cloud Native with IBM Bluemix Developer Console - GIDS17
Go Cloud Native with IBM Bluemix Developer Console - GIDS17Go Cloud Native with IBM Bluemix Developer Console - GIDS17
Go Cloud Native with IBM Bluemix Developer Console - GIDS17
 
The New Possible: How Platform-as-a-Service Changes the Game
 The New Possible: How Platform-as-a-Service Changes the Game The New Possible: How Platform-as-a-Service Changes the Game
The New Possible: How Platform-as-a-Service Changes the Game
 
#dbhouseparty - Should I be building Microservices?
#dbhouseparty - Should I be building Microservices?#dbhouseparty - Should I be building Microservices?
#dbhouseparty - Should I be building Microservices?
 
MMC Seminar May 2015 Jonas Engstrom (Mayam) Keynote pptx
MMC Seminar May 2015 Jonas Engstrom (Mayam) Keynote pptxMMC Seminar May 2015 Jonas Engstrom (Mayam) Keynote pptx
MMC Seminar May 2015 Jonas Engstrom (Mayam) Keynote pptx
 
Oscon2014 Netflix API - Top 10 Lessons Learned
Oscon2014 Netflix API - Top 10 Lessons LearnedOscon2014 Netflix API - Top 10 Lessons Learned
Oscon2014 Netflix API - Top 10 Lessons Learned
 
Toronto node js_meetup
Toronto node js_meetupToronto node js_meetup
Toronto node js_meetup
 
Neev capabilities in building video and live streaming apps
Neev capabilities in building video and live streaming appsNeev capabilities in building video and live streaming apps
Neev capabilities in building video and live streaming apps
 
TiConf Australia 2013
TiConf Australia 2013TiConf Australia 2013
TiConf Australia 2013
 
Oxagile company presentation
Oxagile company presentationOxagile company presentation
Oxagile company presentation
 
Oxagile Company Presentation (UPDATED)
Oxagile Company Presentation (UPDATED)Oxagile Company Presentation (UPDATED)
Oxagile Company Presentation (UPDATED)
 
OData External Data Integration Strategies for SaaS
OData External Data Integration Strategies for SaaSOData External Data Integration Strategies for SaaS
OData External Data Integration Strategies for SaaS
 
Top 10 Lessons Learned from the Netflix API - OSCON 2014
Top 10 Lessons Learned from the Netflix API - OSCON 2014Top 10 Lessons Learned from the Netflix API - OSCON 2014
Top 10 Lessons Learned from the Netflix API - OSCON 2014
 
AWS Toronto Content Production symposium - Welcome
AWS Toronto Content Production symposium - WelcomeAWS Toronto Content Production symposium - Welcome
AWS Toronto Content Production symposium - Welcome
 
Faster and more efficient processes by combining BPM and Mobile – yes we can!
Faster and more efficient processes by combining BPM and Mobile – yes we can!Faster and more efficient processes by combining BPM and Mobile – yes we can!
Faster and more efficient processes by combining BPM and Mobile – yes we can!
 
Optimizing TAS Usage at Ford Motor Company
Optimizing TAS Usage at Ford Motor CompanyOptimizing TAS Usage at Ford Motor Company
Optimizing TAS Usage at Ford Motor Company
 
Overboard.js - where are we going with with jsconfasia / devfestasia
Overboard.js - where are we going with with jsconfasia / devfestasiaOverboard.js - where are we going with with jsconfasia / devfestasia
Overboard.js - where are we going with with jsconfasia / devfestasia
 

Mais de IndicThreads

Scrap Your MapReduce - Apache Spark
 Scrap Your MapReduce - Apache Spark Scrap Your MapReduce - Apache Spark
Scrap Your MapReduce - Apache Spark
IndicThreads
 
Continuous Integration (CI) and Continuous Delivery (CD) using Jenkins & Docker
 Continuous Integration (CI) and Continuous Delivery (CD) using Jenkins & Docker Continuous Integration (CI) and Continuous Delivery (CD) using Jenkins & Docker
Continuous Integration (CI) and Continuous Delivery (CD) using Jenkins & Docker
IndicThreads
 
Unraveling OpenStack Clouds
 Unraveling OpenStack Clouds Unraveling OpenStack Clouds
Unraveling OpenStack Clouds
IndicThreads
 

Mais de IndicThreads (20)

Http2 is here! And why the web needs it
Http2 is here! And why the web needs itHttp2 is here! And why the web needs it
Http2 is here! And why the web needs it
 
Building on quicksand microservices indicthreads
Building on quicksand microservices  indicthreadsBuilding on quicksand microservices  indicthreads
Building on quicksand microservices indicthreads
 
How to Think in RxJava Before Reacting
How to Think in RxJava Before ReactingHow to Think in RxJava Before Reacting
How to Think in RxJava Before Reacting
 
Iot secure connected devices indicthreads
Iot secure connected devices indicthreadsIot secure connected devices indicthreads
Iot secure connected devices indicthreads
 
Real world IoT for enterprises
Real world IoT for enterprisesReal world IoT for enterprises
Real world IoT for enterprises
 
IoT testing and quality assurance indicthreads
IoT testing and quality assurance indicthreadsIoT testing and quality assurance indicthreads
IoT testing and quality assurance indicthreads
 
Harnessing the Power of Java 8 Streams
Harnessing the Power of Java 8 Streams Harnessing the Power of Java 8 Streams
Harnessing the Power of Java 8 Streams
 
Internet of things architecture perspective - IndicThreads Conference
Internet of things architecture perspective - IndicThreads ConferenceInternet of things architecture perspective - IndicThreads Conference
Internet of things architecture perspective - IndicThreads Conference
 
Cars and Computers: Building a Java Carputer
 Cars and Computers: Building a Java Carputer Cars and Computers: Building a Java Carputer
Cars and Computers: Building a Java Carputer
 
Scrap Your MapReduce - Apache Spark
 Scrap Your MapReduce - Apache Spark Scrap Your MapReduce - Apache Spark
Scrap Your MapReduce - Apache Spark
 
Continuous Integration (CI) and Continuous Delivery (CD) using Jenkins & Docker
 Continuous Integration (CI) and Continuous Delivery (CD) using Jenkins & Docker Continuous Integration (CI) and Continuous Delivery (CD) using Jenkins & Docker
Continuous Integration (CI) and Continuous Delivery (CD) using Jenkins & Docker
 
Speed up your build pipeline for faster feedback
Speed up your build pipeline for faster feedbackSpeed up your build pipeline for faster feedback
Speed up your build pipeline for faster feedback
 
Unraveling OpenStack Clouds
 Unraveling OpenStack Clouds Unraveling OpenStack Clouds
Unraveling OpenStack Clouds
 
Digital Transformation of the Enterprise. What IT leaders need to know!
Digital Transformation of the Enterprise. What IT  leaders need to know!Digital Transformation of the Enterprise. What IT  leaders need to know!
Digital Transformation of the Enterprise. What IT leaders need to know!
 
Architectural Considerations For Complex Mobile And Web Applications
 Architectural Considerations For Complex Mobile And Web Applications Architectural Considerations For Complex Mobile And Web Applications
Architectural Considerations For Complex Mobile And Web Applications
 
Functional Programming With Lambdas and Streams in JDK8
 Functional Programming With Lambdas and Streams in JDK8 Functional Programming With Lambdas and Streams in JDK8
Functional Programming With Lambdas and Streams in JDK8
 
Data Privacy using IoTs in Smart Cities Project
 Data Privacy using IoTs in Smart Cities Project Data Privacy using IoTs in Smart Cities Project
Data Privacy using IoTs in Smart Cities Project
 
Big Data Analytics using Amazon Elastic MapReduce and Amazon Redshift
 Big Data Analytics using Amazon Elastic MapReduce and Amazon Redshift Big Data Analytics using Amazon Elastic MapReduce and Amazon Redshift
Big Data Analytics using Amazon Elastic MapReduce and Amazon Redshift
 
Indic threads pune12-grammar of graphicsa new approach to visualization-karan
Indic threads pune12-grammar of graphicsa new approach to visualization-karanIndic threads pune12-grammar of graphicsa new approach to visualization-karan
Indic threads pune12-grammar of graphicsa new approach to visualization-karan
 
Indic threads pune12-java ee 7 platformsimplification html5
Indic threads pune12-java ee 7 platformsimplification html5Indic threads pune12-java ee 7 platformsimplification html5
Indic threads pune12-java ee 7 platformsimplification html5
 

Último

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Último (20)

%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 

Building & scaling a live streaming mobile platform - Gr8 road to fame

  • 1. The GR8 Road to #fame Rishabh Jain To The New Digital http://www.fame.live
  • 2.
  • 3. LIVE will be the new ‘Selfie’ by 2017 • #fame was launched on 15th April 2015 and was available for both Android and iOS from day 1. • Twitter’s Periscope was launched on March 26, 2015 and on May 26 2015 it was available for Android • Facebook Live launched in April. (6th April 2016)
  • 4. Some terms that I would be using • DVR - Digital Video Recorder • Encoder - Compresses the video to standard format • Transcoding - converting a given video input into a digital format that is compatible with most types of Web players and mobile devices • RTMP - Real time messaging protocol • HLS - HTTP Live Streaming • OTT Platform - Over the Top, delivery of audio and video over Internet (e.g. Youtube.com) • Beam - Instead of Stream we call it Beam • Adaptive Bitrate - Automatically adjusting the video quality depending on the bandwidth.
  • 5. Contents What is #fame? The Solution Some Key Components The Need Evolution/Future
  • 6. What is #fame? A platform that allows users to broadcast themselves LIVE How #fame is fairing  MAUs: 3M+  Watch Hours: ~17K / day  Interactions: ~15M / day  Multi-Country presence – India, Indonesia and Thailand
  • 7. Key Milestone  Big Bollywood Events IIFA(Bollywood Awards), Movie Releases  Entertainment Event Streaming Sunburn Goa, NH-7 Weekender  Brand Promotions OLA, Myntra, Bacardi, etc  Celebrity Shows & Movie Promotions Afrojack, Akshay Kumar, S oha Ali Khan, Kunal Khemu and many more TV and Bollywood ac tors
  • 8. Contents What is #fame? The Solution Some Key Components The Need Evolution/Future
  • 9. Product vision #fame approached TTN Digital to build a Live Video Platform with an aim to Disrupt and Democratize Talent Discovery ecosystem What #fame needed  Mobile first highly interactive and personalized (based on user behavior and preferences) social platform  User can start beaming live to whole wide world at the click of button; can watch Videos On Demand as well  International reach yet Hyper-local
  • 10. Challenges- Business and Technical  Small turn around time: MVP < 3 months  Minimal Latency and adaptive quality in Live Streaming and across low bandwidths  Real time chat  Publish Subscribe at large scale and unpredictability  Diverse ecosystem of mobile devices  Early Movers Dilemma, Extreme Agility
  • 11. Contents What is #fame? The Solution Some Key Components The Need Evolution/Future
  • 12. Demo
  • 13. The Story So Far April – May(2015) • Public Launch (Android, iOS) with improved features – Moderation, Instant Live etc. • CMS and Admin Jun – Jul(2015) • IIFA – Arch. And Prod. Scale-up • Landscape Mode • Stickers • Hashtags • Carousal Control • Sharing across App Aug – Sep (2015) • Revamped Go Live Experience • Follow Famestars On Sign-up • Consumer Learning Journey • Comments on Videos
  • 14. The Story So Far Oct – Nov(2015) • Revamped UI / Navigation, Personalization, Social, FTL • Indonesia Launch Dec – Jan(2016) • Website Launch • Mobile Responsive Site • Revamped Search • Major Bugs and UI/UX Fixes • Thailand Launch • Regionalisation (S. India, GPS based) Feb-Mar(2016) • Portrait Beaming(Streaming) • Re-written chat Micro Service • Revamped Chat UX • Major Bugs and UI/UX Fixes • Own OTT Platform (instead of Youtube
  • 16. Thought Behind Initial Design Decisions  API First Architecture: Mobile First Application  Grails: RAD and good REST support  Wowza Server : Good support for protocols & mature community  PubNub : Leader in Chat and Instant Messaging Learning from the Initial Design  Databases can quickly become point of contention  Difficult to move fast with Monolithic architecture  Business wants to move fast but how does Engineering cope up Victims of our initial success
  • 18. Solution Architecture – Improved & Refined
  • 19. Thoughts behind the Changes  Smaller chunks of applications should be easier to manage & scale  Expanding teams will be easier as smaller specialized apps  Database load distribution achieved partially Micro-services with Spring Boot
  • 20. And We learn some more…  If not done properly, Micro-services can be a dependency hell  Few time consuming transactions can result in bad UX  Performance tuning starts from requirement understanding: Think to scale  We needed more database connections  There are better ways to do calculations & aggregations  Hope for the best, prepare for the worst
  • 21. Solution Architecture – Current AngularJS
  • 22. Thoughts Behind the Changes  Existing APIs made AngularJS as obvious choice for Web App  Offloading certain calls to Nginx for Smart response caching  Hazelcast can handle complex queries as well.  Handling things asynchronously can save a lot of precious resources  Server level optimizations  Improves performance from same H/W  Spark, Kafka, Hadoop-YARN, Cassandra combination good for real time/batch aggregations & calculations.  Developers needed an integrated consistent environment on local machines  Docker
  • 23. And The Learning Continues…  150+ servers with 5 different environments  MySql or Percona or AWS Aurora or Vitess or …  MongoDB Improvements (Read-Write Separation, Replication and Sharding)  Grails 3  Spring Boot  Real-time monitoring & pro-active corrections across multitude of services and 3rd party dependencies
  • 24. And It’s relentless  Faster encoding mechanisms for better live streaming & viewing experience  Better resilience for surges  Intelligent and self-learning Personalization  More Data Driven decisions  Monetization possibilities and experiments
  • 25. For Video Domain enthusiast
  • 26. For Video Domain enthusiast (Behind the scenes)
  • 31. Contents What is #fame? The Solution Some Key Components The Need Evolution/Future
  • 33. Live Steaming And Chat- Technology making it possible
  • 35. Live Steaming And Chat- Technology making it possible
  • 36. Contents What is #fame? The Solution Some Key Components The Need Evolution/Future
  • 37. The Road Ahead Regionalization Monetization Private Beams Gamification Collaborative Beams Gratification