Tagged articles
785 articles
Page 3 of 8
php Courses
php Courses
Apr 19, 2024 · Backend Development

Using curl_multi_select() in PHP to Wait for Active cURL Transfers

This article explains how to use PHP's curl_multi_select() function within the curl_multi library to wait for active cURL transfers, describes its parameters, demonstrates a complete example with multiple handles, and provides best‑practice tips for efficient multi‑request handling.

Backend DevelopmentHTTPPHP
0 likes · 4 min read
Using curl_multi_select() in PHP to Wait for Active cURL Transfers
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 17, 2024 · Backend Development

Understanding Idempotence and Common Backend Solutions

The article explains the concept of idempotence in computing, illustrates typical duplicate‑request scenarios, and presents three practical backend solutions—unique database indexes, optimistic locking with version control, and a Redis‑based token mechanism—along with their advantages, trade‑offs, and implementation details.

BackendHTTPIdempotence
0 likes · 7 min read
Understanding Idempotence and Common Backend Solutions
php Courses
php Courses
Apr 16, 2024 · Backend Development

How to Properly Close a cURL Session in PHP Using curl_close()

This article explains the purpose, syntax, and usage of the PHP curl_close() function, provides a complete example of initializing, configuring, executing, and closing a cURL request, and outlines the resource‑saving benefits of properly terminating cURL sessions.

BackendHTTPPHP
0 likes · 4 min read
How to Properly Close a cURL Session in PHP Using curl_close()
IT Services Circle
IT Services Circle
Apr 15, 2024 · Fundamentals

What Happens When You Press Enter in the Browser URL Bar: From URL Parsing to TCP Handshake and HTTP Response

This article explains step‑by‑step what occurs when a user types a URL and presses Enter, covering URL parsing, DNS resolution, TCP three‑way handshake and four‑way termination, HTTP request/response formation, and the browser’s rendering process, providing interview‑ready insights into web networking fundamentals.

BrowserDNSHTTP
0 likes · 15 min read
What Happens When You Press Enter in the Browser URL Bar: From URL Parsing to TCP Handshake and HTTP Response
php Courses
php Courses
Apr 11, 2024 · Backend Development

Using curl_init() in PHP: Syntax, Parameters, Return Value, and Full Example

This article explains the PHP curl_init() function, covering its syntax, optional URL parameter, return values, and provides a complete example that demonstrates initializing a cURL session, setting options, executing a request, handling errors, closing the session, and processing JSON responses.

APIBackend DevelopmentHTTP
0 likes · 4 min read
Using curl_init() in PHP: Syntax, Parameters, Return Value, and Full Example
Java Tech Enthusiast
Java Tech Enthusiast
Apr 11, 2024 · Cloud Native

Comparing HTTP and RPC for Remote Calls in Spring Cloud

Spring Cloud can use either HTTP‑based REST calls, which offer flexible, language‑agnostic JSON communication and simpler implementation, or RPC over TCP, which provides faster, binary‑serialized calls that appear local but require tighter API contracts, so modern microservices usually prefer HTTP for its adaptability and scalability.

HTTPMicroservicesRPC
0 likes · 4 min read
Comparing HTTP and RPC for Remote Calls in Spring Cloud
Su San Talks Tech
Su San Talks Tech
Apr 11, 2024 · Fundamentals

Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC

This article explores the fundamentals of TCP communication, explains why raw TCP lacks message boundaries, and compares HTTP and RPC protocols—covering their histories, use cases, service discovery, connection handling, serialization, and performance trade‑offs—to answer why both coexist in modern software architectures.

HTTPNetwork ProtocolsRPC
0 likes · 15 min read
Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC
IT Services Circle
IT Services Circle
Apr 5, 2024 · Backend Development

Understanding Common HTTP Request Error Codes and Debugging Solutions

This article explains the classification of HTTP request error codes, details typical 4xx client and 5xx server errors, provides common causes, and offers practical debugging steps and solutions to efficiently identify and resolve front‑end and back‑end issues.

BackendDebuggingError Codes
0 likes · 17 min read
Understanding Common HTTP Request Error Codes and Debugging Solutions
Liangxu Linux
Liangxu Linux
Apr 2, 2024 · Operations

How to Hide Your IP with Linux curl: Proxy Types, Settings, and Anonymity Tests

