编程知识 cdmana.com

One step to get your confused data structure and algorithm series, how to get started with Java

In order to better sort out relevant knowledge , Let's first look at the pure hand drawn knowledge system diagram

1.1 Kafka Outline of knowledge system

 One step to get your confused data structure and algorithm series , How to get started Java_ The programmer

Because I draw these knowledge system outlines by hand xmind Software , Can't upload , So they are shown in the form of screenshots , The details are unclear ( After all, the form of pictures is limited )

1.2 RabbitMQ Outline of knowledge system

 One step to get your confused data structure and algorithm series , How to get started Java_ The programmer _02

1.3 RocketMQ Outline of knowledge system

 One step to get your confused data structure and algorithm series , How to get started Java_ The programmer _03

After reading the knowledge outline , It's time for an interview

2.1 Brush Kafka interview

  1. Kafka What are the uses of ? How to use the scene ?
  2. Kafka Medium ISR、AR What does it stand for ?ISR What is the expansion and contraction of
  3. Kafka Medium HW、LEO、LSO、LW What do they stand for ?
  4. Kafka How does the message order in ?
  5. Kafka Partition in 、 Serializer 、 Does the interceptor understand ? What is the order of processing between them ?
  6. Kafka What is the overall structure of the producer client ?
  7. Kafka Several threads are used in the producer client to handle ? What are the differences ?
  8. Kafka Old version of Scala What are the defects in the design of the consumer client of ?
  9. “ If the number of consumers in the consumption group exceeds topic The partition , Then there will be consumers spending less than data ” Whether this sentence is correct ? If correct , So is there anything hack The means of ?
  10. What are the circumstances that will lead to repeated consumption ?
  11. Which scenarios will lead to information leakage consumption ?
  12. KafkaConsumer It's not thread safe , So how to achieve multi-threaded consumption ?
  13. Describe the relationship between consumers and consumption groups
  14. When you use kafka-topics.sh establish ( Delete ) One. topic after ,Kafka What logic will be carried out behind ?
  15. topic Can I increase the number of partitions in ? How can I increase ? If not , Then why ?
  16. topic Can we reduce the number of partitions in ? How can we reduce ? If not , Then why ?
  17. establish topic How to choose the appropriate number of partitions ?
  18. Kafka What are the current internal topic, What are their characteristics ? What are their respective functions ?
  19. What is the priority copy ? What special function does it have ?
  20. Kafka Where are some places that have the concept of partition allocation ? Describe the general process and principle
  21. sketch Kafka Log directory structure of
  22. Kafka What are the index files in ?
  23. If I specify a offset,Kafka How to find the corresponding message ?
  24. If I specify a timestamp,Kafka How to find the corresponding message ?
  25. Talk about you right Kafka Of Log Retention The understanding of the
  26. Talk about you right Kafka Of Log Compaction The understanding of the
  27. Talk about you right Kafka Understanding of underlying storage
  28. Talk about it Kafka The principle of delay operation
  29. Talk about it Kafka The function of the controller
  30. Kafka Old version of Scala What are the defects in the design of the consumer client of ?
  31. What is the principle of consumption rebalancing ?( Tips : Consumer coordinator and consumer group coordinator )
  32. Kafka How the idempotent in is realized ?
  33. Kafka How the transaction in is implemented ?
  34. What do invalid copies mean ? What are the countermeasures ?
  35. Multiple copies , In each copy HW and LEO The evolution of
  36. Kafka What improvements have been made in terms of reliability ?(HW, LeaderEpoch)
  37. Why? Kafka Read write separation is not supported ?
  38. Kafka How to implement the delay queue in
  39. Kafka How to implement dead letter queue and retry queue in ?
  40. Kafka How to do information audit in ?
  41. Kafka How to do message trace in ?
  42. How to calculate Lag?( Be careful read_uncommitted and read_committed The difference in state )
  43. Kafka What indicators need to be focused on ?
  44. Kafka Which designs of make it have such high performance ?

2.2 Brush ActiveMQ interview

1. What is? ActiveMQ?
2. ActiveMQ What to do if the server goes down ?
3. What should I do if I lose the news ?
4. Persistent messages are very slow
5. Uneven consumption of news
6. Dead letter queue
7. ActiveMQ Is the message retransmission interval and number of times in ?

