TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

All Twitter Mobile Traffic Is Now Powered by Node.js

75 pointsby akras14over 8 years ago

7 comments

nodesocketover 8 years ago
Wish they&#x27;d do a full write-up. I&#x27;d be interested in how they run their node processes.<p><pre><code> - Using containers, VMs, bare metal? - Using a process manager like Forever[1], PM2[2] or just native systemd? </code></pre> [1] <a href="https:&#x2F;&#x2F;github.com&#x2F;foreverjs&#x2F;forever" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;foreverjs&#x2F;forever</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;Unitech&#x2F;pm2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Unitech&#x2F;pm2</a>
评论 #13597094 未加载
alex_dufover 8 years ago
I&#x27;m still confused.<p>Did they add a layer between their backend and mobile to pre-render the page server side, or did they get rid of their whole scala&#x2F;jvm stack to replace it with Node?
评论 #13599730 未加载
fenollpover 8 years ago
They seem to have done this only for Webpack (splitting JS libs + prefetching).<p>Why use Node at all? It&#x27;s all static content...<p>Crazy that a top engineering post is about some company discovering &quot;compile-time&quot;.<p>Next post will be about how they discovered this thing they call Testing?
评论 #13600028 未加载
评论 #13598901 未加载
relics443over 8 years ago
I remember seeing Twitter switching from ruby&#x2F;rails to the JVM for a lot of their backend a few years ago. I wonder why they&#x27;re using node now (unless the mobile traffic was never moved to the JVM)?<p><a href="https:&#x2F;&#x2F;www.infoq.com&#x2F;articles&#x2F;twitter-java-use" rel="nofollow">https:&#x2F;&#x2F;www.infoq.com&#x2F;articles&#x2F;twitter-java-use</a>
midgetjonesover 8 years ago
I&#x27;m impressed, it&#x27;s very snappy.
PunchTornadoover 8 years ago
anyone knows why it was done?
murali129over 8 years ago
why did not go for go