Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8435125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:50:18+00:00 2026-06-10T06:50:18+00:00

The situation is simple. I’m testing a simple node.js server but my browsers says

  • 0

The situation is simple. I’m testing a simple node.js server but my browsers says it takes ~200ms to receive the content (wich is far too long, considering my server is local). The code:

var http = require('http');


http.createServer(function(request, response) {

    console.log('>> '+request.url);

    response.writeHead(200, {'Content-Type': 'text/plain'});
    response.write('just no! because no!');
    response.end();

}).listen(80);


console.log('server running at port 80');

I run it in ubuntu with the command sudo node test.js.

As you can see, the response is very tiny. But then, sometimes when I change the response it randomly chooses to go back to fast and takes ~9ms or so. I tested in chrome’s inspect element and in firefox’s firebug. I couldn’t find a pattern at all, nor an explanation. What’s happening, folks? thanks (:

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:50:19+00:00Added an answer on June 10, 2026 at 6:50 am

    Ideally just try to aviod console log statements. Anyway I believe virtualization might be a problem here, I have been using Node in production and have never seen such issues.
    You might want to test your code with using some performance related tools, in case does not helps get in touch with your admin.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Simple situation. I've created an application which uses SQL Server as database. I could
Totally simple situation, but I can't make it work. I am running into an
I bet this has been answered many times over, but... For a simple situation
The situation is simple, but strange. When i compile my program without the LinearAlgebra.o
i have some simple situation, but for me, it looks like very tough at
Situation is simple: I post a plain HTML form with a textarea. Then, in
Situation is simple. I need to wrap text around two inline objects (buttons with
My situation is simple. I have this in my program: File folder = new
I have a simple situation here. lets face html code first => <form name=geoKey
I just stuck in a very simple situation bt couldnt help myself.My question is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.