SlideShare uma empresa Scribd logo
1 de 20
Building Mobile Platforms for Massive Scale 
and Differentiated User Experience 
Regunath B, Principal Architect, Flipkart 
Amar Nagaram, Sr. Engineering Manager, Flipkart
Retail App (there are so many...) 
 Search and 
navigation 
 View product, 
reviews 
 Buy 
 Track status 
 Social 
integration 
 Zoom, Bar-code 
scan
eBook App (not a common app...) 
 Search, browse, 
read sample 
 Buy, read from 
multiple devices 
 Gesture interface 
 Sync reading 
location, offline 
mode 
 Dictionary, notes
slashn Event App(why app..?) 
 Location, Schedule, 
Speakers 
 QR code event pass 
 Customize schedule 
 Rate presentations
Why Build Apps? 
• Anytime, anywhere access (mostly) 
• Growth in smart phone user base 
• Mobile internet(3G, 2G) reach wider than 
desktop(DSL) 
• Better personalization 
• Gesture based user experience 
• More secure (2 Factor authentication) 
• Simpler checkout 
Adoption @ Flipkart : >20% of orders placed and growing
Attempt1 : Building Scalable and 
Differentiated User Experience
Standards and Productivity 
Stacks 
- Hybrid views (HTML5) for portability 
- Standard navigation 
- Quick to develop interactions 
- Web API 
- Wrapper based integration with 
backend systems 
- Push Notifications(StackMob, AirShip) - Offline experience 
- Data availability across devices 
- Cloud data service (StackMob, 
OpenMobster)
Ratings & Reviews(then)
Sub-optimal User Experience 
• Software on Device : Responsiveness of app, 
Resource usage 
• Network : Ability to deal with slow/broken 
network connectivity 
– Latencies of services located in far of geographies 
•e.g. 3 seconds to exchange 2K data using StackMob 
• API Platform : Latencies, Fault tolerance 
• Engagement : Notifications, Usage 
– Relevance of Notifications 
– Tracking installs, failures in accessing data
Attempt2 : Building Scalable and 
Differentiated User Experience 
Why User Experience Matters 
(across platforms, networks, features, time)
Cue the Numbers 
• Only 16% of users return to an app that fails to 
load fast 
• Ideal app launch time : 2 seconds 
• Average Indian network data speed : 0.9 mbps 
• API Platform latencies : has to be < 500ms 
 Scale fast 
 Install base : 1 M Android installs in 6 months 
 Traffic growth : 75% MoM 
 Per user engagement growing MoM
Architecture decisions 
• Native device user interface 
• Server controlled layouts – A/B configurable 
– Page composition using reusable widgets 
• Fault-tolerant, parallel service calls 
• Availability vs. Consistency tradeoffs 
– Distributed and local caches 
• Prevent cascading failures 
– Timeouts, Threadpools control resource usage 
• Ability to operate in disconnected mode 
– Offline data store, sync support
Architecture decisions 
• User experience on slow networks 
– Low resolution images, preference for text over 
image 
• Content specific user engagement 
– Deep linked Push Notifications 
– In-app notifications 
• Data driven decision making, features 
– Usage information, Performance statistics
Stacks Optimized for User 
Experience 
- Native views with optimized rendering 
- Gesture navigation 
- Fluid, friction free interactions 
Jetty, Lego, Phantom FlipCast Notifications FlipSync Offline mode 
- Mobile Gateway/API 
- Transparent integration into 
other backend systems 
- Resilience, Low latency 
execution 
- Multicast (Targeted) 
- Personalized 
- Platform agnostic 
- Interactive 
- Context sensitive 
- 
- Disconnected mode 
- Near real-time sync 
- Data availability across 
devices & web 
Hyperion analytics 
- Usage information 
- Errors/crashes 
- Performance statistics 
- Soft real-time trends 
- Feedback/insights
APIs on Lego, Phantom 
REST Controllers 
PageBuilder PageBuilder PageBuilder 
WidgetBuilder WidgetBuilder WidgetBuilder 
Handler 
Repository 
- Jetty Http Interface 
- MVC controllers 
- Lego libraries 
- MVC model builders 
- Futures used in 
Scatter/Gather data read 
patterns 
- Phantom Resilience layer 
- Availability knobs : timeouts, 
fallbacks, throttling 
- Real-time monitor 
Proxy Command
Operating the API Platform – 
Phantom Console 
https://github.com/Flipkart/phantom (Flipkart OSS)
FlipCast Notifications 
• Supported Platforms 
– iOS, Android, Windows Phone 8 
• Features 
 Device register/unregister API 
 Configurable push message payloads 
 Automatic housekeeping for invalid 
