Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Project Flash – JSFoo Talk Proposal

Project Flash – JSFoo Talk Proposal

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.

Dron Rathore

July 31, 2015
Tweet

Other Decks in Technology

Transcript

  1. Project Flash
    A quest for < 1ms

    View Slide

  2. Previously
    Client Rails App
    Build Options
    Memcache
    Redis
    Elastic
    Search
    Compile Template
    v8 Engine*
    * Compile Hamlc

    View Slide

  3. Previously
    AWS Instance*
    Nginx
    Worker
    * m3 large instances
    …….. 7 …….. AWS Instance*
    Worker
    … 7 … Worker Worker
    … 7 …

    View Slide

  4. Previously
    Page Load time* = ~400ms
    * Excluding SSL handshake and including latency

    View Slide

  5. Then…
    Rails NodeJS*
    * a pure bonding

    View Slide

  6. Now
    Page Load time* = ~80ms
    * Excluding SSL handshake and including latency

    View Slide

  7. Now
    Server Time* = ~3ms
    * Home Page, Service Pages

    View Slide

  8. Housing NodeJS#
    # the awww.. moment

    View Slide

  9. • 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

    View Slide

  10. • Infra Cost cutting
    • Faster Page load times
    • User happiness index raised
    • Less hassle
    • Better maintenance
    Results so far

    View Slide

  11. Future
    Server Time < 1ms #
    # consistent timeline. Game is On!

    View Slide

  12. Future
    100% Isomorphic App#
    # Thought process is On!

    View Slide