Learn how to conceal your IP using Linux curl by configuring various HTTP and SOCKS proxy types, understanding their anonymity levels, applying appropriate curl parameters—including authentication options—and testing proxy effectiveness with a PHP script that reveals server‑side IP and header information.

HTTPProxyanonymity
0 likes · 9 min read
How to Hide Your IP with Linux curl: Proxy Types, Settings, and Anonymity Tests
Open Source Tech Hub
Open Source Tech Hub
Mar 21, 2024 · Backend Development

Mastering HTTP Chunked Transfer Encoding with Workerman and JavaScript

This guide explains the HTTP chunked transfer encoding mechanism, details its format, and provides a complete PHP Workerman server and JavaScript client implementation to stream data chunk‑by‑chunk, including installation steps, code examples, and expected output.

Backend DevelopmentChunked Transfer EncodingHTTP
0 likes · 9 min read
Mastering HTTP Chunked Transfer Encoding with Workerman and JavaScript
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2024 · Backend Development

Mastering Go Socket Programming: From TCP/UDP to HTTP Clients

This article explains Go’s socket programming model, covering the classic five‑step workflow, the versatile net.Dial function, and practical code examples for ICMP, TCP, and HTTP client operations, helping developers build networked applications efficiently.

Code ExamplesGoHTTP
0 likes · 10 min read
Mastering Go Socket Programming: From TCP/UDP to HTTP Clients
Architect
Architect
Mar 8, 2024 · Backend Development

When to Choose HTTP Over RPC in Spring Cloud Microservices?

The article analyzes why Spring Cloud often prefers HTTP instead of RPC for remote calls, detailing the technical differences, advantages, disadvantages, and selection criteria of each approach, and explains how microservice trends shape this choice.

Backend DevelopmentHTTPMicroservices
0 likes · 8 min read
When to Choose HTTP Over RPC in Spring Cloud Microservices?
Architect's Guide
Architect's Guide
Mar 8, 2024 · Backend Development

Spring Cloud Remote Calls: HTTP vs RPC

The article explains why Spring Cloud prefers HTTP over RPC for remote calls, detailing the advantages of embedded Tomcat and JSON over HTTP, the limitations of TCP‑based RPC, and provides a comparative analysis of their architectures, pros, cons, and suitability for microservices.

BackendHTTPRESTful
0 likes · 6 min read
Spring Cloud Remote Calls: HTTP vs RPC
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 26, 2024 · Frontend Development

Comprehensive Guide to Installing, Configuring, and Using Whistle for Proxy, Mobile Debugging, and Request/Response Manipulation

This tutorial explains how to install and start Whistle, configure browser proxy plugins, set up HTTPS certificates, capture mobile traffic, and leverage advanced features such as Weinre console, response/request tampering, CORS handling, JavaScript injection, and domain mapping to improve development efficiency.

HTTPProxyRequest Modification
0 likes · 9 min read
Comprehensive Guide to Installing, Configuring, and Using Whistle for Proxy, Mobile Debugging, and Request/Response Manipulation
Top Architect
Top Architect
Feb 20, 2024 · Backend Development

Resolving CORS Issues with Nginx Proxy Configuration

This article explains why browsers block cross‑origin requests, details the four CORS response headers, demonstrates common error scenarios, and provides step‑by‑step Nginx configuration examples—including handling pre‑flight OPTIONS requests and header inheritance—to reliably solve CORS problems.

CORSCross-OriginHTTP
0 likes · 15 min read
Resolving CORS Issues with Nginx Proxy Configuration
Architecture Digest
Architecture Digest
Feb 17, 2024 · Backend Development

Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Configuration Guide

This article explains why browsers block cross‑origin requests, details the four CORS response headers, demonstrates common error scenarios, and provides a series of Nginx configuration examples—including handling preflight OPTIONS requests, custom headers, and method restrictions—to reliably solve CORS problems during development.

BackendCORSConfiguration
0 likes · 12 min read
Resolving CORS Issues with Nginx Proxy: A Step‑by‑Step Configuration Guide
Ops Development & AI Practice
Ops Development & AI Practice
Feb 14, 2024 · Backend Development

When to Use 401 vs 403: Proper HTTP Status Codes for Secure Web Servers

This guide explains how web servers should differentiate between missing authentication information and invalid credentials, detailing when to return 401 Unauthorized or 403 Forbidden, the associated response flows, security best practices, and user‑experience considerations to improve safety and clarity.

