Ishan Khanna

Tech Lead, Mobile Infrastructure @ TikTok

Talk Title

Modern Paging at Scale: StoreX + Compose

Room

Grand Ballroom 1

Date

20.09.2024

Time

11:15 > 40 min

Share

on Twitter

Pagination in large-scale mobile applications presents unique challenges. This talk, presented by engineers from Uber and TikTok, introduces StoreX Paging, the Mobile Native Foundation’s KMP solution.

We’ll dive deep into StoreX Paging’s architecture, built on unidirectional data flow, Store, Molecule, and Compose. We’ll discuss the results of our preliminary performance benchmarks. We’ll explore new concepts like an “updating item” for independent updates and an “operation pipeline” for on-the-fly data transformations, setting StoreX apart from traditional paging libraries.

The talk will cover StoreX Paging’s core APIs and customization points, including launch effects, middleware, side effects, and adaptive fetching strategies. We’ll share implementation details of our default fetching strategy and Compose Runtime integration, demonstrating how we’ve optimized memory management for large datasets. Finally, we’ll discuss performance benchmarking approaches and real-world applications of StoreX Paging at TikTok.

Talk Title

How to make Kotlin compile 2x faster on a super large project?

Room

Fountain Room

Date

19.09.2024

Time

13:40 > 40 min

Share

on Twitter

In this talk, we'll introduce 5 advanced optimizations, from easy to hard to existing Kotlin compilers which are related to cache rate improvement and cache reuse. One of the heavyweight optimizations we call the "baseline kotlin cache". As we all know, normally, any changes to a low-level module will make the parent module cache fingerprint change invalid. We solved this problem by turning the fuzzy cache of the compileKotlin task into an incremental record bin, and reducing the full build time of the TikTok app in any scenario to 50%! Those solutions from TikTok could help Kotlin module build 2x+ faster than it used to be.

Speaker Bio

Ishan is a passionate product enthusiast and self-taught developer who loves open source technologies, tech conferences, and hackathons.

He is currently leading the Mobile Infrastructure team for TikTok in the US. Prior to that he worked at Tinder, Getaround, Booking.com, and Inshorts.

He is also a PMC member at Apache Fineract Project and a Maintenaner at Mifos Initiative. He successfully graduated as a Google Summer of Code Intern in 2014 under Mifos and in 2015 under XMPP Standards Foundation and has been mentoring students at Google Summer of Code ever since.

Menu