Tagged articles
HTTP server
41 articles · Page 1 of 1
This article shows how to quickly create a fair, concurrent, single‑binary lottery system for a company event using Go's standard library, sync.RWMutex for thread safety, and the embed package to bundle static assets without any external dependencies.
ConcurrencyGoHTTP server
0 likes · 9 min read

H3 is a lightweight, high‑performance HTTP server framework built on Web standards that supports multiple JavaScript runtimes, offers a concise API, composable middleware and plugin systems, and is recommended by Evan You for rapid prototyping, edge computing, and small web services.
BunDenoH3
0 likes · 7 min read

This article explains how a plain text file can be transformed into an HTML page, why an HTTP server like Nginx is needed to serve remote HTML, and how Nginx’s modular design provides reverse‑proxy, load‑balancing, caching, multi‑worker, and master‑process features to build a high‑performance, scalable gateway while addressing single‑point‑of‑failure concerns.
GatewayHTTP servernginx
0 likes · 11 min read

This article explains how Nginx transforms a simple local HTML file into a high‑performance HTTP server and reverse‑proxy gateway, detailing its modular capabilities, configuration via nginx.conf, single‑thread design, multi‑worker processes, shared memory, proxy caching, master‑worker coordination, and the challenges of single‑point failure.
GatewayHTTP serverload-balancing
0 likes · 10 min read

The article shows how adding HTML tags turns a plain‑text file into a web page, explains the need for an HTTP service to serve it, introduces reverse proxies for load‑balancing and address hiding, and outlines Nginx’s event‑driven architecture with master and worker processes, shared memory, proxy cache, multi‑protocol support, configurable modules, and scaling options, while warning of a single‑instance failure and recommending cluster mode.
HTTP serverMaster ProcessShared Memory
0 likes · 9 min read

This guide explains why graceful shutdown matters in Go programs, outlines the steps to capture termination signals, use context for coordinated goroutine exit, and properly close HTTP servers without data loss or resource leaks.
ConcurrencyContextHTTP server
0 likes · 9 min read

An in‑depth guide to Go’s net/http package explains its role as a standard‑library solution for HTTP client and server tasks, shows how to import it, demonstrates GET, POST and custom requests, builds simple servers with routing, adds middleware, and outlines common use cases such as APIs and web crawlers.
GoHTTP ClientHTTP server
0 likes · 10 min read

Since Go 1.16, the //go:embed directive allows developers to embed files, directories, or entire static assets directly into the compiled binary, simplifying deployment; this article explains the directive, its three embedding methods, usage in HTTP servers, unit tests, handling parent directories, and important considerations.
HTTP serverembedgo1.16
0 likes · 24 min read

This guide walks through installing the lightweight HFS HTTP file server on Ubuntu 22.04, creating a shared directory, configuring the binary, setting up port and admin access, and optionally configuring it as a systemd daemon with Node.js support for full background operation.
HFSHTTP serverUbuntu
0 likes · 5 min read

This guide walks C beginners through the TinyHttp project—providing Chinese annotations, environment setup, common pitfalls, detailed code flow, key function explanations, and step‑by‑step instructions to compile, run, and test a minimal web server.
C++CGIHTTP server
0 likes · 5 min read

This article introduces Python's http.server module for creating HTTP servers and http.cookies module for managing cookies, providing practical examples for web development tasks.
Cookie ManagementHTTP serverPython
0 likes · 10 min read

This article walks through building a minimal Go HTTP server, explains how ListenAndServe manages connections, details the internal accept‑serve loop, shows request handling, routing rules, and customization hooks, providing clear code examples and diagrams to demystify Go’s built‑in web server.
ConcurrencyHTTP serverNetworking
0 likes · 10 min read

Deno has achieved 4.1 million downloads on GitHub, 250,000 monthly active users, plans to support most npm packages within three months, and aims to become the fastest JavaScript runtime with an upcoming HTTP server touted as the fastest JavaScript web server ever.
DenoHTTP serverJavaScript Runtime
0 likes · 1 min read

