Project Flash is an internal project at Housing.com to boost the WebApp and achieve a linear < 1ms server processing time for all the pages.
Project FlashA quest for < 1ms
View Slide
PreviouslyClient Rails AppBuild OptionsMemcacheRedisElasticSearchCompile Templatev8 Engine** Compile Hamlc
PreviouslyAWS Instance*NginxWorker* m3 large instances…….. 7 …….. AWS Instance*Worker… 7 … Worker Worker… 7 …
PreviouslyPage Load time* = ~400ms* Excluding SSL handshake and including latency
Then…Rails NodeJS** a pure bonding
NowPage Load time* = ~80ms* Excluding SSL handshake and including latency
NowServer Time* = ~3ms* Home Page, Service Pages
Housing NodeJS## the awww.. moment
• A non-blocking migration.• Keeping everything in place as was in rails.• Keeping it light weight and blazingly fast.• Logging & Server Analytics• Cache Management• and lot more…Challenges Faced
• Infra Cost cutting• Faster Page load times• User happiness index raised• Less hassle• Better maintenanceResults so far
FutureServer Time < 1ms ## consistent timeline. Game is On!
Future100% Isomorphic App## Thought process is On!