401 Unauthorized403 ForbiddenBackend Development
0 likes · 5 min read
When to Use 401 vs 403: Proper HTTP Status Codes for Secure Web Servers
Java Tech Enthusiast
Java Tech Enthusiast
Feb 10, 2024 · Backend Development

Resolving CORS Issues with Nginx Proxy Configuration

The article shows how to fix CORS errors when a front‑end on http://localhost:8080 accesses a back‑end via Nginx by adding proper Access‑Control‑Allow‑* headers for normal and OPTIONS preflight requests, using an always flag correctly, and avoiding common misconfigurations that block cross‑origin calls.

CORSConfigurationHTTP
0 likes · 12 min read
Resolving CORS Issues with Nginx Proxy Configuration
IT Services Circle
IT Services Circle
Feb 9, 2024 · Fundamentals

Interview Topics: URL Processing, TLS Handshake, TCP Handshake, Page Fault, TCP vs UDP, HTTP Differences, Thread Safety in C++, and Thread‑Pool Implementation

This article reviews common interview questions covering URL request processing, TLS handshake steps, the three‑way TCP handshake and four‑way termination, page‑fault handling, differences between TCP and UDP, HTTP/1.0 vs 1.1, thread‑safety mechanisms in C++, and a hands‑on example of building a thread pool.

C++HTTPNetworking
0 likes · 18 min read
Interview Topics: URL Processing, TLS Handshake, TCP Handshake, Page Fault, TCP vs UDP, HTTP Differences, Thread Safety in C++, and Thread‑Pool Implementation
macrozheng
macrozheng
Feb 1, 2024 · Backend Development

Why Spring Cloud Chooses HTTP Over RPC for Remote Calls

This article explains how Spring Cloud leverages embedded Tomcat to handle HTTP requests for flexible, cross‑platform microservice communication, contrasts it with TCP‑based RPC's handshake and serialization requirements, and outlines the advantages, disadvantages, and future trends of each approach.

HTTPMicroservicesRPC
0 likes · 8 min read
Why Spring Cloud Chooses HTTP Over RPC for Remote Calls
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 16, 2024 · Backend Development

Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads

This guide walks through Spring 6’s new capabilities—including Java 17 baseline, Jakarta namespace migration, HTTP interface proxies with @HttpExchange, WebClient integration via JDK HttpClient, internationalized ProblemDetail handling, the RestClient API, and executing asynchronous tasks on virtual threads—all demonstrated with concise code examples.

HTTPJavaProblemDetail
0 likes · 7 min read
Spring 6: HTTP Interfaces, RestClient, i18n ProblemDetail, Virtual Threads
Java Architecture Diary
Java Architecture Diary
Jan 10, 2024 · Backend Development

Boost Your Java HTTP Calls with mica-http: Fast, Fluent, and Secure

This article introduces mica-http, a lightweight Fluent‑style HTTP client built on OkHttp, walks through dependency setup, synchronous and asynchronous usage, global logging, custom client and cookie management, presents performance benchmarks, and highlights its automatic resource handling for safe, high‑performance requests.

Fluent APIHTTPOkHttp
0 likes · 7 min read
Boost Your Java HTTP Calls with mica-http: Fast, Fluent, and Secure
Java Tech Enthusiast
Java Tech Enthusiast
Jan 8, 2024 · Backend Development

Migrating from RestTemplate to Spring WebClient: Benefits and Code Samples

Spring developers should replace the deprecated RestTemplate with the reactive WebClient, which offers non‑blocking I/O, a fluent functional API, streaming support, richer error handling and configurable timeouts, while still allowing synchronous calls via block(), as demonstrated by practical Spring Boot 3 code examples.

HTTPJavareactive
0 likes · 11 min read
Migrating from RestTemplate to Spring WebClient: Benefits and Code Samples
Architect's Guide
Architect's Guide
Jan 6, 2024 · Information Security

Understanding Same-Origin Policy and CORS in Web Development

This article explains the same‑origin policy, its role in protecting web applications, how browsers enforce it through DOM, web‑data, and network restrictions, and how Cross‑Origin Resource Sharing (CORS) and preflight requests enable controlled cross‑origin communication while maintaining security.

