Full-Stack Internet Architecture
Author

Full-Stack Internet Architecture

Introducing full-stack Internet architecture technologies centered on Java

876
Articles
0
Likes
4.0k
Views
0
Comments
Recent Articles

Latest from Full-Stack Internet Architecture

100 recent articles max
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 10, 2025 · Fundamentals

Strange Behaviors in Java: Integer Caching, String Comparison, Unary Plus, and Unicode Tricks

This article explains several counter‑intuitive Java behaviors—including integer caching with configurable range, string literal pool versus new objects, the unary plus being a sign rather than an operator, and Unicode escape processing that can make commented code execute—providing code examples and practical insights.

integer-cachingprogramming-quirksstring-comparison
0 likes · 5 min read
Strange Behaviors in Java: Integer Caching, String Comparison, Unary Plus, and Unicode Tricks
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 6, 2025 · Backend Development

Understanding Java CyclicBarrier with Practical Examples

This article explains Java's CyclicBarrier synchronization tool, compares it with CountDownLatch, demonstrates basic and array‑sum examples with reusable barriers and callback actions, and shows how it can coordinate multiple threads for tasks such as parallel computation and result aggregation.

CyclicBarrierJavaconcurrency
0 likes · 6 min read
Understanding Java CyclicBarrier with Practical Examples
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 5, 2025 · Backend Development

Using CountDownLatch in Java to Synchronize Multiple Threads for a Lucky Card Collection Example

This article explains the Java CountDownLatch utility, demonstrates its countdown synchronization mechanism with a lucky‑card‑collection scenario, provides a complete runnable example, and shows how the main thread waits for all worker threads to finish before proceeding to the lottery step.

CountDownLatchJavaconcurrency
0 likes · 5 min read
Using CountDownLatch in Java to Synchronize Multiple Threads for a Lucky Card Collection Example
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 2, 2025 · Databases

Demonstrating MySQL Deadlock with a Practical Example

This article explains MySQL deadlocks by creating a test table, running two concurrent transactions—one using SLEEP to hold a lock and another attempting the same resource—to reproduce a deadlock error, and discusses how this approach aids debugging and understanding of transaction conflicts.

DeadlockMySQLSQL
0 likes · 4 min read
Demonstrating MySQL Deadlock with a Practical Example
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 1, 2025 · Databases

Common Scenarios Where MySQL Indexes Fail

This article explains various situations that cause MySQL indexes to become ineffective—such as leading wildcard LIKE queries, calculations on indexed columns, use of functions, data type mismatches, improper use of composite indexes, and character set differences—providing example SQL, execution plans, and practical testing steps.

Database OptimizationMySQLSQL
0 likes · 7 min read
Common Scenarios Where MySQL Indexes Fail
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 30, 2025 · Databases

How to Reshard Slots in a Redis Cluster

This article explains the process of moving hash slots between nodes in a Redis cluster using the redis-cli --cluster reshard command, detailing the required parameters, interactive steps, and verification of successful slot migration.

ClusterData MigrationRedis
0 likes · 6 min read
How to Reshard Slots in a Redis Cluster
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 29, 2025 · Databases

Essential Redis Cluster Configuration Parameters: Required and Optional Settings

This article explains the key Redis cluster configuration options found in redis.conf, detailing required settings such as cluster-enabled, cluster-config-file, and cluster-node-timeout, as well as optional parameters like cluster-slave-validity-factor, migration barrier, full coverage requirement, and read‑when‑down behavior.

ClusterParametersRedis
0 likes · 5 min read
Essential Redis Cluster Configuration Parameters: Required and Optional Settings