devices 
 Automatic/Transparent retry and 
sidelining 
 Message history management 
 Pluggable data source (Default: 
MongoDB) 
 Automatic backpressure management 
 Unicast, Multicast & Broadcast Push 
API 
 Auto Batching for multicast & broadcast 
push 
• Tech stack 
– spray.io, akka.io 
– RabbitMQ 
– MongoDB
Hyperion Analytics 
• REST style Event API for data injestion 
• Replicated and Partitioned Kafka message queue 
• Distributed stream processor using Storm 
• HBase event data store 
• MongoDB Query data store 
• Search and aggregation API on query data store
Hyperion Analytics
Installs, Ratings & Reviews(now) 
Installs : 5,000,000 - 10,000,000 
Installs : 100,000 - 500,000

Mais conteúdo relacionado

Destaque

Facebook style notifications using hbase and event streams
Facebook style notifications using hbase and event streamsFacebook style notifications using hbase and event streams
Facebook style notifications using hbase and event streamsRegunath B
 
practical risks in aadhaar project and measures to overcome them
practical risks in aadhaar project and measures to overcome thempractical risks in aadhaar project and measures to overcome them
practical risks in aadhaar project and measures to overcome themsaipriyadonthula
 
Aadhaar at 5th_elephant_v3
Aadhaar at 5th_elephant_v3Aadhaar at 5th_elephant_v3
Aadhaar at 5th_elephant_v3Regunath B
 
Oss as a competitive advantage
Oss as a competitive advantageOss as a competitive advantage
Oss as a competitive advantageRegunath B
 
Authentication(pswrd,token,certificate,biometric)
Authentication(pswrd,token,certificate,biometric)Authentication(pswrd,token,certificate,biometric)
Authentication(pswrd,token,certificate,biometric)Ali Raw
 

Destaque (7)

Facebook style notifications using hbase and event streams
Facebook style notifications using hbase and event streamsFacebook style notifications using hbase and event streams
Facebook style notifications using hbase and event streams
 
Uid
UidUid
Uid
 
practical risks in aadhaar project and measures to overcome them
practical risks in aadhaar project and measures to overcome thempractical risks in aadhaar project and measures to overcome them
practical risks in aadhaar project and measures to overcome them
 
Srikanth Nadhamuni
Srikanth NadhamuniSrikanth Nadhamuni
Srikanth Nadhamuni
 
Aadhaar at 5th_elephant_v3
Aadhaar at 5th_elephant_v3Aadhaar at 5th_elephant_v3
Aadhaar at 5th_elephant_v3
 
Oss as a competitive advantage
Oss as a competitive advantageOss as a competitive advantage
Oss as a competitive advantage
 
Authentication(pswrd,token,certificate,biometric)
Authentication(pswrd,token,certificate,biometric)Authentication(pswrd,token,certificate,biometric)
Authentication(pswrd,token,certificate,biometric)
 

Último

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 

Último (20)

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 

