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 6880885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:02:10+00:00 2026-05-27T05:02:10+00:00

I want to implement a Web Service whose purpose is to execute batch programs

  • 0

I want to implement a Web Service whose purpose is to execute batch programs stored in a database. The “command line parameters” will be sent to my Web Service as JSON-serialized objects.

Since this is, for the time being, just a personal project, my main concerns are elegance and maintainability, and thus node.js seems like a natural choice. (I know Apache and IIS are mature, proven technologies, but I find them too convoluted and not transparent enough, respectively.)

However, from what I have read, even though node.js can delegate non-sequential tasks to separate concurrent processes, node.js cannot handle these non-sequential tasks concurrently by itself. This poses me the following dilemma:

  1. If I create a separate command line utility to be called from node.js, leaving the Web Service as a mere API for the command line utility, I would have to pass huge command line parameters (the serialized JSON objects) from node.js to the command line utility, and would also have to either implement a JSON parser myself or worry about incorporating someone else’s JSON parser in my program.

  2. If I handle everything within node.js, I lose concurrent request processing as a feature. Unless there is a way to do true concurrency in node.js, of course.

Neither of these options is palatable enough for my taste. So my question is the following: Is there any way to write truly concurrent programs for node.js, so as to avoid this dilemma?

  • 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-27T05:02:11+00:00Added an answer on May 27, 2026 at 5:02 am

    You can use worker processes, there are modules for that. Also, node v0.8 will have isolated multithreading.

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

Sidebar

Related Questions

I want to implement a Web Service that will allow users to store arbitrary
I want to implement a web-based IM service on the lines Meebo. Might sound
I have a Web Service, Now I want to implement security model for that,
I want to implement a web service for an Enterprise Application. Security is a
I want to implement spring security on a jersey Restful web service, both on
Hi I want to implement a web service on a remote application server that
Our company has a web service which I want to send XML files (stored
I want to implement a Facebook updates(user action and notifications) on my web application
I'm want to implement thumbs up and down rating system in my web app
I want to implement program by c# application. first of all I need web

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.