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.

SyncPad Node.js Server Revisited

56 pointsby roderover 14 years ago

4 comments

gcrover 14 years ago
I have this problem too -- with my project, the server right at once uses 100% CPU and memory increases dramatically. During this time, it stops responding to requests. Monit notices this and just restarts it. This happens for me roughly every half-an-hour under very high load.<p>I'm using JSON parsing but not much else. No dependencies / libraries at all. Are there any steps I can take to provide useful data? Would anyone like me to run it with --prof and hammer it with 'ab' for example?<p>Here's the code: <a href="http://github.com/gcr/goggles" rel="nofollow">http://github.com/gcr/goggles</a>
mishmashover 14 years ago
So the results were worse, even though everyone involved thought they would be better on the updated version.<p>Any theories?
评论 #1988105 未加载
评论 #1988420 未加载
davidwover 14 years ago
Erlang has various defects, but it is bomb proof in many ways - it's been out there for many years with many people using it for critical infrastructure.<p>I'd bet on Node.js and similar efforts for the future, but Erlang is a pretty nice system and well worth looking at and learning from.
geuisover 14 years ago
@roder, can you include the ./config file in your github repo for toyserver.js? Trying to replicate your setup and this is missing.
评论 #1988519 未加载