Advanced techniques for concurrency & memory management

preview_player
Показать описание
Droidcon SF 2016

Managing memory & concurrency are one of the biggest challenges we face when it comes to writing testable & efficient apps.
based on the experience of building Realm, We'll dig into some patterns & tricks used to control memory footprint & multithreading.

Some of the topics this talks will cover are:
- How to use the Java Reference API (WeakReference & ReferenceQueue) to work with the GC
- Writing tests involving the GC
- Working & testing code using the Handler/Looper api
- Alternative asynchronous models (Messenger/ResultReceiver)
- Threadpool customisation & pitfalls
- Handler (mocking & testing, using IdleHandler)

Speaker:
Nabil Hachicha is an avid Android fan who enjoys speaking at community-oriented conferences like Droidcon & GDG. His work as the developer behind SnappyDB helped him hone his open source development skills. He previously worked on apps in France & UK for companies like Renault, Bouygues-Telecom, Michelin, NewsUK, Unilever, and Go-Ahead. Currently, Nabil is an Android developer at Realm, replacement for SQLite & Core Data.
Рекомендации по теме