Rebuilding Facebook Chat
summary
A rewrite of Facebook Chat replaces a monolithic client with CommonJS modules and dynamic server-side dependencies, cuts user bug reports from thousands to hundreds, and ships in six months. The front end moves from brittle MVC/event spaghetti to a functional style: singletons for thread stores, incremental loading for conversations and participants, and JSON-serializable application state. Tests run in Node with jsdom/contextify and a command-line harness that encourages isolated unit tests.
AI-written summary · about
chapters (5)
- 0:00Start
- 11:02JS require "dynamic" // PHP - server code
- 19:46JSOOP Style - Redux
- 22:38JSOOP Style - Testability
- 26:11JS Functional Style Example
related talks
14mBuilding the New Facebook with React and Relay
17mBuilding The New Facebook With React and Relay
01h 18mThe future of chat
24mBuilding Realtime Singlepage Apps
21mThe Evolution of Facebook’s Mobile App Architecture
19mJS Apps
24mBuilding and maintaining messenger.com
21mThe Art of Changing Large Software Systems in Place
