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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:33:58+00:00 2026-05-15T07:33:58+00:00

I mean PHP scripts on Apache are oriented for many users to use tham

  • 0

I mean PHP scripts on Apache are oriented for many users to use tham at the same time.

So will 1000 requests which came at the (relatively) same time be fully processed faster than C# .Net program performing algorithm 1000 times in while loop?

So we input same data, we perform same algorithm, which is written in the very same way (respecting language differences of course), output the same data (let us say saving it to file for them to be relatively equal)

Algorithm:

  • Open file (for each time different in size (from 1 to 500 mb) (FLV video files))
  • Read it in binary mode and trace while reading info about container and its components and such other stuff
  • Save traced info into file

Who will be faster on some 1000 times of performing algorithm or in 1000000, in which case (if it is possible) one will overrun another?

(on 2 Intel Xeon 2600MHz processors (each with 4 cores in it))

  • 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-15T07:33:59+00:00Added an answer on May 15, 2026 at 7:33 am

    Possibly.

    If the C# program is doing the operation in a loop, it is only doing one at a time (unless you are using the new parallel extensions in .NET 4 that is).

    With the PHP script it would be executing them in parallel, so it COULD be faster depending on how many CPUs you have and what exactly the script is doing (is it CPU bound, IO bound, etc.)

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

Sidebar

Related Questions

I have a script which uploads data to my web server running Apache/PHP 5.3,
what does the colon mean in php in the following example. ::1 if($host ==
Possible Duplicate: Reference - What does this symbol mean in PHP? I have a
Possible Duplicate: Reference - What does this symbol mean in PHP? What's the difference
What do =& / &= operators in PHP mean? Where can I read information
What does the -f flag mean in the fifth parameter in the PHP mail
What does the $/i mean in the following php code? preg_match ('/^[A-Z \'.-]{2,20}$/i')
Is it possible to fill jQuery variable by PHP??? I mean something like this:
What are the differences between mod_php and cgi php script? I mean, why it's
This is from the php manual: http://us.php.net/manual/en/language.constants.syntax.php If you use an undefined constant, PHP

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.