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.

128
Articles
0
Likes
606
Views
0
Comments
Recent Articles

Latest from Programmer1970

100 recent articles max
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.

CTEDatabaseInterview
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 PracticesConfigurationElasticsearch
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
Programmer1970
Programmer1970
Dec 22, 2024 · Operations

50 Essential Linux Commands: Functions, Examples, and Practical Tips

This article compiles a concise reference of fifty commonly used Linux commands, detailing each command’s purpose, typical usage syntax, concrete examples, and handy tips to help developers and system administrators quickly master essential command‑line operations.

Linuxcommand linenetworking
0 likes · 41 min read
50 Essential Linux Commands: Functions, Examples, and Practical Tips