Senior Brother's Insights
Author

Senior Brother's Insights

A public account focused on workplace, career growth, team management, and self-improvement. The author is the writer of books including 'SpringBoot Technology Insider' and 'Drools 8 Rule Engine: Core Technology and Practice'.

434
Articles
0
Likes
684
Views
0
Comments
Recent Articles

Latest from Senior Brother's Insights

100 recent articles max
Senior Brother's Insights
Senior Brother's Insights
Jul 24, 2022 · Databases

Understanding Redis High Availability: Master‑Slave, Sentinel, and Cluster Explained

This article explains why single‑node Redis suffers from single‑point failures, describes the master‑slave replication model, details the Sentinel automatic failover mechanism, compares various sharding solutions like client‑side sharding, Twemproxy, Codis, and outlines the features and deployment considerations of Redis Cluster.

ClusterDatabaseRedis
0 likes · 19 min read
Understanding Redis High Availability: Master‑Slave, Sentinel, and Cluster Explained
Senior Brother's Insights
Senior Brother's Insights
Jul 22, 2022 · Backend Development

Boost Your Nginx Setup 10× with This Free Visual Config Generator

This article introduces nginxconfig.io, an open‑source visual tool that simplifies Nginx configuration by letting you select site presets, services, HTTPS, logging, limits and global performance options, then instantly generates ready‑to‑use config files for faster deployment.

configurationopen-sourcetool
0 likes · 6 min read
Boost Your Nginx Setup 10× with This Free Visual Config Generator
Senior Brother's Insights
Senior Brother's Insights
Jul 21, 2022 · Backend Development

Mastering Java CAS: How AtomicInteger Achieves Lock‑Free Concurrency

This article explains the fundamentals of Compare‑And‑Swap (CAS), its implementation in Java through the Unsafe class, demonstrates AtomicInteger's lock‑free operations, and discusses CAS drawbacks such as spin‑wait overhead, single‑variable limitation, and the ABA problem with mitigation strategies.

ABA problemAtomicIntegerCAS
0 likes · 15 min read
Mastering Java CAS: How AtomicInteger Achieves Lock‑Free Concurrency
Senior Brother's Insights
Senior Brother's Insights
Jul 18, 2022 · Fundamentals

Avoid Costly Money Bugs: Mastering Java BigDecimal Pitfalls and Best Practices

This article explains why floating‑point types cause precision errors in financial calculations, reveals four common BigDecimal pitfalls—including constructor misuse, equality comparison, division precision, and string conversion—and provides concrete best‑practice solutions such as using String constructors, compareTo, specifying scale, and appropriate formatting methods.

Best PracticesBigDecimalFinancial
0 likes · 14 min read
Avoid Costly Money Bugs: Mastering Java BigDecimal Pitfalls and Best Practices
Senior Brother's Insights
Senior Brother's Insights
Jun 26, 2022 · Backend Development

How ZGC Achieves Sub‑10 ms Pauses and Scalable Memory Management

This article explains ZGC’s evolution from an experimental feature in JDK 11 to a production‑ready collector in JDK 15, detailing its sub‑10 ms pause guarantee, memory‑mapping architecture, colored pointers, region layout, read barriers, and the multi‑phase concurrent collection process that together deliver low‑latency, high‑throughput garbage collection for Java applications.

Colored PointersConcurrent GCGarbage Collection
0 likes · 16 min read
How ZGC Achieves Sub‑10 ms Pauses and Scalable Memory Management