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
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 ExecutorThread Pool
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 designRESTfulSpring Boot
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.

KafkaMessage QueuePerformance
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
Programmer1970
Programmer1970
Nov 5, 2024 · Backend Development

RedisSearch vs Elasticsearch: Which Full‑Text Search Engine Fits Your Needs?

The article compares RedisSearch and Elasticsearch across definition, storage model, performance, query capabilities, scalability, ease of integration, and operational considerations, helping readers decide which solution best matches requirements such as real‑time response, data volume, query complexity, and existing tech stacks.

ElasticsearchPerformanceRedisSearch
0 likes · 7 min read
RedisSearch vs Elasticsearch: Which Full‑Text Search Engine Fits Your Needs?
Programmer1970
Programmer1970
Oct 29, 2024 · Backend Development

Master Google Guava’s Multimap to Boost Programming Efficiency

This article explains Guava's Multimap feature, covering its core one‑to‑many mapping capabilities, common methods, various implementations (ArrayListMultimap, HashMultimap, LinkedHashMultimap, TreeMultimap, immutable and synchronized versions), and provides concrete Java code examples and a social‑network scenario to help developers choose the right implementation.

CollectionsGoogle GuavaImmutable
0 likes · 13 min read
Master Google Guava’s Multimap to Boost Programming Efficiency