This article explains five practical ways to use Python's -m option, including launching a simple HTTP server, generating documentation with pydoc, debugging with pdb, timing code snippets via timeit, and reliably installing packages with python -m pip, especially in multi‑version environments.
HTTP serverPythoncommand-line
0 likes · 4 min read

This guide explains the fundamentals of Netty, shows how to combine it with Spring MVC using DispatcherServlet, and provides complete Java code examples for a Netty server, channel pipeline, request handler, server startup, and a sample controller, along with practical configuration tips.
BackendDispatcherServletHTTP server
0 likes · 14 min read

This article walks through building a simple Netty HTTP server, explaining how thread groups, channel options, handlers, and the bind operation work together to start a server, and highlights key implementation details such as selector creation and performance‑focused choices.
BackendConcurrencyHTTP server
0 likes · 11 min read

This article explains the concepts of forward and reverse proxy, walks through the structure of Nginx configuration files, and provides step‑by‑step code examples for setting up reverse proxy, path‑based routing, and location directives for backend development.
ConfigurationHTTP serverload-balancing
0 likes · 12 min read

After mastering Go's net/http and fasthttp client libraries, this article presents six distinct server‑side implementations—ranging from basic net/http handlers to Echo, Gin, and fasthttprouter—highlighting their syntax, readability, and configuration differences for rapid backend development.
BackendECHOGin
0 likes · 7 min read

This guide walks through configuring Nginx as a static HTTP server, setting up static file handling, implementing reverse proxy, applying various load‑balancing strategies, separating dynamic and static resources, and using essential directives such as return, rewrite, and error_page, providing practical code examples and tips.
ConfigurationHTTP serverreverse-proxy
0 likes · 17 min read


JavaEdgeJul 4, 2021 · Backend Development
This article explains the core characteristics of Apache HTTP Server, Nginx, and Tomcat, compares their static and dynamic content handling, and shows how they are typically combined in a Java‑based backend architecture for optimal performance and scalability.
ApacheHTTP serverJava
0 likes · 4 min read

This article walks through creating a simple native Node.js HTTP server, applying the Strategy pattern to decouple routes, enforcing the DRY principle with Promises, and then dives deep into Koa’s core source—including its constructor, use, listen, compose, and router modules—to reveal how the framework orchestrates middleware and request handling.
HTTP serverJavaScriptKoa
0 likes · 21 min read

This article explains the capabilities of Nginx without third‑party modules, covering reverse proxy, load balancing strategies, static HTTP serving, dynamic/static separation, and forward proxy, and provides concrete configuration examples for each feature.
ConfigurationHTTP serverload-balancing
0 likes · 11 min read

This article explains the core functions Nginx can perform without any third‑party modules—including reverse proxy, load balancing with various strategies, static HTTP serving, dynamic/static separation, and forward proxy—while providing detailed configuration examples and command‑line operations.
HTTP server
0 likes · 10 min read

The PHP Event extension wraps the libevent library to provide an object‑oriented API for building event‑driven, non‑blocking HTTP servers and clients, timers, and signal handling, with example code and links to documentation and related extensions.
HTTP serverPHPasynchronous
0 likes · 3 min read

This article provides an in-depth overview of Nginx, covering its introduction, architecture, and various modules, including real IP and rewrite modules, with practical examples and configuration details.
AuthenticationHTTP serveraccess control
0 likes · 13 min read

Apache HTTP Server 2.4.46 has been released, addressing several security vulnerabilities (including CVE‑2020‑11984 and CVE‑2020‑11993), fixing bugs, and adding enhancements such as improved module compatibility and requirements for APR libraries, while urging users to migrate from the deprecated 2.2 branch.
ApacheCVEHTTP server
0 likes · 3 min read

This tutorial walks through creating a MocoServer instance, configuring ports and log monitors, and using the moco API to define request‑response behavior, followed by a comprehensive Java utility class that simplifies server setup, monitoring, and lifecycle management for backend testing.
API mockingBackend testingHTTP server
0 likes · 5 min read

This article introduces Swoole, a production‑grade asynchronous network engine for PHP, outlines the required prerequisites, shows a quick PECL installation, explains how to enable the extension in php.ini, and provides a complete example of building and testing a simple HTTP server.
HTTP serverPHPSwoole
0 likes · 5 min read

