Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the knowledge points of java with high concurrency?

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "what are the high concurrency knowledge points of java". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn what are the high concurrency knowledge points of java.

Concurrent and concurrent thread safety processing thread safety

Atomicity, visibility, ordering, atomic package, CAS algorithm, synchorized and Lock, volatile, happes-before

Secure release object

Secure publishing methods, immutable objects, final keyword usage, immutable methods, thread unsafe classes and writing

Thread safety means

Stack closure, ThreadLock thread closure, JDBC thread closure, synchronization container, concurrency container, J.U.C

J.U.C components such as AQS

CountDownLatch, Semaphore, CyclicBarrier, ReentrantLock and Lock, Condition, FutureTask, Fork/Join Framework, BlokingQueue

Thread pool (thread scheduling)

New Thread drawbacks, benefits of thread pools, ThreadPoolExecutor, Executor framework interfaces

Additional supplement

Deadlock generation and prevention, multithreaded concurrency best practices, Spring thread safety, HashMap and ConcurrentHashMap in depth.

Ideas and means to expand the capacity of high concurrency processing

Discussion on horizontal and Vertical capacity expansion

Caching

Introduction and use of Redis, Memcache, Guava Cache, etc.

Queue

Introduction of queue characteristics such as Kafka, RabbitMQ, RocketMQ and concerns of using queues

Apply split

Introduction of Service-oriented Dubbo and Micro-Service Spring Cloud

Current limit

Introduction and use of Guava RateLimiter, common current limiting algorithms, self-realization of distributed current limiting, etc.

Service degradation and service breaker

Various options for service degradation, introduction and use of Hystrix, etc.

Database cut database, sub-database, sub-table

This paper introduces the principle and implementation of cutting database, dividing tables and supporting multiple data sources.

Some highly available means

Task scheduling distributed elastic-job, implementation of active and standby curator, monitoring and alarm mechanism

Thank you for your reading, the above is the content of "what are the java high concurrency knowledge points". After the study of this article, I believe you have a deeper understanding of what the java high concurrency knowledge points have, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report