TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is it advisable to write a back end using Node.js in 2024?

2 点作者 rammy1234超过 1 年前
I am planning on starting a new project and want to decide if Node.JS is still a thing for production code or is there anything you would recommend.<p>Few additional details.<p>We have projects running NextJS and other old projects in Node JS. Some are running Java too.<p>We cannot pay huge salaries for developers. we are start up.<p>we want to support scale around ~25K users to begin with. It should scale atleast up to ~100K users.<p>Would you still recommend using Node.JS ?

7 条评论

kennethh超过 1 年前
How is the security of NodeJS backends compared to .Net or Java? Any libraries that would increase the security for an express app?
评论 #38871055 未加载
ambigious7777超过 1 年前
NodeJS definitely is viable for backends, even those large scale, and it always was.<p>There&#x27;s also Deno, AFAIK (correct me) should also be fine.
plz-remove-card超过 1 年前
I don&#x27;t see any reason not to, especially if your team already has some experience with Node.js.
tejaskumar_超过 1 年前
TL;DR Yes, use Node.js. The longer answer is _it depends_.<p>Here are some things to consider:<p>1. Existing Infrastructure and Expertise: Since you already have projects running on NextJS and Node.js, your team likely has expertise in JavaScript&#x2F;Node.js. This familiarity can be a significant advantage in terms of development speed and ease of maintenance.<p>2. Cost-Effectiveness: Node.js developers are relatively abundant, which might help in finding talent within your budget constraints. Moreover, the JavaScript ecosystem is vast and has numerous free, open-source tools and libraries, which can be cost-effective for a startup.<p>3. Scalability: Node.js is known for its non-blocking I&#x2F;O model, which can handle numerous simultaneous connections, making it a good fit for applications that need to support a large number of concurrent users. However, the scalability also depends on your application&#x27;s architecture, database design, and other factors.<p>4. Performance: For IO-bound tasks, Node.js performs exceptionally well. However, for CPU-intensive tasks, it might not be the best choice. Since you are a startup aiming to scale from ~25K to ~100K users, Node.js can handle such traffic effectively, provided the application is well architected.<p>5. Ecosystem and Community Support: Node.js has a large and active community. This means a wealth of libraries, tools, and frameworks are available, along with strong community support for problem-solving.<p>6. Integration with Existing Projects: If your existing projects in Node.js and NextJS are functioning well and are expected to be part of the new project, using Node.js can ensure seamless integration.<p>Node.js is still a very relevant and viable option for production code, especially for a startup with existing Node.js and JavaScript expertise, looking for a cost-effective solution that scales well. It&#x27;s essential to also consider the specific requirements of your project and possibly consult with your technical team or a software architect to make the best decision.
rammy1234超过 1 年前
Thanks for the comments, gives me confidence
jamghee超过 1 年前
Yes would work just fine
cvalka超过 1 年前
No. Do not use JavaScript for backends. Use one of the holly three: Python, Go, Rust. Go or Python are probably the most optimal choices.
评论 #38872726 未加载
评论 #38873649 未加载