Skip to main content
8 votes
Accepted

What really is a "web server" in relation to popular frameworks like Flask, Node.js, Apache?

In IT in general we're all really bad at using words that are either Not rigorously defined The rigorous definition is different than the way the term is commonly used (e.g. strong typing) In other ...
Jared Smith's user avatar
  • 1,935
3 votes

Does prefetch data by Apache before serving a SPA site hurt performance?

I hate staring at busy spinners. The best SPA designs show the user SOMETHING while they load data in the background. Loading it from the client or the server isn't important at all to the user. The ...
candied_orange's user avatar
2 votes

Does placing an httpd server in front of a Vert.x application defeats Vert.x's purpose?

The C10K problem is the issue: Apache creates processes and threads to handle additional connections. The administrator can configure the server to control the maximum number of allowable processes. ...
2 votes
Accepted

Is there a limit of requests that an Apache server can make and wait for response?

Yes. its not so much the outgoing request though. Its keeping all the incoming requests hanging around while you wait. https://serverfault.com/questions/796968/apache-2-4-max-concurrent-users-limit
Ewan's user avatar
  • 84.4k
1 vote
Accepted

How to route/implement port forwarding with AWS/Apache web server (httpd) with a Node.JS app on port 3000?

Amazon application load balancers are just NGINX web servers under the hood. Would you put an NGINX instance in front of Apache in front of your Node app? I wouldn’t. You can go directly from your ALB ...
RubberDuck's user avatar
  • 9,021
1 vote

Does prefetch data by Apache before serving a SPA site hurt performance?

Without being sarcastic, you answered your question (partially) yourself: Does prefetch data by Apache before serving a SPA site hurt performance? but it is pretty slow when there is a lot of traffic....
Thomas Junk's user avatar
  • 9,623
1 vote
Accepted

Split requests between different server applications

As you have described the problem, yes your assumptions are correct. Both NGINX and Apache are built to do this in a very performant way. mod_proxy in Apache or proxy_pass in NGINX are likely to be ...
Paul's user avatar
  • 3,347
1 vote

Comet polling eating up CPU

The key is to use a timer on the client side. For example: To receive the chat messages of all users from the database table, a timer function is set for 5 seconds using the following JavaScript ...

Only top scored, non community-wiki answers of a minimum length are eligible