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 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

Ask A Question

Stats

  • Questions 506k
  • Answers 506k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer To me sequence seems correct. Just check that when posting… May 16, 2026 at 3:39 pm
  • Editorial Team
    Editorial Team added an answer It's not clear what you mean by "play the same… May 16, 2026 at 3:39 pm
  • Editorial Team
    Editorial Team added an answer i added an order string and combined them in the… May 16, 2026 at 3:39 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

First time reader, first time poster (woo!) So I've been implementing my login scripts
I mean, true true interop: from Java to .NET, from PHP to Java, etc.
I have this question. I am using php, mysql and my files will be
I'm trying to learn how to best use OOP in PHP. Please be aware
I'm trying to find a good way to maintain PHP configuration differences between a
What is faster: writing PHP code using functions or writing it as pure script?
Is it time()? Is it time().substr(microtime(), 2, 2)? Is it time().substr(microtime(), 2, 3)? Kind
I have a small question, when we set the memory_limit for PHP I understand
I have just stumbled upon Bad Behavior - a plugin for PHP that promises
lets say we have a directory. project/index.php in index.php <?php require 'config/config.php'; echo ROOTPATH;

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.