Building mobile platforms for scale and differentiated user experience

  • 1. Building Mobile Platforms for Massive Scale and Differentiated User Experience Regunath B, Principal Architect, Flipkart Amar Nagaram, Sr. Engineering Manager, Flipkart
  • 2. Retail App (there are so many...)  Search and navigation  View product, reviews  Buy  Track status  Social integration  Zoom, Bar-code scan
  • 3. eBook App (not a common app...)  Search, browse, read sample  Buy, read from multiple devices  Gesture interface  Sync reading location, offline mode  Dictionary, notes
  • 4. slashn Event App(why app..?)  Location, Schedule, Speakers  QR code event pass  Customize schedule  Rate presentations
  • 5. Why Build Apps? • Anytime, anywhere access (mostly) • Growth in smart phone user base • Mobile internet(3G, 2G) reach wider than desktop(DSL) • Better personalization • Gesture based user experience • More secure (2 Factor authentication) • Simpler checkout Adoption @ Flipkart : >20% of orders placed and growing
  • 6. Attempt1 : Building Scalable and Differentiated User Experience
  • 7. Standards and Productivity Stacks - Hybrid views (HTML5) for portability - Standard navigation - Quick to develop interactions - Web API - Wrapper based integration with backend systems - Push Notifications(StackMob, AirShip) - Offline experience - Data availability across devices - Cloud data service (StackMob, OpenMobster)
  • 9. Sub-optimal User Experience • Software on Device : Responsiveness of app, Resource usage • Network : Ability to deal with slow/broken network connectivity – Latencies of services located in far of geographies •e.g. 3 seconds to exchange 2K data using StackMob • API Platform : Latencies, Fault tolerance • Engagement : Notifications, Usage – Relevance of Notifications – Tracking installs, failures in accessing data
  • 10. Attempt2 : Building Scalable and Differentiated User Experience Why User Experience Matters (across platforms, networks, features, time)
  • 11. Cue the Numbers • Only 16% of users return to an app that fails to load fast • Ideal app launch time : 2 seconds • Average Indian network data speed : 0.9 mbps • API Platform latencies : has to be < 500ms  Scale fast  Install base : 1 M Android installs in 6 months  Traffic growth : 75% MoM  Per user engagement growing MoM
  • 12. Architecture decisions • Native device user interface • Server controlled layouts – A/B configurable – Page composition using reusable widgets • Fault-tolerant, parallel service calls • Availability vs. Consistency tradeoffs – Distributed and local caches • Prevent cascading failures – Timeouts, Threadpools control resource usage • Ability to operate in disconnected mode – Offline data store, sync support
  • 13. Architecture decisions • User experience on slow networks – Low resolution images, preference for text over image • Content specific user engagement – Deep linked Push Notifications – In-app notifications • Data driven decision making, features – Usage information, Performance statistics
  • 14. Stacks Optimized for User Experience - Native views with optimized rendering - Gesture navigation - Fluid, friction free interactions Jetty, Lego, Phantom FlipCast Notifications FlipSync Offline mode - Mobile Gateway/API - Transparent integration into other backend systems - Resilience, Low latency execution - Multicast (Targeted) - Personalized - Platform agnostic - Interactive - Context sensitive - - Disconnected mode - Near real-time sync - Data availability across devices & web Hyperion analytics - Usage information - Errors/crashes - Performance statistics - Soft real-time trends - Feedback/insights
  • 15. APIs on Lego, Phantom REST Controllers PageBuilder PageBuilder PageBuilder WidgetBuilder WidgetBuilder WidgetBuilder Handler Repository - Jetty Http Interface - MVC controllers - Lego libraries - MVC model builders - Futures used in Scatter/Gather data read patterns - Phantom Resilience layer - Availability knobs : timeouts, fallbacks, throttling - Real-time monitor Proxy Command
  • 16. Operating the API Platform – Phantom Console https://github.com/Flipkart/phantom (Flipkart OSS)
  • 17. FlipCast Notifications • Supported Platforms – iOS, Android, Windows Phone 8 • Features  Device register/unregister API  Configurable push message payloads  Automatic housekeeping for invalid devices  Automatic/Transparent retry and sidelining  Message history management  Pluggable data source (Default: MongoDB)  Automatic backpressure management  Unicast, Multicast & Broadcast Push API  Auto Batching for multicast & broadcast push • Tech stack – spray.io, akka.io – RabbitMQ – MongoDB
  • 18. Hyperion Analytics • REST style Event API for data injestion • Replicated and Partitioned Kafka message queue • Distributed stream processor using Storm • HBase event data store • MongoDB Query data store • Search and aggregation API on query data store
  • 20. Installs, Ratings & Reviews(now) Installs : 5,000,000 - 10,000,000 Installs : 100,000 - 500,000