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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:15:41+00:00 2026-06-07T03:15:41+00:00

Is this performance effective (on a Windows Server) to execute tasks in .exe lauched

  • 0

Is this performance effective (on a Windows Server) to execute tasks in .exe lauched by a php script?

I’m a C# .Net coder and find it way more faster/easier to code directly in C# my backend SQL and 3rd party API functions that requires security, and I would like to know if, on long term, it is good or bad for my website performance to do so.

Will launching executables create a delay in the script, or does the performance (php vs exe) depend on the length of the task to accomplish?

[Edit]

Sorry for the worthless question. I’ll search for similar threads on SO and paste some links.

  • 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-07T03:15:42+00:00Added an answer on June 7, 2026 at 3:15 am

    It is “performance effective” to code the frontend in PHP, and to code the business logic in a more efficient language (which could be C# in your case). This is done often in an SOA (service oriented architecture), which is much more scalable than your idea of doing an exec on the same machine, because it allows physical distribution of the workload, but this is not viable for you, apparently.

    Your question is not very clear about what you want to exec, and especially whether you need the result in a synchronous way, but on a Unix-like machine you could launch the execution in background by terminating the command with a &, and anyhow you will also need to redirect stdin and stderr (see the manual for more information).

    There is no security risk I know of, as long as you completely sanitize your input, and propery escape your exec parameters.

    The timeout mechanism of the web server and the mechanisms which kill a child when a parent is killed will prevent damage by hanging processes, unless they are sent to background. You will probably need a limiting mechanism for the number of concurrent execed processes, if they are sent to background.

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

Sidebar

Related Questions

I have some questions about the performance of this simple python script: import sys,
I'm curious about what be the best way to model this for optimized performance...
Is this a valid way to do performance analysis? I want to get nanosecond
What is the most effective (performance-wise) and clean way to perform the transformation of
I have a model that looks like this: Performance - Location - Event -
I wonder if this affects performance or memory consumption a lot. I need an
is it better to do this (regarding performance, not readability...): $('a.updateCartButton').click(function() { $('form[name=updateCartForm]').attr('action', $(this).attr('href')
I am wondering about the performance of this index: I have an Invalid varchar(1)
I have read that you can do it, but would this really improve performance
This question is really basic. What is the performance difference between removing a UIView

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.