ACN WebServers
ACN WebServers
• Logging & Monitoring: Record ctivities for perform nce tr cking, di gnostics, nd
troubleshooting.
a
a
a
a
a
a
a
a
a
a
a
a
f
a
ff
a
a
a
a
a
a
a
a
Static and Dynamic Web Servers
• St tic Web Server: A st tic web server delivers ixed content, me ning every user
receives the s me iles, such s HTML, CSS, nd im ges. It doesn't process ny logic
or inter ct with d t b ses. The iles re pre-built nd stored on the server, m king it
f st nd e icient for delivering simple websites or content where user inter ction is
minim l
• Dyn mic Web Server: A dyn mic web server, on the other h nd, gener tes content in
re l-time b sed on user inputs, requests, or other d t . It involves server-side
processing through scripting l ngu ges like PHP, Python, or Node.js. This type of
server connects to d t b se to fetch d t , process it, nd send b ck person lized
or const ntly upd ted content, such s user pro iles, shopping c rts, or blogs.
a
a
a
a
a
a
a
a
ff
a
a
a
a
f
a
a
a
a
a
a
a
a
a
a
f
a
a
a
a
a
a
f
f
a
a
a
a
a
a
a
a
a
a
a
a
a
a
How a Web Server Works
The web server works in client-server
model:
• The client (browser) sends n HTTP request to the
server.
M in Components:
• Web server softw re
• Dyn mic Web Servers: Combine st tic iles nd server-side scripting (e.g., PHP,
Python, Node.js) to cre te dyn mic web p ges.
• Applic tion Servers: Provide business logic processing for web pplic tions (e.g.,
Tomc t, WebSphere).
• Microsoft IIS: Integr ted with Windows Server, commonly used in enterprise
settings.
• LiteSpeed: Known for speed nd perform nce, especi lly in WordPress hosting.
• Tomc t: An pplic tion server used for running J v -b sed web pplic tions.
a
a
f
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
HTTP and HTTPS Protocols
• HTTP (HyperText Tr nsfer Protocol): Protocol used by web servers nd browsers to
communic te over the internet.
In multi-tier rchitecture, multiple servers re used to distribute the worklo d nd ensure high
v il bility. This ppro ch often involves lo d b l ncers th t evenly distribute incoming
requests cross cluster of web servers.
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
ff
a
Web Server Security
• SSL/TLS: Secures communic tion between the client nd server (HTTPS).
• DDoS Protection: Prevents distributed deni l-of-service tt cks th t lood the server
with tr ic.
• Web Applic tion Firew ll (WAF): Protects g inst web-b sed tt cks (SQL injection,
cross-site scripting).
• Security P tches: Regul rly upd ting server softw re to ix vulner bilities.
a
a
ff
a
a
a
a
a
a
a
a
a
a
a
a
ff
a
a
a
f
a
a
a
a
a
a
f
a
Web Server Performance Optimization
• C ching: Store frequently requested content (e.g., with Redis or V rnish) to reduce lo d on
the server.
• CDN (Content Delivery Network): Distribute content cross multiple geogr phic lly loc ted
servers to reduce l tency.
• Compression: Use Gzip or Brotli to compress iles before sending them over the network.
• Connection M n gement: En ble keep- live connections to reuse TCP connections for
multiple requests.