Tech Freedom Circle
Author

Tech Freedom Circle

Crazy Maker Circle (Tech Freedom Architecture Circle): a community of tech enthusiasts, experts, and high‑performance fans. Many top‑level masters, architects, and hobbyists have achieved tech freedom; another wave of go‑getters are hustling hard toward tech freedom.

105
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Tech Freedom Circle

100 recent articles max
Tech Freedom Circle
Tech Freedom Circle
Jul 15, 2025 · Databases

One‑Order Four‑Split: Solving MySQL Deadlocks in Million‑Row Imports

During massive daily imports of up to one million reconciliation records, MySQL deadlocks can cripple performance; this article dissects the four classic deadlock conditions, then presents a systematic “One‑Order Four‑Split” strategy—ordered writes, transaction splitting, index management, partitioning, and gap‑lock removal—backed by benchmarks, code samples, and configuration tweaks that cut lock rates by up to 90% and reduce batch times to under ten minutes.

Batch InsertDeadlockIndex Optimization
0 likes · 27 min read
One‑Order Four‑Split: Solving MySQL Deadlocks in Million‑Row Imports
Tech Freedom Circle
Tech Freedom Circle
Jul 14, 2025 · Databases

How to Estimate Sharding Capacity: Calculating Required Databases and Tables for an Alibaba Interview

The article walks through why sharding is needed, outlines IO and CPU bottlenecks, presents two design principles, shows how to estimate capacity from existing data and growth trends, compares range, modulo, consistent‑hash and Snowflake sharding schemes, and details migration strategies for expanding nodes without downtime.

capacity planningconsistent hashingdata migration
0 likes · 22 min read
How to Estimate Sharding Capacity: Calculating Required Databases and Tables for an Alibaba Interview
Tech Freedom Circle
Tech Freedom Circle
Jul 13, 2025 · R&D Management

Mastering the ‘9 Swords’ Architecture: A Senior Architect’s 20‑Year Blueprint for Business, Product, and Application Design

This guide presents a systematic, nine‑step architecture framework—covering business, product, and application layers—with concrete examples, step‑by‑step methods, comparison tables, and visual diagrams to help engineers design robust systems and ace architecture interview questions.

application architecturebusiness architecturemicroservices
0 likes · 24 min read
Mastering the ‘9 Swords’ Architecture: A Senior Architect’s 20‑Year Blueprint for Business, Product, and Application Design
Tech Freedom Circle
Tech Freedom Circle
Jul 12, 2025 · Cloud Native

Service Discovery Interview: Should You Choose CP or AP? Why?

The article explains why service discovery is essential in cloud‑native microservices, reviews the CAP theorem, compares CP and AP architectures, analyzes ZooKeeper, Eureka, and Nacos implementations, highlights their trade‑offs, and concludes that AP is usually preferred for availability in service discovery scenarios.

AP vs CPCAP theoremEureka
0 likes · 15 min read
Service Discovery Interview: Should You Choose CP or AP? Why?
Tech Freedom Circle
Tech Freedom Circle
Jul 11, 2025 · Artificial Intelligence

The Three Core Protocols of AI Agents 2.0: MCP, A2A, and AG‑UI

This article explains the three foundational protocols—MCP for tool access, A2A for inter‑agent communication, and AG‑UI for Agent‑UI interaction—detailing their origins, technical roles, example implementations, and how they together form the communication backbone of modern AI applications.

A2AAG-UIAI Agent
0 likes · 18 min read
The Three Core Protocols of AI Agents 2.0: MCP, A2A, and AG‑UI
Tech Freedom Circle
Tech Freedom Circle
Jul 8, 2025 · Backend Development

How to Diagnose and Prevent Java Deadlocks (Alibaba & Other Big‑Company Interviews)

This article explains what a deadlock is, the four necessary conditions that cause it, demonstrates classic synchronized‑based and Lock‑based deadlock examples in Java, shows how to detect deadlocks with tools such as Arthas, jstack, jvisualvm and JMC, and provides practical strategies—including lock ordering, timeout locks, and two‑phase locking—to break each condition and avoid deadlocks in production code.

ArthasDeadlockJava
0 likes · 24 min read
How to Diagnose and Prevent Java Deadlocks (Alibaba & Other Big‑Company Interviews)
Tech Freedom Circle
Tech Freedom Circle
Jul 7, 2025 · Backend Development

Elegant Spring Boot Parameter Validation: A P7 Engineer’s Guide

This article walks through Spring Boot’s built‑in parameter validation using JSR‑303/JSR‑380, compares @Valid and @Validated, shows how to configure global exception handling, implement group validation, fast‑fail mode, and custom constraints, and demonstrates both controller‑level and service‑level validation with complete code examples.

@Valid@ValidatedHibernate Validator
0 likes · 39 min read
Elegant Spring Boot Parameter Validation: A P7 Engineer’s Guide