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

  • SEARCH
  • Home
  • 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 6952925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:24:44+00:00 2026-05-27T14:24:44+00:00

I’m rewriting my server and deciding between using Node.js and Python. I prefer Javascript

  • 0

I’m rewriting my server and deciding between using Node.js and Python.

I prefer Javascript (as I’m extremely well versed in it) but this article is giving me pause. I’m curious if anyone has had any problems but also, I’m curious if there are any platform related virtues to one over the other.

Specifically, do either of them not-support/limit/excel-at

  • mySQL calls
  • imageMajik interaction
  • calls out to the system for file-system manipulation
  • calls to the web via WGET/Curl anything else
  • you can think of that normal CGI processes have to deal with.

I don’t want to start an argument about the virtues of PHP or .Net, I have made a definitive decision to move to either Python or Node.js and was totally settled on Node.js, until I read the above article, so, really, I’m just looking for specific problems/virtues that people have had with these two tools.

Thanks in advance.

  • 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-05-27T14:24:45+00:00Added an answer on May 27, 2026 at 2:24 pm

    There are two issues here:

    1. The choice of language. You’ll need to decide for yourself if you prefer python or javascript, and which one offers the libraries you want. I can’t help you with that part of the decision.
    2. The choice of IO model.

    Unlike what the article suggests a single threaded non blocking IO model isn’t bad in principle. Personally I like this model a lot, since it removes the complexities of multi-threading, while still working on a shared memory model.

    Another advantage of this model is that because you don’t need a thread per request, you can have many concurrent open requests.

    One disadvantage is that without language support, you need to explicitly queue continuations, instead of writing the code in a simple imperative manner. C#5 attacks this problem with its async-await feature, and I wouldn’t be surprised if node.js offered something similar in the future.

    The article mainly talks about the second disadvantage: If you block the main thread, you block the whole server.

    One of his examples is simply abuse: He implements a busy wait, instead of subscribing to an event. With correct programming this simply shouldn’t happen.

    The other example has more of a point: If you have CPU intensive calculations, you better not do them on the main thread. The simple solution to this is spinning of a worker thread, that does the calculation without touching memory used by the main thread. And once it’s done it calls a callback on the main thread. Not sure if node.js offers this though. But since many server applications aren’t CPU bound, this often isn’t a problem at all.

    In general that article is very low quality, and tells more about the author than about node.js. You shouldn’t let it influence your decision.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
this is what i have right now Drawing an RSS feed into the php,
Seemingly simple, but I cannot find anything relevant on the web. What is the

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.