Programmer1970
Author

Programmer1970

Formerly called 'Code to 35'. Add our main WeChat ID to access a wealth of shared resources (algorithms, interview prep, tech stacks: Java, Python, Go, big data). We mainly share serious development techniques, focusing on output-driven input. Occasionally we post life snippets and gossip. Our aim is to attract precise traffic and test advertising opportunities.

120
Articles
0
Likes
2
Views
0
Comments
Recent Articles

Latest from Programmer1970

100 recent articles max
Programmer1970
Programmer1970
Apr 20, 2025 · Backend Development

Nginx Location Matching Rules and Proxy_pass Path Handling – Complete Guide

This article explains Nginx’s location directive modifiers, their matching priority, concrete request‑to‑location examples, how proxy_pass concatenates URLs with or without a trailing slash, rewrite usage, special cases like Unix sockets and 301 avoidance, and offers configuration‑level best‑practice tips with a full sample config.

0 likes · 8 min read
Nginx Location Matching Rules and Proxy_pass Path Handling – Complete Guide
Programmer1970
Programmer1970
Feb 24, 2025 · Databases

Deep Dive into MySQL Join Algorithms: Principles, Implementation, and Optimization

This article thoroughly examines MySQL join operations, detailing the fundamentals, inner workings, and performance characteristics of Nested‑Loop Join, Block Nested‑Loop Join, and Hash Join, while providing practical optimization techniques, parameter tuning, and decision‑making guidance for different data sizes and query patterns.

Block Nested Loop JoinDatabase PerformanceHash Join
0 likes · 11 min read
Deep Dive into MySQL Join Algorithms: Principles, Implementation, and Optimization
Programmer1970
Programmer1970
Feb 13, 2025 · Backend Development

Deep Dive into Java’s Exchanger: How It Works and When to Use It

This article explains Java's Exchanger class, detailing its synchronization mechanism, internal source‑code structure, practical usage examples, and how it compares with other concurrency utilities such as CyclicBarrier, Semaphore, and SynchronousQueue.

ExchangerJUCJava
0 likes · 10 min read
Deep Dive into Java’s Exchanger: How It Works and When to Use It
Programmer1970
Programmer1970
Jan 19, 2025 · Databases

MySQL Interview Scenario: Analyzing E‑Commerce User Repurchase Behavior

This article presents a MySQL interview case that examines e‑commerce repurchase behavior using orders and users tables, defines repeat purchasers, computes average repurchase intervals and amounts, identifies high‑value customers, and aggregates results by city through CTEs, window functions, and grouped statistics.

CTECity-Level MetricsE-commerce Analytics
0 likes · 8 min read
MySQL Interview Scenario: Analyzing E‑Commerce User Repurchase Behavior
Programmer1970
Programmer1970
Jan 14, 2025 · Databases

MySQL Interview Scenario: Advanced SQL Analytics with Joins, Subqueries, and Window Functions

This article presents an e‑commerce interview case that defines three tables (orders, order_items, products), loads sample data, and walks through a step‑by‑step SQL solution using CTEs, aggregation, window functions and HAVING to calculate each customer's total spend, most expensive order, and favorite product category, filtering and sorting the results.

AggregationCTEDatabase
0 likes · 9 min read
MySQL Interview Scenario: Advanced SQL Analytics with Joins, Subqueries, and Window Functions
Programmer1970
Programmer1970
Jan 9, 2025 · Operations

Understanding Elasticsearch Disk Watermarks in 3 Minutes

The article explains Elasticsearch's disk watermark mechanism—low, high, and flood stage thresholds—detailing why they are crucial for preventing data loss and maintaining cluster stability, how they work, how to configure them in elasticsearch.yml, and best‑practice recommendations for monitoring and storage planning.

Best PracticesCluster ManagementConfiguration
0 likes · 5 min read
Understanding Elasticsearch Disk Watermarks in 3 Minutes
Programmer1970
Programmer1970
Jan 6, 2025 · Backend Development

Understanding StampedLock in Java 8: Principles and Practical Use

This article explains Java 8's StampedLock—its optimistic and pessimistic read/write modes, internal state handling, source‑code walkthrough, typical usage scenarios, and a performance comparison with ReentrantLock and ReentrantReadWriteLock—providing concrete code examples and detailed analysis for developers.

JUCJavaJava8
0 likes · 12 min read
Understanding StampedLock in Java 8: Principles and Practical Use
Programmer1970
Programmer1970
Dec 25, 2024 · Fundamentals

A Comprehensive Deep Dive into the Java Collections Framework

This article provides an in‑depth overview of Java’s Collections Framework, detailing the core interfaces (List, Set, Queue, Deque, Map), their major implementations, performance characteristics, thread‑safety considerations, iterator usage, utility classes, and concurrent collection options, illustrated with code examples and diagrams.

Collections FrameworkIteratorJava
0 likes · 23 min read
A Comprehensive Deep Dive into the Java Collections Framework