MaGe Linux Operations
MaGe Linux Operations
May 6, 2022 · Backend Development

Master Go’s net/url: URL Parsing, Escaping, and Query Handling Explained

This article provides a comprehensive guide to Go's net/url package, covering import methods, key functions like PathEscape, PathUnescape, QueryEscape, QueryUnescape, as well as the URL type fields and methods such as Parse, ResolveReference, and utilities for query manipulation, all illustrated with practical code examples.

BackendGoURL parsing
0 likes · 16 min read
Master Go’s net/url: URL Parsing, Escaping, and Query Handling Explained
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Nov 21, 2021 · Backend Development

How I Reduced Dubbo Registry CPU Usage by 20× with Go URL Parsing Optimizations

This article details how a Go‑based Dubbo registration center suffered high CPU usage, how profiling identified the AssembleUrlWeight function as the bottleneck, and how custom URL‑parameter extraction and weight‑insertion code cut CPU consumption by over ten percent and improved performance by up to twenty times.

DubboPerformance OptimizationURL parsing
0 likes · 12 min read
How I Reduced Dubbo Registry CPU Usage by 20× with Go URL Parsing Optimizations
MaGe Linux Operations
MaGe Linux Operations
Aug 12, 2021 · Backend Development

Mastering Go’s net/url: Essential Functions and Practical Examples

This article provides a comprehensive guide to Go's net/url package, explaining key functions such as PathEscape, QueryEscape, Parse, and ResolveReference, and illustrating their usage with clear code snippets that demonstrate URL parsing, encoding, decoding, and manipulation in real-world scenarios.

BackendCode examplesURL parsing
0 likes · 17 min read
Mastering Go’s net/url: Essential Functions and Practical Examples
Laravel Tech Community
Laravel Tech Community
Aug 1, 2020 · Backend Development

PHP parse_url Function: Usage, Parameters, Return Values and Examples

This article explains the PHP parse_url() function, detailing its signature, optional component parameter, return types, and provides two complete code examples with expected output to illustrate how URLs are decomposed into scheme, host, port, user, password, path, query and fragment parts.

BackendURL parsingparse_url
0 likes · 4 min read
PHP parse_url Function: Usage, Parameters, Return Values and Examples