Browser SecurityCORSCross-Origin
0 likes · 12 min read
Understanding Same-Origin Policy and CORS in Web Development
System Architect Go
System Architect Go
Dec 30, 2023 · Cloud Native

How External HTTP/HTTPS Requests Reach Containers in a Kubernetes Cluster

This article explains the end‑to‑end path that an external HTTP or HTTPS request follows—from the client through DNS resolution, load balancer, ingress controller, service routing, and finally to the target container inside a Kubernetes pod—while also covering optional variations and the underlying network components.

HTTPIngressKubernetes
0 likes · 7 min read
How External HTTP/HTTPS Requests Reach Containers in a Kubernetes Cluster
IT Services Circle
IT Services Circle
Dec 29, 2023 · Backend Development

Bank Software Development Interview Guide: Java, MySQL, Thread Pools, HTTP, TCP/UDP, and Database Indexes

This article compiles common technical interview questions for bank software positions, covering Java fundamentals, MySQL storage engines and indexes, thread‑pool parameters, HTTP GET/POST differences, TCP vs UDP characteristics, session and cookie handling, Redis data types, and C++ memory management, providing concise explanations and examples for each topic.

C++DatabaseIndexHTTP
0 likes · 32 min read
Bank Software Development Interview Guide: Java, MySQL, Thread Pools, HTTP, TCP/UDP, and Database Indexes
Liangxu Linux
Liangxu Linux
Dec 21, 2023 · Operations

How to Install and Run HFS as a Daemon on Ubuntu 22.04

This guide walks you through installing the lightweight HFS HTTP file server on Ubuntu 22.04, configuring it for both interactive and systemd daemon modes, and exposing a shared directory over the network with step‑by‑step commands and screenshots.

HFSHTTPUbuntu
0 likes · 6 min read
How to Install and Run HFS as a Daemon on Ubuntu 22.04
Su San Talks Tech
Su San Talks Tech
Dec 15, 2023 · Backend Development

Boost Java Development with Hutool: Essential Modules and Practical Examples

This article introduces the Hutool Java utility library, outlines its core modules, shows how to integrate it via Maven, and provides practical code examples for HTTP requests, random code generation, pinyin conversion, timing, number handling, data masking, email sending, and Bloom filter usage.

Backend DevelopmentCode ExamplesHTTP
0 likes · 12 min read
Boost Java Development with Hutool: Essential Modules and Practical Examples
Senior Brother's Insights
Senior Brother's Insights
Dec 5, 2023 · Backend Development

10 Essential REST API Design Best Practices Every Backend Engineer Should Follow

This article outlines ten practical REST API design guidelines—including meaningful resource naming, proper HTTP methods and status codes, versioning, consistent error handling, query parameters, authentication, statelessness, and thorough documentation—to help developers build robust, scalable backend services.

BackendDocumentationHTTP
0 likes · 8 min read
10 Essential REST API Design Best Practices Every Backend Engineer Should Follow
Java Architect Essentials
Java Architect Essentials
Nov 28, 2023 · Backend Development

Various Ways to Send HTTP Requests in Java

This article introduces multiple Java approaches for sending HTTP GET and POST requests, covering the built‑in HttpURLConnection class, Apache HttpClient, Square's OkHttp, and Spring's RestTemplate, with step‑by‑step explanations and complete code examples for each method.

BackendHTTPHttpClient
0 likes · 8 min read
Various Ways to Send HTTP Requests in Java
JavaScript
JavaScript
Nov 28, 2023 · Frontend Development

How to Ensure HTTP Requests Complete When Users Leave a Page

This article explains why browsers cancel pending requests during navigation, the risks of lost data, and demonstrates reliable solutions using JavaScript—first by awaiting fetch, then leveraging the fetch keepalive option—to guarantee logs reach the server without delaying page loads.

HTTPJavaScriptKeepalive
0 likes · 3 min read
How to Ensure HTTP Requests Complete When Users Leave a Page
php Courses
php Courses
Nov 21, 2023 · Backend Development

Using PHP Network Functions for Remote Requests and Data Transfer

This article explains how to use PHP's built‑in network functions, such as file_get_contents() and cURL, to perform remote HTTP GET and POST requests, includes step‑by‑step code examples, and discusses choosing the appropriate method for data transmission in backend development.