2.3 Brush RabbitMQ interview

  1. RabbitMQ Medium broker What is it? ?cluster What do you mean ?
  2. What is metadata ? What are the types of metadata ? What is included ? And cluster What are the relevant metadata ? How metadata is stored ? Metadata is in cluster How is it distributed in ?
  3. RAM node and disk node The difference between ?
  4. RabbitMQ On the one queue Stored in message Is there a quantity limit ?
  5. RabbitMQ In concept channel、exchange and queue These are logical concepts , Or the process entity ? What are the functions of these things ?
  6. vhost What is it? ? What's the effect ?
  7. In the single node System and multi node Composed of cluster The system states queue、exchange , And binding What would be different ?
  8. The client connects to cluster Any of the node Is it all working ?
  9. if cluster Have one of queue Of owner node It doesn't work , And the queue Be declared to have durable attribute , Whether it can succeed from other node On redeclaration of the queue ?
  10. cluster in node The failure of consumer What is the impact ? If it's in cluster Created in mirrored queue , At this time node Failure will be right consumer What is the impact ?
  11. It can be used in different data centers that are geographically separated RabbitMQ cluster Well ?
  12. Why? heavy RPC It is not recommended to use disk node ?
  13. To the nonexistent exchange Hair publish What will happen to the news ? To the nonexistent queue perform consume What happens to the action ?
  14. routing_key and binding_key What's the maximum length of ?
  15. RabbitMQ Allowed to send message What's the maximum ?
  16. Under what circumstances producer Don't actively create queue Is safe ?
  17. “dead letter”queue Use of ?
  18. Why guarantee message The condition for reliable persistence is queue and exchange have durable attribute , meanwhile message have persistent Property is OK ?
  19. Under what circumstances blackholed problem ?
  20. How to prevent blackholed problem ?
  21. Consumer Cancellation Notification What scenario is the mechanism used for ?
  22. Basic.Reject What is the usage of ?
  23. Why shouldn't all of message All use persistence mechanism ?
  24. RabbitMQ Medium cluster、mirrored queue, as well as warrens What problems are the mechanisms used to solve ? What are the problems ?

The answers to all the questions have been sorted out , As shown in the following question PDF The file , Because of space, I won't take screenshots one by one , Those who need to see the answer can get it at the end of the text

 One step to get your confused data structure and algorithm series , How to get started Java_Java_04

After reading the system outline + Interview questions , If there is a knowledge gap, continue to read the learning notes

3.1 Kafka Source code analysis and actual combat

The first 1 Chapter Kafka brief introduction
1.1 Kafka Birth background
1.2 Kafka stay LinkedIn Internal applications
1.3 Kafka The main design objectives of
1.4 Why use messaging systems
The first 2 Chapter Kafka The architecture of
2.1 Kafka Basic composition of
2.2 Kafka Topology of
2.3 Kafka Internal communication protocol
The first 3 Chapter Broker summary
3.1 Broker Start of
3.2 Broker The internal modules consist of
The first 4 Chapter Broker Basic module of
4.1 SocketServer
4.2 KafkaRequestHandlerPool
4.3 KafkaApis
4.4 KafkaHealthcheck
The first 5 Chapter Broker Control management module of
5.1 KafkaController Election strategy
5.2 KafkaController The initialization
5.3 Topic Partition state transition mechanism of
5.4 Topic District Leader replica election strategy
5.5 Topic Replica state transition mechanism for partitions
5.6 KafkaController Internal monitors
5.7 Kafka Load balancing process of cluster
5.8 Kafka Clustered Topic Delete process
5.9 KafkaController Communication module of
The first 6 Chapter Topic Management tools
6.1 kafka-topics.sh
6.2 kafka-reassign-partitions.sh
6.3 kafka-preferred-replica-election.sh
The first 7 Chapter producer
7.1 Design principles
7.2 Sample code
7.3 Module composition
7.4 Send mode
The first 8 Chapter consumer
8.1 Simple consumers
8.2 Senior consumers
The first 9 Chapter Kafka Typical application of
9.1 Kafka and Storm Integration of
9.2 Kafka and ELK Integration of
9.3 Kafka and Hadoop Integration of
9.4 Kafka and Spark Integration of
The first 10 Chapter Kafka A comprehensive example of
10.1 The main application of security big data
10.2 Kafka Role in the overall security solution
10.3 Typical business

 One step to get your confused data structure and algorithm series , How to get started Java_ The backend development _05

 One step to get your confused data structure and algorithm series , How to get started Java_ The backend development _06

3.2 Handwriting RocketMQ note

