Scalability and optimization
From MVP to Full Fledged Flutter app
Debasmita Sarkar
GDE Flutter & Dart
@The__Debo
Agenda
Introduction to Scalability and optimization
01
Challenges to transform MVP to Scalable apps
03
Understanding MVP
02
Solutions
04
Case Studies
05
Q & A
06
What’s scalability and optimization?
01
Scalability
Optimization
Understanding MVP
02
What is MVP?
What is MVP?
MVP means Minimum viable product
Flutter for MVP
Quick prototyping
Cross platform Development
Pixel perfect UI
High performance
Challenges Post MVP Creation
03
MVP
Scalable App
Supporting new features
Quality assurance
Handling different device sizes
Unknown errors
How to make scalable Flutter apps?
04
Modular Architecture
Modular Architecture
MVC (Model View Controller)
MVVM (Model View ViewModel)
CLEAN
MVC
MVC
Model represents the data layer,
View represents the UI layer,
Controller acts as an intermediary that handles the input from the View, processes it, and returns the output display (View).
When to use MVC?
Simple to medium complexity application
MVVM
MVVM
Model is the data layer,
View is the UI layer,
ViewModel acts as an intermediary, but unlike Controller, it doesn't know about the View.
When to use MVVM?
Apps with Complex UI interactions
Simpler testing
CLEAN
CLEAN
When to use CLEAN Architecture?
Large scale application
Complex business logic
Highly testable and long term maintainability
Tailored State management solutions
Predictable Data flow
Performance optimization
Manages complexity
Increases readability
Tailored State management solutions
Provider
Riverpod
Bloc
Tailored State management solutions
Provider
Tailored State management solutions
Riverpod
Tailored State management solutions
Bloc
Performance optimization
Flutter Devtools
Continuous Monitoring
Firebase Crashalytics
Case studies
05
1 Million+
10M+ Downloads
50% reduction in time required to launch new features
64% reduction in codebase size
100% code coverage
Venus has a beautiful name and is the second planet from the Sun. Venus is hot and has a very poisonous atmosphere
Nubank 100M+ Downloads
30% better merge success rate compared to iOS
600% faster merge rate of PRs
Venus has a beautiful name and is the second planet from the Sun. Venus is hot and has a very poisonous atmosphere
Google Pay 1B+ Downloads
70% reduction in engineering effort
35% reduction in lines of code
Q & A
06
Thank you!!
Connect with me!!