BackendHTTPPHP
0 likes · 4 min read
Using PHP Network Functions for Remote Requests and Data Transfer
Java Architect Essentials
Java Architect Essentials
Oct 30, 2023 · Cloud Native

Why Cloudflare Replaced NGINX with Pingora: Design Decisions, Performance Gains, and Security Improvements

The article explains how Cloudflare built Pingora, a Rust‑based, cloud‑native reverse proxy that surpasses NGINX in performance, efficiency, and safety by redesigning the worker model, improving connection reuse, and leveraging multithreading and Tokio, while also offering greater extensibility for future services.

CloudflareHTTPPingora
0 likes · 13 min read
Why Cloudflare Replaced NGINX with Pingora: Design Decisions, Performance Gains, and Security Improvements
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 25, 2023 · Backend Development

Mastering Spring WebClient: Non‑Blocking HTTP Calls in Spring Boot

This guide introduces Spring WebClient, a reactive, non‑blocking HTTP client for Spring Boot, compares it with RestTemplate, explains configuration options, demonstrates usage patterns, error handling, memory limits, Reactor Netty customization, request bodies, form data, and filter registration, providing practical code examples throughout.

HTTPJavaSpringBoot
0 likes · 11 min read
Mastering Spring WebClient: Non‑Blocking HTTP Calls in Spring Boot
37 Interactive Technology Team
37 Interactive Technology Team
Oct 23, 2023 · Backend Development

Investigation of Go HTTP Client Connection Pool Not Reusing Connections

The investigation revealed that the Go http.Client was not reusing connections because response bodies were closed before being fully read, causing the underlying connections to be marked dead; fully reading the bodies restored pooling, eliminated DNS‑resolution timeouts and dramatically lowered query‑per‑second spikes.

Connection PoolDNSGo
0 likes · 9 min read
Investigation of Go HTTP Client Connection Pool Not Reusing Connections
Java Interview Crash Guide
Java Interview Crash Guide
Oct 18, 2023 · Backend Development

Why WebClient Beats RestTemplate in Spring: Non‑Blocking I/O, Functional API, and Advanced Error Handling

This article explains why Spring's RestTemplate is deprecated in favor of WebClient, highlighting benefits such as non‑blocking I/O, a functional programming style, streaming support, improved error handling, and how to configure timeouts, with full code examples for synchronous and asynchronous requests.

HTTPJavareactive
0 likes · 13 min read
Why WebClient Beats RestTemplate in Spring: Non‑Blocking I/O, Functional API, and Advanced Error Handling
Ximalaya Technology Team
Ximalaya Technology Team
Oct 13, 2023 · Frontend Development

Understanding HTTP Request Parameter Formats and Content-Type

The article explains that HTTP request parameters can be sent as URL‑encoded query strings for GET requests or as various POST body formats—such as application/json, application/x-www-form-urlencoded, multipart/form-data, or text/xml—each requiring the correct Content‑Type header so the backend can parse the data correctly, with JavaScript utilities like FormData, URLSearchParams, or qs helping developers serialize the payload.

APIContent-TypeHTTP
0 likes · 8 min read
Understanding HTTP Request Parameter Formats and Content-Type
Liangxu Linux
Liangxu Linux
Oct 12, 2023 · Fundamentals

8 Essential Network Protocols Every Developer Should Know

This article provides a concise visual guide to eight popular network protocols—including HTTP, HTTP/3, HTTPS, WebSocket, TCP, UDP, SMTP, and FTP—explaining their core functions, typical use cases, and how they enable reliable data exchange across the Internet.

FTPHTTPNetwork Protocols
0 likes · 4 min read
8 Essential Network Protocols Every Developer Should Know
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 11, 2023 · Backend Development

Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth

This article demonstrates how Spring Boot’s connectionTimeout setting influences server‑client connections, using three experiments—controller sleep, HttpURLConnection requests, and raw socket communication—to reveal that the timeout only terminates idle client connections, not the duration of request processing.

HTTPJavaSocket
0 likes · 4 min read
Does Spring Boot’s connectionTimeout Affect Request Time? The Surprising Truth
Architect
Architect
Oct 8, 2023 · Backend Development

Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage

This article provides a comprehensive analysis of OkHttp’s source code, explaining its request‑execution flow, layered architecture, interceptor chain design, and demonstrates how to implement custom interceptors for unified request handling in Java and Android projects.

