How to reactively load and cache data without even trying.

Android has a wealth of open source libraries covering everything from network clients to UI frameworks. Something that is missing is a library to help load data from multiple sources, particularly 2 levels of caching + network. NY Times has recently open sourced such a library built on RxJava, Guava + OKIO which will dramatically simplifiy the common task of “get from mem cache, if not there get from disk, if not there hit the network, parse and update cache“. I’ll be taking users through the problems that we tried to solve and the solution that we propose for it.

The library is Store https://github.com/NYTimes/Store. Stores dramatically simplify data loading and caching while being exposed through reactive interfaces. Stores are the foundation of the NY Times app and allow us to both have best in class startup time as well as allowing us to work offline. In this talk I’ll introduce the library and then go through the open source tools we used to build it. Topics will include: Streaming data from OKHTTP using BufferedSource/Sink, Creation a blazing fast file system. Using Guava for intelligent caching, leveraging RxJava for combining and transforming multiple data sources

Level

Advanced

Architecture Development
Location: Sala 500 Date: 6 April 2017 Time: 16:00 - 16:40 Mike_Nakhimovich Mike Nakhimovich

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this. This site use third part services that use cookies: Lead Champion is a lead generation service provided by IntelligenceFocus Inc. Place: Italy – Privacy PolicyOpt Out

Close