Date post: | 20-Jan-2017 |
Category: |
Technology |
Upload: | tech-in-asia-id |
View: | 100 times |
Download: | 1 times |
Problem :
• Scrolling images in Tokopedia App -> b *OOM*!
• Images is too BIG!
• Images is not optimized!
How do We find it ?
• Screening play store reviews!
• Use crashlytics and monitoring!
• Using MAT and Time Profiling in Xcode!
Solution :
• Reduce image size from the API!
• On Demand Resizing (Thumbor)!
• Use well-known images libs !
• Picasso!
• Glide!
• Webp!
• Limit cache size for images!
Problem
• Your app keep freezing and crashing.!
• Heavy task on main thread!
• e.g : Calling API!
• Your users keep yelling “crash!!!” on playstore.!
How do we find it ?
• ANRWatchdog + Crashlytics for Android!
• Google Analytics for iOS!
• Again, by monitoring playstore’s review!
Problem
• Push notification arrive in decade!
• Cron job as the backbone!
• Why not call the push notification directly without using cron job ?!
Solution
• NodeJS + Redis pub sub = super fast!!
• Publish the data to redis and forget it!
• We call it: hoshizora!