AndroidDesignPatternHTTP
0 likes · 15 min read
Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage
Code Ape Tech Column
Code Ape Tech Column
Oct 6, 2023 · Backend Development

Using Spring WebClient Instead of RestTemplate: Advantages and Code Examples

This article explains why RestTemplate is deprecated in Spring 5+, introduces the reactive WebClient as its replacement, outlines its advantages such as non‑blocking I/O and functional style, and provides detailed code examples for creating a client, performing synchronous and asynchronous requests, handling errors, and configuring timeouts.

Error HandlingHTTPJava
0 likes · 10 min read
Using Spring WebClient Instead of RestTemplate: Advantages and Code Examples
Liangxu Linux
Liangxu Linux
Oct 6, 2023 · Operations

Top 5 Linux Command-Line HTTP Clients with Practical Examples

This guide introduces five essential Linux command-line HTTP clients—cURL, HTTPie, Wget, HTTPie-go, and Wuzz—explaining their key features and providing ready-to-use command examples for GET, POST, file downloads, and interactive requests.

CLIHTTPWuzz
0 likes · 5 min read
Top 5 Linux Command-Line HTTP Clients with Practical Examples
Top Architect
Top Architect
Sep 26, 2023 · Backend Development

Understanding RPC vs HTTP Services and the OSI Model

This article explains the OSI seven‑layer network model, compares RPC and HTTP services, describes RPC architecture, synchronous and asynchronous calls, and reviews popular RPC frameworks such as gRPC, Thrift, and Dubbo, helping developers choose the right approach for enterprise back‑end systems.

HTTPOSI modelRPC
0 likes · 11 min read
Understanding RPC vs HTTP Services and the OSI Model
Architect
Architect
Sep 20, 2023 · Information Security

Understanding Same-Origin Policy and CORS in Web Development

This article explains the fundamentals of the Same‑Origin Policy, its security implications, and how Cross‑Origin Resource Sharing (CORS) works—including simple requests, preflight requests, and handling credentials—to help developers safely perform cross‑domain HTTP operations in browsers.

BrowserCORSCross-Origin
0 likes · 11 min read
Understanding Same-Origin Policy and CORS in Web Development
dbaplus Community
dbaplus Community
Sep 9, 2023 · Fundamentals

Why HTTP/3 and QUIC May Outperform HTTP/1.1 & HTTP/2 – A Deep Technical Dive

This article explains the key differences and performance trade‑offs among HTTP/1.1, HTTP/2, and HTTP/3, detailing keep‑alive, pipelining, streams, multiplexing, QUIC’s 0‑RTT handshake, connection migration, congestion and flow control, and provides practical guidance on when to adopt each protocol.

HTTPNetwork ProtocolsQUIC
0 likes · 27 min read
Why HTTP/3 and QUIC May Outperform HTTP/1.1 & HTTP/2 – A Deep Technical Dive
Su San Talks Tech
Su San Talks Tech
Aug 21, 2023 · Backend Development

Why Use RPC When HTTP Exists? Understanding TCP, HTTP, and RPC Differences

This article explains the fundamentals of TCP, why pure TCP communication faces boundary issues, how HTTP and RPC are built on TCP as application‑layer protocols, and compares their architectures, service discovery, serialization, and performance to clarify when each should be used.

Backend DevelopmentHTTPRPC
0 likes · 15 min read
Why Use RPC When HTTP Exists? Understanding TCP, HTTP, and RPC Differences
Liangxu Linux
Liangxu Linux
Aug 17, 2023 · Backend Development

GET vs POST: The Real Truth Behind Their Differences

This article explains the basic concepts of GET and POST, debunks common interview answers, reveals that both methods are fundamentally TCP connections, discusses browser and server limits, and highlights the practical impact of their packet‑level differences.

BackendHTTPPOST
0 likes · 8 min read
GET vs POST: The Real Truth Behind Their Differences
Open Source Linux
Open Source Linux
Aug 14, 2023 · Fundamentals

Why Choose TCP Long Connections Over Short Ones? A Deep Dive

This article explains TCP connection basics, the three‑way handshake and four‑way termination, compares short and long connections, discusses keep‑alive mechanisms, and outlines when to use each approach in network and HTTP communication.

HTTPKeep-AliveTCP
0 likes · 12 min read
Why Choose TCP Long Connections Over Short Ones? A Deep Dive
macrozheng
macrozheng
Jul 22, 2023 · Fundamentals