Section 1 :RocketMQ Introduce
1.1 The core concept
1.2 RocketMQ Design concept and goal of
In the second quarter :RocketMq Sending messages in
2.1 A one-way (OneWay) send out
2.2 Reliable synchronous transmission
2.3 Reliable asynchronous delivery
2.4 RocketMQ The tradeoff between sending messages in
In the third quarter :RocketMQ News consumption
3.1 Cluster consumption and broadcast consumption
3.2 The way of consumption
The fourth quarter, : Deep message sending
4.1 Message producer process
4.2 Bulk message sending
4.3 Message retry mechanism
Section 5 : Deep message mode
5.1 Pull mode 5.2 Push mode
Section 6 : Sequential message
6.1 Global sequential messages
6.2 Partial sequential messages
Section 7 : Delay message
7.1 The concept is introduced
7.2 Applicable scenario
7.3 Usage mode
Section 8 : Dead letter queue
8.1 The concept is introduced
8.2 Applicable scenario
Section 9 : Consumption idempotent
9.1 What is message idempotent
9.2 Scenarios to deal with
9.3 processing method
Section 10 : Message filtering
10.1 The concept is introduced
10.2 Expression filtering
10.3 Class filtering
Section 11 :RocketMQ Storage profile design
11.1 Message storage structure
11.2 Memory mapping
11.3 File swipe mechanism
11.4 Delete expired files
Section 12 :RocketMQ Transaction messages in
12.1 The idea of transaction message implementation
12.2 Two-phase commit
12.3 Transaction status check back mechanism
12.3 Code implementation
Section 13 :RocketMQ Master slave synchronization (HA) Mechanism
13.1 RocketMQ Cluster deployment mode
13.2 Master slave replication principle
13.3 Read write separation mechanism
13.4 And Spring Integrate
13.5 And SpringBoot Integrate
Section 14 : Limited time order actual combat
14.1 What is a time limited order
14.2 How to realize time limited order
14.3 use RocketMQ Realize time limited order
Section 15 :RocketMQ Source code analysis
15.1 RocketMQ The overall architecture
15.2 NameServer
15.3 RocketMQ Service startup
15.4 The context of the news of source code analysis

 One step to get your confused data structure and algorithm series , How to get started Java_Java_07

 One step to get your confused data structure and algorithm series , How to get started Java_Java_08

3.3 RabbitMQ Practical learning guide

The first 1 Chapter RabbitMQ brief introduction
1.1 What is message middleware
1.2 The role of message middleware
1.3 RabbitMQ The origin of
1.4 RabbitMQ Installation and simple use of
The first 2 Chapter RabbitMQ introduction
2.1 Introduction to related concepts
2.2 AMQP Protocol is introduced
The first 3 Chapter Client development wizard
3.1 Connect RabbitMQ
3.2 Using switches and queues
3.3 Send a message
3.4 News consumption
3.5 Consumer confirmation and rejection
3.6 Close the connection
The first 4 Chapter RabbitMQ Advanced
4.1 Where is the news going
4.2 Expiration time (TTL)
4.3 Dead letter queue
4.4 Delay queue
4.5 Priority queue
4.6 RPC Realization
4.7 Persistence
4.8 The producer confirms
4.9 Key points of the consumer side
4.10 Message transmission guarantee
The first 5 Chapter RabbitMQ management
5.1 Multi tenancy and permissions
5.2 User management
5.3 Web End management
5.4 Application and cluster management
5.5 Server status
5.6 HTTPAPI Interface management
The first 6 Chapter RabbitMQ To configure
6.1 environment variable
6.2 The configuration file
6.3 Parameters and Strategies
The first 7 Chapter RabbitMQ Operation and maintenance
7.1 Cluster building
7.2 View the service log
7.3 Single node recovery
7.4 Cluster migration
7.5 Cluster monitoring
The first 8 Chapter Across the boundaries of clusters
8.1 Federation
8.2 Shovel
The first 9 Chapter RabbitMQ Higher order
9.1 Storage mechanism
9.2 Memory and disk alarms
9.3 Flow control
9.4 Image queue
The first 10 Chapter Network partition
10.1 The meaning of network partition
10.2 The determination of network partition
10.3 Simulation of network partition
10.4 The impact of network partitioning
10.5 Manual processing of network partitions
10.6 Automatic processing of network partitions
10.7 Case study : In the case of multiple partitions
The first 11 Chapter RabbitMQ Expand
11.1 Message tracking
11.2 Load balancing

 One step to get your confused data structure and algorithm series , How to get started Java_ The backend development _09

 One step to get your confused data structure and algorithm series , How to get started Java_ The programmer _10

Last

It's not easy to code words , If you think it's helpful, you can praise it , Let more people in need see

Another job season , ad locum , I've prepared a set for you Java Programmers selected high-frequency written interview questions , To help you capture BAT Of offer, Topics range from elementary Java A series of interview questions and answers from basic to advanced distributed architecture , For your reference

Here are some screenshots
 One step to get your confused data structure and algorithm series , How to get started Java_ The backend development _11

This article has been  CODING Open source project :【 A big factory Java Analysis of interview questions + Core summary learning notes + The latest explanation video + Actual project source code 】 Included

版权声明
本文为[SDK integrated development]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/10/20211002005656320k.html

Scroll to Top