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
Dec 2, 2024 · Backend Development

Unlock Efficient Search and Storage with Elasticsearch Index Mapping

This article explains Elasticsearch index mapping fundamentals, covering field types such as text, keyword, numeric and date, key index options like analyzer, doc_values, null_value, and multi‑field strategies, and provides concrete code examples and optimization tips for efficient search and storage.

AnalyzersElasticsearchField Types
0 likes · 19 min read
Unlock Efficient Search and Storage with Elasticsearch Index Mapping
Programmer1970
Programmer1970
Nov 29, 2024 · Databases

40 Essential MySQL Interview Questions and Answers

This article compiles 40 core MySQL interview questions covering ACID properties, lock types, views, stored procedures, JOINs, storage engines, query optimization, buffer pools, write buffers, transaction mechanisms, MVCC, isolation levels, gap locks, metadata locks, thread model, row formats, and more, providing concise answers for each.

DatabaseLockingMVCC
0 likes · 57 min read
40 Essential MySQL Interview Questions and Answers
Programmer1970
Programmer1970
Nov 27, 2024 · Operations

Understanding Elasticsearch Thread Pools: Types, Usage, and Tuning

The article explains Elasticsearch's thread‑pool architecture, detailing the Search, Write, Generic, and other specialized pools, their purposes, fixed or cached configurations, optimization guidelines, and how to monitor and adjust them via REST APIs and built‑in tools.

ElasticsearchJava ExecutorMonitoring
0 likes · 7 min read
Understanding Elasticsearch Thread Pools: Types, Usage, and Tuning
Programmer1970
Programmer1970
Nov 25, 2024 · Backend Development

Deep Dive into Elasticsearch Memory Architecture and Optimization

The article explains Elasticsearch's on‑heap and off‑heap memory design, details each memory pool and its management via LRU, describes Lucene's role in off‑heap storage, and provides practical tips for configuring JVM heap size, cache strategies, and monitoring to achieve stable, high‑performance search.

ElasticsearchJVMLucene
0 likes · 8 min read
Deep Dive into Elasticsearch Memory Architecture and Optimization
Programmer1970
Programmer1970
Nov 24, 2024 · Backend Development

Designing Secure, Efficient, and Maintainable Third‑Party API Calls

The article outlines a comprehensive approach to third‑party API design, covering core principles such as security, reliability, usability and extensibility, detailed key‑management and authentication mechanisms, RESTful API specifications, implementation steps with code samples, and best‑practice recommendations for robust and maintainable integrations.

API designAuthenticationRESTful
0 likes · 16 min read
Designing Secure, Efficient, and Maintainable Third‑Party API Calls
Programmer1970
Programmer1970
Nov 18, 2024 · Backend Development

How to Resolve Message Backlog and Why Kafka Outperforms RocketMQ

The article outlines practical solutions for RocketMQ message backlog—including scaling consumers, optimizing logic, batch consumption, producer throttling, broker tuning, monitoring, and emergency plans—then explains why Kafka delivers higher performance through sendfile zero‑copy, simple log storage, efficient memory use, and batch sending, and finally compares the two systems on reliability, retry, transactions, filtering, ordering, and suitable use cases.

BacklogKafkaPerformance
0 likes · 8 min read
How to Resolve Message Backlog and Why Kafka Outperforms RocketMQ
Programmer1970
Programmer1970
Nov 17, 2024 · Backend Development

Elasticsearch Scripting Explained: Compute Fields, Custom Scoring, Best Practices

This article provides a comprehensive overview of Elasticsearch scripting, covering its role in dynamic query and indexing calculations, detailed Painless script examples for custom scoring, field generation, and updates, the script execution lifecycle, common use cases, and practical best‑practice recommendations for performance and security.

Best PracticesCustom ScoringElasticsearch
0 likes · 11 min read
Elasticsearch Scripting Explained: Compute Fields, Custom Scoring, Best Practices
Programmer1970
Programmer1970
Nov 7, 2024 · Information Security

10 Practical Ways to Generate Random Passwords in Java

This article presents a collection of Java techniques—including Random, SecureRandom with Base64, ThreadLocalRandom, Collections.shuffle, third‑party libraries like Apache Commons and Guava, custom character sets, template‑based generation, and regex validation—to create secure random passwords with configurable length and complexity.

Base64GuavaJava
0 likes · 15 min read
10 Practical Ways to Generate Random Passwords in Java