Deno 1.0, the Rust‑written JavaScript/TypeScript runtime created by Ryan Dahl, introduces a CLI, a Rust‑based core, a new plugin system, and an HTTP server that handles about 25k requests per second with low latency, positioning it as a modern alternative to Node.js.
DenoHTTP serverJavaScript
0 likes · 6 min read

This guide shows how to quickly share files from a PC to another computer or a mobile device without a USB drive by running a single Python command that starts a simple HTTP server, covering preparation, command execution, IP discovery, and accessing the shared files via a browser.
HTTP servercommand-linefile sharing
0 likes · 4 min read

This article examines classic smooth upgrade strategies for HTTP services, highlights their limitations, and provides a detailed analysis of Facebook’s graceful restart library for Go, including code examples, signal handling, process inheritance, and the mechanisms for zero‑downtime deployments.
GoHTTP serverProcess Management
0 likes · 15 min read

This article explains the capabilities of Nginx without third‑party modules, covering reverse proxy, load balancing (including RR, weight, ip_hash, fair, and url_hash), HTTP static serving with static‑dynamic separation, and forward proxy, and provides concrete configuration examples for each feature.
ConfigurationHTTP serverbackend development
0 likes · 11 min read

This guide shows how to instantly create a lightweight HTTP server using a single Python command, enabling fast LAN file downloads and uploads, with step‑by‑step instructions, command examples, IP discovery, and screenshots for both Python 3 and Python 2 environments.
HTTP serverLAN file sharingPython
0 likes · 4 min read

The article reveals how the popular file‑search tool Everything’s optional HTTP server can unintentionally expose all local files to anyone on the internet, illustrating real‑world privacy breaches, showing examples of exposed personal data, and providing practical steps to secure or disable the feature.
EverythingHTTP serverfile search
0 likes · 5 min read

The popular Windows file‑search tool Everything includes an HTTP server that, when left unsecured, lets anyone who knows your IP and port browse and download every file on your computer, exposing personal data that can even be indexed by search engines, but simple configuration changes can close the leak.
HTTP serverdata leakagefile search
0 likes · 7 min read

This article details the core capabilities of Nginx without third‑party modules, including reverse proxy, various load‑balancing strategies, static and dynamic HTTP serving, forward proxy setup, and hot‑reload commands, providing clear configuration examples for each feature.
ConfigurationHTTP serverOperations
0 likes · 10 min read

This article explains the core capabilities of Nginx without third‑party modules, covering reverse proxy, load balancing (including round‑robin, weight, ip_hash, fair, and url_hash), static HTTP serving with dynamic/static separation, forward proxy configuration, and hot‑reload commands.
ConfigurationHTTP serverload-balancing
0 likes · 11 min read


21CTOSep 8, 2017 · Backend Development
This article explains the motivations for using Netty's HTTP protocol stack instead of a traditional Tomcat web container, covering high‑concurrency support, lower resource consumption, detailed HTTP request/response handling, custom decoders, memory‑leak prevention, and keep‑alive connection management.
HTTP serverNettyhigh concurrency
0 likes · 31 min read

This article explains how Nginx can function as a reverse proxy, load balancer, HTTP server with static‑file handling, and forward proxy without relying on third‑party modules, providing configuration examples and discussing built‑in load‑balancing strategies such as round‑robin, weight, ip_hash, fair, and url_hash.
ConfigurationHTTP serverOperations
0 likes · 11 min read

This tutorial explains why mastering low‑level socket programming is valuable, introduces TCP/IP fundamentals, walks through creating a TCP socket server in Python, shows how to implement a simple HTTP server, and suggests ways to extend the server with multithreading and additional features.
HTTP serverPythonnetwork programming
0 likes · 12 min read

This guide explains how to diagnose and resolve issues preventing a PC from logging into a Huawei device's web management interface by checking IP configuration, enabling HTTP services, loading the web package, and configuring appropriate user accounts.
Device ConfigurationHTTP serverHuawei
0 likes · 4 min read
