Tag

thread isolation

1 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
May 3, 2025 · Backend Development

Understanding ThreadLocal: Core Principles, Use Cases, Pitfalls, and Best Practices

ThreadLocal provides per‑thread variable storage to achieve thread isolation, improving concurrency performance, and is essential for safe data handling in Java, but improper use can cause memory leaks, data contamination, and other issues; this article explains its internal mechanism, common scenarios, pitfalls, and best‑practice guidelines with code examples.

Best PracticesConcurrencyJava
0 likes · 19 min read
Understanding ThreadLocal: Core Principles, Use Cases, Pitfalls, and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 28, 2022 · Fundamentals

Understanding ThreadLocal in Java: Creation, Usage, and Implementation Details

This article explains Java's ThreadLocal class, covering its purpose for thread‑local storage, core methods such as get, set, and remove, ways to set initial values via subclassing or withInitial, usage of InheritableThreadLocal for parent‑child thread data propagation, and the underlying implementation details.

ConcurrencyInheritableThreadLocalJava
0 likes · 12 min read
Understanding ThreadLocal in Java: Creation, Usage, and Implementation Details
Architecture Digest
Architecture Digest
Oct 31, 2021 · Backend Development

Why Resource Isolation Matters and Common Isolation Techniques in Distributed Systems

The article explains the importance of isolating resources such as CPU, network, and disk in distributed architectures, describes thread, process, cluster, data‑read/write, static, and crawler isolation methods, and provides concrete code examples and best‑practice recommendations for backend developers.

BackendResource Isolationdistributed systems
0 likes · 13 min read
Why Resource Isolation Matters and Common Isolation Techniques in Distributed Systems
IT Architects Alliance
IT Architects Alliance
Sep 22, 2021 · Operations

Resource Isolation Strategies in Distributed Systems

The article explains why resource isolation is essential for distributed architectures, describes common isolation methods such as thread, process, cluster, data, static and crawler isolation, and provides concrete examples and code snippets for Netty, Dubbo, Tomcat, and Hystrix to illustrate practical implementations.

DubboNettyResource Isolation
0 likes · 12 min read
Resource Isolation Strategies in Distributed Systems
IT Architects Alliance
IT Architects Alliance
Aug 26, 2021 · Backend Development

Resource Isolation: Thread, Process, Cluster, and Other Strategies in Distributed Systems

This article explains why resource isolation is essential in distributed architectures and details various isolation techniques—including thread, process, cluster, data‑read/write, static, and crawler isolation—illustrated with Netty, Dubbo, and Tomcat examples, code snippets, and practical recommendations.

BackendResource Isolationdistributed systems
0 likes · 14 min read
Resource Isolation: Thread, Process, Cluster, and Other Strategies in Distributed Systems
vivo Internet Technology
vivo Internet Technology
Mar 17, 2021 · Cloud Native

Practical Experience and Best Practices with the Hystrix Fault‑Tolerance Framework

The article shares practical experience and best‑practice recommendations for using Netflix’s Hystrix fault‑tolerance framework, covering isolation strategy choice, thread‑pool sizing and timeouts, annotation ordering, exception handling, lightweight fallback design, key identifiers, configuration priority, and custom dynamic configuration integration via Archaius.

HystrixJavacircuit-breaker
0 likes · 21 min read
Practical Experience and Best Practices with the Hystrix Fault‑Tolerance Framework