This guide explains how to set up a proxy machine, configure proxy environment variables on Linux, and test the proxy to ensure Minikube can access external resources, while reminding users to open the necessary proxy ports on the server.
This article explains what cross‑origin requests are and presents four practical solutions—webpack proxyTable, SwitchHosts, Uuaper, and Nginx—detailing configuration steps, common pitfalls, and code examples to help developers overcome CORS problems during local development.
This article explains the fundamentals of forward and reverse proxies, compares their characteristics and differences, and provides practical Nginx configuration examples for implementing reverse proxy, load balancing, and cross‑origin handling in web applications.
This comprehensive guide walks you through setting up Nginx on CentOS, explains what Nginx is and why it outperforms other HTTP servers, covers installation, core configuration, static file serving, caching, cross‑origin handling, hotlink protection, proxying, load balancing algorithms, and common troubleshooting tips.
This article explains how Nginx was created to overcome Apache's limitations, describes its role as a high‑performance HTTP and reverse‑proxy server, clarifies forward and reverse proxy concepts, outlines common deployment scenarios, compares load‑balancing algorithms, and provides a feature comparison with other web servers.
This article explores how MyBatis applies nine fundamental design patterns—including Builder, Factory, Singleton, Proxy, Composite, Template Method, Adapter, Decorator, and Iterator—by examining its source code, illustrating each pattern with explanations and concrete code snippets to deepen developers' understanding of real‑world pattern usage.
This article explains what proxy servers are, why they are used to improve speed, enhance security, and bypass restrictions, and details the concepts, functions, and distinctions between forward proxies and reverse proxies, including their roles in caching, load balancing, and network protection.
This article explains how Mafengwo transformed its search service by replacing serial function calls with a Golang‑based concurrent proxy, reducing average latency from 400‑500 ms to around 240 ms while improving scalability, fault tolerance, and resource utilization.
This article explains the concepts of forward and reverse proxy servers, why organizations use them, and provides step‑by‑step configuration examples for both Nginx and Apache to help engineers enforce network policies and secure service access.
This article explains the definitions, real‑world analogies, practical applications, and fundamental differences between forward (client‑side) and reverse (server‑side) proxy servers, helping developers and operators grasp why these concepts matter for access control, performance, and security.
This guide explains how to install Charles, configure an iPhone proxy, capture HTTP/HTTPS traffic, set breakpoints, modify requests, repeat calls, and simulate network conditions, providing a comprehensive workflow for iOS network debugging and performance testing.
This article explains how Spring implements declarative transaction management using proxies, compares JDK dynamic proxies and CGLIB, demonstrates their behavior with code examples, and clarifies which method modifiers support transactional annotations in Spring applications.
Redis, a high‑performance NoSQL database, offers multiple clustering approaches—including client‑side sharding, proxy‑based solutions like Twemproxy and Codis, and the native Redis Cluster—each with distinct trade‑offs in scalability, availability, operational complexity, and performance, guiding engineers to select the optimal architecture for their workloads.
This article reviews the progression of Redis high‑availability solutions—from simple replication with Sentinel, through proxy‑based setups, to native Redis Cluster—explains their advantages and drawbacks, and provides practical interview Q&A tips for candidates.
This article provides a comprehensive analysis of Spring AOP, covering its core classes, multiple proxy mechanisms, annotation‑based configuration in Spring Boot, the differences between Spring Boot 1.x and 2.x AOP settings, and detailed source‑code snippets that illustrate how advisors, pointcuts, and advices are created and applied.
This guide walks through eight practical Python urllib2 techniques for web crawling, covering basic GET/POST requests, proxy usage, cookie management, header spoofing, page parsing with regex and BeautifulSoup, captcha handling, gzip compression, and multithreaded fetching with a simple thread pool.
By preloading the MP4 header and initial frames and routing playback through a local proxy that caches range‑requested segments in an LRU disk store, the system moves the moov box to the file start (or fetches it separately), cutting short‑video start‑up latency to roughly 800 ms and delivering near‑instant playback.
This article explains the core concepts of Spring AOP, the proxy design pattern, and provides detailed Java examples of static proxy, JDK dynamic proxy, and CGLIB dynamic proxy, helping readers answer common interview questions and understand how Spring chooses the appropriate proxy implementation.
In this talk, Tencent Cloud senior engineer Zou Peng outlines cloud‑native best practices for Redis 4.0 clusters, detailing a smart‑proxy architecture with gossip‑based management, lazy‑scan big‑key handling, automatic fail‑over, the high‑performance CKV engine, and practical guidance on scaling, sharding, monitoring, and cost‑effective high‑availability deployment.
This article chronicles the eight‑month development of ShardingSphere 3.0.0, detailing its origins from Sharding‑JDBC, the addition of Sharding‑Proxy and Sidecar, core feature enhancements, distributed transaction redesign, community growth, and future roadmap for the open‑source database middleware ecosystem.
This guide explains how to scale web crawling to hundreds of sites using Scrapy‑Redis, covering its components, distributed workflow, Redis installation and configuration, proxy pool handling, and provides complete Python code examples for spiders and pipelines.
This article details Meitu's engineering of a Redis/Memcached proxy platform, describing why twemproxy was chosen, the limitations of its upstream version, the multi‑process redesign with live configuration reload, added latency metrics, reuse‑port handling, Redis master‑slave support, performance testing, and remaining challenges.
The article details Meitu's adaptation of Twitter's twemproxy into a multi‑process, hot‑reloading, high‑availability Redis/Memcached proxy, describing its architecture, custom features, performance testing, remaining challenges, and open‑source resources for other engineering teams.
This article provides a comprehensive overview of Nginx, covering its high‑performance features, modular architecture, proxy capabilities, event‑driven model, multi‑process and asynchronous processing mechanisms, and how these components work together to deliver scalable web services.
This guide explains how to set up HAProxy, covering core concepts such as ACLs, backends, frontends, optional statistics, a complete configuration example, and step‑by‑step deployment on Linux, enabling you to quickly build a reliable load‑balancing proxy.
This article explains why Webpack‑dev‑server's hot refresh failed in a mixed JS‑Node‑PHP project, analyses the underlying host‑checking logic, and provides step‑by‑step configuration changes—including whitelist adjustments, CORS handling, and proper HotModuleReplacementPlugin usage—to achieve reliable hot reload and hot module replacement.
The Youzan Search Platform evolved from a simple Elasticsearch cluster in 2015 to a modular, message‑driven architecture with proxy validation, caching, and management tools, and now plans a cloud‑native, Kubernetes‑based 4.0 version that automates data sync, isolates workloads, and scales elastically to support billions of records.
Whistle is a Node.js‑based cross‑platform web debugging proxy that lets developers view and modify HTTP(S) and WebSocket traffic, offering features like host binding, request replacement, response status manipulation, script/style injection, and powerful mock data generation for front‑end development.
The article introduces a comprehensive H5 performance automation platform for mobile devices that combines a management console, agents, mitmproxy, and Harviewer to capture, process, and visualize HTTP/HTTPS traffic, addressing limitations of traditional tools like Charles and Fiddler.
This article provides a comprehensive Python web scraping guide covering basic page retrieval with GET and POST, proxy usage, cookie handling, header spoofing, page parsing techniques, captcha processing, gzip compression, and multithreaded crawling, complete with code snippets for each step.
The article explains how Nginx achieves high concurrency, performance, and efficiency through its master‑worker process model, modular design, event‑driven non‑blocking architecture, and built‑in proxy capabilities, making it a leading web server for reverse proxy and load balancing.
This article explains the Dubbo consumer initialization workflow, detailing how ReferenceConfig creates proxies, how service URLs are registered with Zookeeper, the steps to obtain Invoker objects via Protocol, and how ProxyFactory generates client-side service proxies, including code examples and asynchronous handling.
This tutorial explains how JavaScript ES6 Proxies work, demonstrates creating a Proxy with get, set, and deleteProperty traps, and walks through rebuilding the on‑change library to monitor object and array mutations, including handling deep nesting and common pitfalls.
This article walks through the evolution from plain Java implementations of a DAO interface to using the Decorator pattern, Java dynamic proxies, CGLIB proxies, and finally Spring AOP, demonstrating how each approach adds reusable timing logic while discussing their advantages and drawbacks.
This article explores MySQL sharding fundamentals, detailing vertical, horizontal, and combined partitioning methods, their advantages and drawbacks, and surveys various open‑source implementations such as MySQL Proxy, HSCALE, Amoeba, HiveDB, and PL/Proxy, while offering practical guidance on configuration, transaction handling, and common pitfalls.
This guide walks through creating a React app with create‑react‑app, adding TypeScript, customizing the build via eject, forked scripts, or react‑app‑rewired, configuring environment files, setting up proxy and host settings, and handling CDN and port requirements for production deployments.
This article introduces several core Java design patterns—including Singleton (lazy, eager, static inner class, enum, double‑checked locking), Observer, Decorator, Adapter, Factory, Abstract Factory, and Proxy—explaining their intent, providing concise code examples, and showing how they solve common software design problems.
This article explains the fundamentals of Spring AOP by introducing proxy patterns, demonstrating static and dynamic proxy implementations with full Java code examples, and showing how Spring integrates JDK and CGLIB proxies through XML configuration for real‑world cross‑cutting concerns such as transactions and logging.
This article introduces the MQTT protocol, outlines its key characteristics, explains the challenges it poses for IoT messaging, and details how JMQ addresses these challenges through a layered proxy‑broker architecture, subscription management, quality‑of‑service handling, and real‑world JD deployment.
This guide explains how to install and configure Charles to simulate slow or high‑latency mobile networks, including enabling throttling, selecting presets, and restricting throttling to specific hosts for effective app performance testing.
This tutorial demystifies Python metaclasses by showing how the fundamental "Dao" concept maps to type, metaclass, class and instance, then walks through creating a dynamic ORM layer and a batch proxy‑crawling framework using those metaclasses.
This guide shows front‑end developers how to use Fiddler with the Willow plugin, Switch Host, and Nginx to proxy static resources, enable mobile device testing, and forward API calls, providing practical tips, configuration steps, and common pitfalls for efficient debugging.
Envoy’s extensible filters enable detailed access logging and database sniffing for MongoDB, DynamoDB, and Redis, offering customizable log formats, per‑operation statistics, health checks, and future enhancements such as circuit breaking and retries, while providing configuration guidance for each filter.
This article thoroughly explains AJAX cross‑domain issues, covering the underlying same‑origin policy, CORS and JSONP mechanisms, common error manifestations, step‑by‑step backend configurations for PHP, Node.js, Java, .NET, and proxy techniques, plus practical debugging methods using Chrome DevTools.
This tutorial explores Python metaclasses, demonstrating how to create dynamic classes, implement a lightweight ORM using metaclasses, and build a flexible proxy crawler with multiple site support, all illustrated with clear code examples and step‑by‑step explanations.
This guide walks through using Python's urllib2 library for web crawling, covering basic GET/POST requests, handling proxy IPs, managing cookies, spoofing browser headers, processing gzip-compressed responses, and implementing multithreaded fetching with a simple thread‑pool template.
This article introduces Envoy as the core sidecar proxy in Service Mesh, explains its terminology, thread model, filters, routing, health checking, circuit breaking, hot restart, and presents multiple deployment patterns for cloud‑native microservice environments.
This tutorial demonstrates how to use Spring Cloud's Zuul proxy to route requests from a separate UI application to a REST API, covering Maven setup, Zuul configuration, API and UI code, custom filters, and testing, while addressing CORS and same‑origin restrictions.
Sun Xun, the technical director of Tencent's King of Glory, details the game's backend architecture, from the evolution of its server design and proxy routing to the shift from TCP to UDP and frame‑synchronization, highlighting challenges, optimizations, and lessons learned in scaling a massive mobile MOBA.
This guide introduces Whistle, a Node‑powered cross‑platform web debugging proxy, explains installation, core features, common usage patterns, and advanced mock data techniques, helping developers replace tools like Fiddler or Charles with a more flexible solution.
This article explains Java's dynamic proxy mechanism, covering the roles of InvocationHandler and Proxy classes, their APIs, the parameters required for creating proxy instances, and a complete example that demonstrates how method calls are intercepted and delegated through a custom handler.
This article explains hiproxy's core proxy mechanisms, including HTTP and HTTPS request handling, automatic certificate generation, plugin architecture, and browser proxy configuration, providing developers with a comprehensive overview of its implementation and extensibility.
hiproxy is a Node.js‑based, lightweight and extensible proxy solution that unifies hosts, Nginx‑style routing, HTTPS certificate management and browser integration to streamline front‑end development environment configuration, sharing, and debugging across teams.
This article explains the concept of the Proxy design pattern, demonstrates how to implement static and dynamic proxies in Java with complete source code, and analyzes the advantages, limitations, and internal workings of Java's runtime-generated proxy classes.
This article traces Meituan‑Dianping's MySQL high‑availability journey, detailing the legacy MMM system, the transition to MHA, integrations with Zebra and Proxy middleware, current challenges, and future designs such as distributed agents, semi‑sync replication, and MySQL Group Replication.
This article explains the design and implementation of PhxSQL, a MySQL‑compatible high‑availability solution that uses a reliable log storage based on Paxos, Proxy request forwarding, automatic master election, and other mechanisms to overcome native MySQL replication flaws and provide strong data consistency and fault‑tolerant performance.
This article explains what overload means in server development, analyzes a concrete proxy overload case, identifies root causes, and presents a multi‑layer protection strategy—including self‑protection, downstream safeguards, concurrency control, and improved circuit‑breaker designs—to keep services stable under heavy traffic.
This article explains how Node.js handles HTTP requests using an I/O multiplexing model, walks through a simple hello‑world server, examines connection and request events, discusses keep‑alive, Expect headers, proxying, and presents performance measurements comparing Node.js to a pure C implementation.
After initially focusing on a distributed MySQL system, the author describes why open‑source HA solutions like MHA were unsuitable, then details the design and implementation of a 4‑layer NAT‑based proxy (RDS) and a more advanced 7‑layer application‑level proxy, highlighting features such as authentication, load balancing, read/write splitting, and multi‑datacenter awareness.
The article explains high‑availability concepts, compares typical MySQL HA architectures—including replication, clustering, and Paxos‑based solutions—and presents UDB’s dual‑master semi‑synchronous design with a Proxy layer that ensures automatic failover, data consistency, and operational resilience.
This guide explains why websites employ anti‑scraping defenses, outlines the most common header checks such as User‑Agent, Referer, and Cookies, and provides practical Scrapy code snippets for rotating user agents, managing proxies, handling X‑Forwarded‑For, limiting request rates, and dealing with dynamic AJAX content using Selenium or PhantomJS.
This guide dives deep into urllib2, covering proxy configuration, timeout handling, custom headers, redirects, cookies, PUT/DELETE methods, response codes, debugging logs, form processing, browser impersonation, and anti-hotlinking tricks, providing practical code snippets for each feature.
This article compares three popular open‑source proxy servers—Nginx, HAProxy, and Varnish—detailing their performance, features, and ideal use‑cases, helping ops and network engineers decide which solution best fits high‑availability, high‑concurrency environments while considering maintenance overhead and resource consumption.
Meituan‑Dianping’s high‑availability mobile network optimization combines short‑connection tactics—domain merging and IP‑direct selection—to cut DNS lookups, with a proxy‑long‑link architecture (CIP and Tencent WNS) that provides DNS‑independent, multiplexed TCP links, improving latency, success rates, and offering fallback mechanisms for robust app performance.
This article explains how to improve HTTP API debugging and testing by using two Golang‑based tools—pproxy, a cross‑platform proxy for capturing and modifying traffic, and api‑front, a BS‑architecture front‑end that forwards, records, and replicates API calls—detailing their features, usage, and deployment scenarios.
This article reviews the major Node.js events of 2016—including version updates, the left‑pad controversy, Yarn, Chrome DevTools debugging, and ecosystem tools—describes common application scenarios and framework selection criteria, and offers predictions for Node.js development in 2017.
This guide explains how to download, install, and configure Fiddler, set up proxy settings for browsers and mobile devices, use common shortcuts and breakpoints, capture HTTPS traffic, install certificates, and customize the UI to display server IPs.
This article explains how Python's urllib and urllib2 modules differ and demonstrates practical techniques for sending HTTP requests, encoding query strings, setting custom headers, handling JSON payloads, managing cookies, and configuring proxies using Request objects and build_opener handlers.
This guide explains what Twemproxy is, its features and limitations, and provides step‑by‑step instructions for installing, configuring, and testing the proxy with two Redis instances, plus high‑availability strategies using HAProxy and Sentinel.
This article delves into ES6’s advanced features—including dynamic module loading, Symbol usage, iterators, Maps, Sets, Weak collections, Promises, async‑await, generators, and meta‑programming tools like Proxy and Reflect—providing concise explanations, code snippets, and practical guidance for modern JavaScript development.
This article describes the challenges of mock framework selection, the adoption of AnyProxy, and the design of reliable test cases using orthogonal array and pairwise testing, culminating in a detailed workflow for automated test case generation with the PICT tool and custom extensions.
This article examines the challenges of testing a mobile advertising SDK—such as missing server environments, extensive protocol fields, and costly manual test case updates—and proposes a mock‑proxy strategy, a minimal‑case design approach, and full automation to improve coverage and efficiency.
This tutorial walks you through installing, launching, configuring browser proxy settings, and creating rules with Whistle, a Node‑powered web debugging proxy, showing practical examples such as replacing a site’s logo and mapping directories to local files.
This article uses a foot‑massage shop analogy to explain why deploying HTTPS behind a 7‑layer proxy can encounter hidden pitfalls, detailing SNI requirements, the dangers of binding multiple certificates to the same IP + port, and the need for consistent SSL settings across all Nginx virtual hosts.
This guide walks you through creating an AWS EC2 instance, installing and configuring Squid as a proxy, restarting the service, setting up local proxy settings, and securing the connection with an SSH tunnel for encrypted traffic.
This guide walks you through creating a lightweight CDN using Nginx on Ubuntu, covering installation, virtual host configuration, cache settings, and testing, while explaining core concepts like origin pull, proxy caching, and header management for educational purposes.
This article summarizes common anti‑scraping techniques—including header checks, user‑behavior detection, and dynamic page defenses—and provides practical ways to circumvent them using custom headers, IP proxies, request timing, and tools like Selenium with PhantomJS to simulate real browsers.
This article details the design and implementation of a high‑concurrency, easily extensible proxy built in Go for Weibo's recommendation system, covering background, challenges with twemproxy, technical research, architecture, configuration, logging, monitoring, module breakdown, business logic, performance testing, and future improvements.
This article describes the background, challenges, technical research, architectural design, module implementation, performance testing, and lessons learned when building a Golang‑based, high‑concurrency, easily extensible proxy to replace twemproxy for Weibo's recommendation system.
This article examines the inherent drawbacks of Redis Cluster—such as gossip overhead, upgrade challenges, client protocol complexities, and implementation gaps—and proposes a set of architectural enhancements, including proxy layers, dashboards, and agents, to improve scalability, reliability, and operational efficiency.
The article analyzes the use of a master/slave architecture for distributed caching, explains why two clusters, CAS, and proxy are employed, discusses consistency and availability challenges, and evaluates possible mitigation strategies for cache failures.
This article presents an in‑depth overview of Codis and its next‑generation project RebornDB, covering Redis, Redis Cluster, the proxy‑based architecture, consistency trade‑offs, production deployment experiences, operational pitfalls, and broader perspectives on distributed databases and architectures.
This guide walks through practical Python web‑scraping techniques using urllib2, covering basic page fetching, proxy usage, cookie handling for logins, form submission, header spoofing, anti‑hotlink tricks, multithreaded crawling, and strategies for bypassing simple captchas, all illustrated with code snippets.
This article explains how Twemproxy (nutcracker) works as a high‑performance proxy for Redis and Memcached, outlines its key features and limitations, and provides step‑by‑step installation and configuration instructions for building a reliable, scalable caching layer.