Why Direct IP Access Fails: The Hidden Role of the Host Header in HTTPS

Although you can obtain a website’s IP address, accessing it directly via HTTPS often fails because the HTTP request’s Host header differs, and servers use this header to verify the intended domain, leading to 403 errors unless the correct Host value is supplied.

HTTPHTTPSHost header
0 likes · 5 min read
Why Direct IP Access Fails: The Hidden Role of the Host Header in HTTPS
Architects Research Society
Architects Research Society
Jul 22, 2023 · Backend Development

Understanding JSON API: Benefits, Features, and a FitBit Case Study

This article explains what JSON API is, outlines its key advantages such as compound documents, sparse fieldsets, optional features, pagination and caching, compares it with GraphQL, and illustrates its practical use through a FitBit case study, helping readers decide if it fits their API design needs.

BackendHTTPJSON API
0 likes · 12 min read
Understanding JSON API: Benefits, Features, and a FitBit Case Study
Liangxu Linux
Liangxu Linux
Jul 18, 2023 · Fundamentals

Why Direct IP Access Fails: The Role of the Host Header

The article explains why visiting a website by its IP address often results in errors, showing that the HTTP Host header differs from domain‑based requests, and demonstrates this with Fiddler and Postman experiments using Baidu as an example.

DNSHTTPHTTPS
0 likes · 4 min read
Why Direct IP Access Fails: The Role of the Host Header
Programmer DD
Programmer DD
Jul 17, 2023 · Backend Development

Master Spring 6.1 RestClient: Simple HTTP Calls, Error Handling, and Advanced Exchange

This article introduces Spring 6.1’s new synchronous RestClient, showing how to perform basic GET and POST requests, convert responses to objects, handle errors with onStatus, and use the advanced exchange method for custom request‑response processing, positioning RestClient as a modern replacement for RestTemplate.

Backend DevelopmentHTTPJava
0 likes · 6 min read
Master Spring 6.1 RestClient: Simple HTTP Calls, Error Handling, and Advanced Exchange
Java High-Performance Architecture
Java High-Performance Architecture
Jul 2, 2023 · Backend Development

How to Fix CORS Errors with Nginx Proxy: Step‑by‑Step Guide

This article walks through the root causes of CORS failures when a front‑end site accesses a back‑end service, explains the four essential CORS response headers, and provides detailed Nginx configurations—including handling preflight OPTIONS requests and adding missing headers—to reliably resolve cross‑origin issues.

CORSCross-OriginHTTP
0 likes · 13 min read
How to Fix CORS Errors with Nginx Proxy: Step‑by‑Step Guide
php Courses
php Courses
Jun 30, 2023 · Backend Development

7 Common Uses of PHP’s header() Function

This article outlines seven practical applications of PHP’s header() function, including page redirection, content‑type declaration, HTTP status codes, timed redirects, cache control, authentication prompts, and file download handling, providing code examples for each use case.

BackendHTTPheader
0 likes · 2 min read
7 Common Uses of PHP’s header() Function
MaGe Linux Operations
MaGe Linux Operations
Jun 25, 2023 · Information Security

Fix CORS Vulnerabilities in Nginx: Enforce Secure Origin Checks

This article explains why an insecure cross‑origin setup in Nginx violates security standards, demonstrates how to reproduce the vulnerability with custom Origin headers, and provides a complete Nginx configuration using a map directive to whitelist origins, add proper CORS headers, and return 403 for disallowed requests.

CORSConfigurationCross-Origin
0 likes · 3 min read
Fix CORS Vulnerabilities in Nginx: Enforce Secure Origin Checks
FunTester
FunTester
Jun 24, 2023 · Backend Development

How to Build a 100% Coverage Automated Backend Testing System

This article details the design and implementation of a self‑built automated testing platform for backend services that achieves near‑full test‑case coverage by unifying HTTP/RPC access, introducing a parameter‑pool, leveraging JSON Schema and JSONPath, and automating case generation and promotion.

Automated TestingBackend testingHTTP
0 likes · 24 min read
How to Build a 100% Coverage Automated Backend Testing System
Liangxu Linux
Liangxu Linux
Jun 12, 2023 · Backend Development

Choosing Between RPC and HTTP: When Speed, Flexibility, and Governance Matter

