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.

Ask HN: A client project is getting momentum, I need infrastructure advices

1 pointsby maxencecornetover 5 years ago
Hello,<p>First off, I am by no means an infrastructure or devops guys, I&#x27;m a senior nodejs freelance, so some of this is new to me<p>This is the current infrastructur:e<p>- A nginx reverse proxy in front of the nodejs API VPS<p>- A 24 vCPU, 128 GB VPS<p>- A 64GB, 8vCPU database<p>- The landing page is on a Cloudflare worker<p>I am using PM2 to start a nodejs instance on each vCPU, so we have 24 instances of the API running behind the pm2 load balancer, itself behind the nginx reverse proxy<p>We&#x27;re expecting around 50M-70M requests for next sunday, with most requests received around 9pm, we are expecting around 90k concurrent users<p>We are not using sockets, only HTTP requests (GET, POST, PUT)<p>I am looking for infrastructure tips to make sure that the API hold the traffic<p>Do you have any advice or tips on how I can scale the infrastructure and make sure that the API holds this kind of traffic ?<p>Thank you

1 comment

daleholborowover 5 years ago
Caching?
评论 #21683435 未加载