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'.

432
Articles
0
Likes
516
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.

ClusterRedisSentinel
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.

BigDecimalFinancialJava
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
Senior Brother's Insights
Senior Brother's Insights
Jun 13, 2022 · Fundamentals

Why Does Java’s ArrayList Default to a Capacity of 10?

This article explains why Java’s ArrayList uses a default initial capacity of 10, contrasts it with HashMap’s 16‑element default, and walks through the lazy‑initialization logic and growth algorithm that keep the capacity at ten until the first element is added.

ArrayListData StructuresDefault Capacity
0 likes · 9 min read
Why Does Java’s ArrayList Default to a Capacity of 10?
Senior Brother's Insights
Senior Brother's Insights
Jun 6, 2022 · Databases

Comprehensive Guide to Database Object Naming and Design Standards

This guide outlines detailed naming conventions for databases, tables, columns, indexes, views, stored procedures, functions, triggers, constraints, and users, plus best practices for storage engine, charset, table design, field types, index design, and SQL usage to ensure consistency, performance, and maintainability.

Constraint GuidelinesDatabase NamingMySQL Best Practices
0 likes · 21 min read
Comprehensive Guide to Database Object Naming and Design Standards