This article compares RPC and HTTP interfaces, detailing their architectures, popular frameworks, performance characteristics, load‑balancing, and service‑governance features, and provides practical guidance on selecting the right approach for internal high‑performance services or external cross‑platform APIs.

DubboHTTPRESTful
0 likes · 9 min read
Choosing Between RPC and HTTP: When Speed, Flexibility, and Governance Matter
Top Architect
Top Architect
Jun 5, 2023 · Backend Development

Resolving CORS Issues with Nginx Proxy Configuration: A Step‑by‑Step Guide

This article walks through the root causes of CORS errors when a front‑end site on port 8080 calls a back‑end service on port 59200, explains the four essential CORS response headers, demonstrates common error scenarios, and provides complete Nginx configuration snippets—including handling pre‑flight OPTIONS requests, custom headers, and method allowances—to reliably eliminate cross‑origin problems.

BackendCORSConfiguration
0 likes · 13 min read
Resolving CORS Issues with Nginx Proxy Configuration: A Step‑by‑Step Guide
Liangxu Linux
Liangxu Linux
May 20, 2023 · Frontend Development

Mastering HTTP Caching: How Browsers Store and Validate Resources

This article explains the fundamentals of HTTP caching, covering the structure of HTTP messages, the two main cache strategies—strong caching and validation caching—the relevant response headers such as Expires, Cache-Control, Last-Modified, and ETag, and provides practical guidelines for effective cache implementation in web development.

Cache-ControlETagHTTP
0 likes · 13 min read
Mastering HTTP Caching: How Browsers Store and Validate Resources
Java Architect Essentials
Java Architect Essentials
May 19, 2023 · Backend Development

Understanding the Differences Between RPC and HTTP Services

This article explains the fundamental differences between RPC and HTTP services, covering OSI model layers, RPC architecture components, synchronous vs asynchronous calls, popular RPC frameworks such as gRPC, Thrift, and Dubbo, and when to choose each approach for enterprise applications.

Backend DevelopmentDubboHTTP
0 likes · 9 min read
Understanding the Differences Between RPC and HTTP Services
vivo Internet Technology
vivo Internet Technology
May 17, 2023 · Mobile Development

Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage

By dissecting OkHttp’s source, the article explains its layered architecture, the interceptor‑chain implementation of the Chain‑of‑Responsibility pattern, and shows how developers can add custom interceptors—such as authentication headers—to uniformly handle requests, retries, caching, and network I/O in Java and Android.

AndroidDesign PatternsHTTP
0 likes · 16 min read
Deep Dive into OkHttp: Core Principles, Interceptor Chain, and Practical Usage
AI Cyberspace
AI Cyberspace
Apr 18, 2023 · Fundamentals

Why HTTP/2 Beats HTTP/1.1: Deep Dive into Requests, Responses, and Pipelining

This article explains the structure of HTTP/1.1 request and response messages, the limitations of TCP such as head‑of‑line blocking, the evolution from SPDY to HTTP/2 with binary framing, multiplexed streams, header compression, server push, ALPN negotiation, and practical Wireshark capture techniques for HTTP/2 traffic.

HTTPHTTP/2TCP
0 likes · 24 min read
Why HTTP/2 Beats HTTP/1.1: Deep Dive into Requests, Responses, and Pipelining
Java Captain
Java Captain
Apr 18, 2023 · Fundamentals

Understanding the Differences Between RPC and HTTP Services

This article explains the fundamental distinctions between RPC and HTTP services by reviewing the OSI network layers, RPC architecture components, synchronous versus asynchronous calls, popular RPC frameworks such as gRPC, Thrift, and Dubbo, and the typical use cases of each approach.

DubboHTTPNetwork Protocols
0 likes · 8 min read
Understanding the Differences Between RPC and HTTP Services
Architect's Guide
Architect's Guide
Apr 13, 2023 · Fundamentals

Understanding TCP Keepalive and HTTP Keepalive Mechanisms

This article explains the concepts, purposes, and inner workings of TCP keepalive and HTTP keepalive, compares their roles in maintaining network connections, and provides practical guidance on configuring related parameters and handling socket lifecycles in server environments.

HTTPKeepaliveNetworking
0 likes · 8 min read
Understanding TCP Keepalive and HTTP Keepalive Mechanisms