JSConf 2015 Andrew Rota
summary
Wayfair runs a PHP backend with a C++ mustache renderer for a catalog of ~7 million products from 7,000+ suppliers and suffers client-side overrendering from Backbone+jQuery. The team compiles Mustache server-side with the reactive compiler, uses the mercury virtual-DOM adaptor and keeps Backbone for data, then builds and open sources tungsten, which integrates with the legacy stack and achieves ~10 renders/sec (on DB‑monster) comparable to React/Glimmer. A microbenchmark with paperclip hits ~30 renders/sec, showing room for more optimizations.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:12Performance
- 4:35Rewriting
- 6:17Legacy Code
- 8:35Virtual DOM
- 9:39Modularity
- 11:55Tungsten
- 14:06Existing infrastructure
- 16:10Demos
related talks
30mMustache in the Front, Mustache in the Back
01h 29mClient-Side UI Smackdown
31mRethinking composable E-Commerce Frontends
48mClientside templates for reactive UI
44mServer Side Rendering from the trenches
39mTowards Universal JavaScript
29mThe Front-end Takeover
39mNavigating front-end architecture like a Neopian
