1 of 5

Service Worker migrates to a pure Mojo world

2 of 5

Mission accomplished

All Service Worker IPCs are in Mojo interfaces now!

Intel: Leon and Xiaofeng

joined Service Worker mojofication project from Dec, 2016,

collaborating closely/happily with shimazu@, falken@ and kinuko@.Big Thanks!!

3 of 5

Retrospective

Total number of IPCs migrated:

90+

Mojo interfaces introduced:

10

CLs landed:

100+

4 of 5

Pain points and solutions

Mojofication != IPCs translation to Mojo

  • A tremendous amount of IPCs
    • Split into a logical set of Mojo interfaces which keep good balance between independence and interoperability.
  • Subtle IPCs ordering issues
    • Use Channel-associated interfaces as intermediate
  • Multithreading
    • Lots of refactor to make each Mojo interface live better on its particular thread.

5 of 5

Long live Mojo!

Thanks