Job Analysis;Descriptions and Specifications (CASE) Module 2
May 21, 2020
psychology
May 21, 2020

Web Server Configuration

1.    What directives of the httpd server are related to the feature of adapting to the dynamic nature of the incoming traffic and resulting faster response time?
a.    MinSpareThreads.   Yes   No
b.    MaxSpareServers.   Yes   No
c.    Allow.   Yes   No
d.    TransferLog.   Yes   No
2.    What is the default MaxSpareThreads value set for worker MPM in httpd 2.4 version?

3.    Explain why httpd would like to kill working threads after they process the request?

4.    Understand directives and httpd option.
a.    Explain why it is not wise to use User root directive.

b.    If we restrict the httpd daemon with -X option, the site with MPM=client will outperform the site with MPM=prefork. Explain why.

c.    If we configure a web server with Allow 128.198.48.192/26€³ in block directive <Location /server-status>, describe how and where can we view the server status of this web server.

5.    KeepAlive Directive.
a.    Describe the type of web pages where a web server with KeepAlive directive will signficantly improve the performance.

b.    If KeepAlive is so useful, explain why by default we set KeepAliveTimeout to 5 seconds, why not forever.

b.    NGINX, Apache httpd, and nodejs
1.    Describe what is the main advantage which NGINX claims to make it outperform Apache httpd.
Among those three web servers, which is slowest?

NGINX,  or Apache httpd,  or nodejs
b.
3.    Discuss the performance impact of running web server on a virtual machine.

c.    Cache Server.
3.    Which HTTP request header allows a client to tell all cache servers along the path to the original server not to cache the document?

4.    Which HTTP request header is used by client browser or cache server to ensure no unnecessary document transfer?