Article Directory
basis
- Strong, weak, references, virtual references, soft references
- The role of final keyword (methods, variables, class)
- Generics, generics inheritance, generics erased
- jdk ServiceLoader
- LinkedList、LinkedHashMap、LRU
- Decorator Pattern Proxy mode, the chain of responsibility pattern, plant pattern, adapter mode, the builder pattern, singleton, template mode, observer mode ...
- About loss of accuracy problems: int, long exceed the maximum
- Common types of meta-annotation methods, inheritance java.lang.Annotation, foundation type annotations, annotation: About notes
- About ClassLoader, class loader delegation model parents
J.U.C
- Parameter Description thread pool, thread pool thread recovery, shutdown
- Lifecycle thread pool?
- Operational processes core object model Worker thread pool is like?
- Reject the policy of the thread pool which has four kinds?
- Thread pool submission, execute and submit What is the difference? In the actual development of what issues need attention?
- threadlocal principle, the data structure
- Concurrent collections classes to know what?
- ConcurrentHashMap
- CopyOnWrite set of principles, the lock mechanism
- ConcurrentLinkedQueue、LinkedTransferQueue、ArrayBlockingQueue、PriorityBlockingQueue、SynchronousQueue、DelayQueue
- AQS principle:
- Exclusive & Share
- state & CHL queue
- lock:
- Synchronized、ReentrantLock、RWLock、Condition、LockSupport、StampedLock、
- The concept: CAS spin, re-entry, bias
- volatile:
- Multithreading Share & stop instruction reordering
- The escape analysis jvm & Tlab & eliminate false sharing & UNsafe &
- atomic:
- The disadvantage of CAS, spin, ABA problem
- atomic 原子性、Reference、referenceArray、longadder
jvm virtual machine
- Virtual machine memory model
- New Generation (Eden S0 S1), the old years, MetaSpace (ratio)
- Garbage collection algorithm (reference count, the compression flag, cleared replication algorithm, partition), the garbage collector
- GC pauses, throughput, into the threshold of the old era, large object recycling issues
- jvm tuning parameter settings
- Commonly used commands: jstat, jmap, jstack etc.
- Memory Overflow Analysis: within the pile, heap outside (meaning, how to set up)
- CPU soared: deadlock, thread blocks
- About GC: minor major full
- stw, security points, etc.
Data Structure & Algorithms
- Arrays, linked lists, trees, queues ...
- About time complexity, time for space conversion case
- About sort, bubble, fast discharge, recursive, binary search, Bitwise
Spring
- Spring life cycle process of combing
- Spring extension point role
- Spring IOC AOP basic principles
- Dynamic Proxy
- BeanPostProcessor role?
- ApplicationContextAware role and use?
- BeanNameAware and BeanFactoryAware the order?
- InitializingBean and BeanPostProcessor the method after the order?
- ApplicationListener monitor the Application event What?
- Spring concept module assembly, such @EnableScheduling @EnableRetry @ EnableAsync, @ Import annotations role?
- ImportBeanDefinitionRegistrar extension point to do something?
- ClassPathBeanDefinitionScanner role?
- NamespaceHandlerSupport namespace extension point of action?
- How to inject a dynamic Bean?
- How to Class custom annotation where the initialization is injected into the Spring container?
- BeanDefinition refers to what is the difference between the BeanDefinitionHolder, Spring BeanDefinition examples of how to save?
- ASM and CGlib
- Spring assembly conditions, automatic assembly
RPC communications framework
Dubbo
- Dubbo's Spi mechanism?
- Dubbo core model invoker, invocation, filter
- Dubbo implicit transfer?
- Dubbo generalization call?
- Dubbo's export and importer opportunity?
- Dubbo service call process?
- Dubbo load balancing strategy?
- Dubbo cluster fault tolerance?
Telecommunication
IO / NIO
- IO NIO Ku别?
- Multiplexing concept, Selector
- Channel concept, the concept of Bytebuf, flip, position ...
- FileChannel How to use?
- RAF use, seek, skip method
Netty
- Reactor Netty about implementation?
- Netty's ByteBuf What?
- Memory and non-memory Bytebuffer difference and usage scenarios?
- Pooled and non-pooled buffer difference and usage scenarios?
- About Netty request and response Buffer Buffer?
- Netty's ChannelPipeline design patterns?
- Netty's core option parameter configuration?
- Netty's ChannelInboundHandlerAdapter and SimpleChannelInboundHandler relationship?
- EventLoop core Netty achieve?
- What common methods (ChannelDuplexHandler) Netty connection event management interfaces?
- Netty codec serialization means
- Netty's FastThreadLocal achieve?
- Netty applied in decorative patterns and observers reflected Where?
MQ
- API use, common production and consumption model, to build a cluster architecture
- FAQs, message delivery reliability, power and other safeguards
- Concepts, principles, memory, message delivery, communication mechanisms, performance-related optimization
- MQ act on the common purpose of serving decoupling, load shifting, etc.
RocketMQ
Kafka
RabbitMQ
ActiveMQ
Cache
- Memory Cache
- External heap memory cache recovered released
- Cache penetration, avalanches, Hot Key, big Key, bottomless pit problem, update the cache and elimination, the database cache coherency
Redis
- Redis idempotency
- Redis distributed lock to achieve
- The atomic Redis, features Redis
- Redis cluster related issues, consistency hash, slot and other concepts
- What is Redis?
- .Redis data types?
- What are the benefits of using Redis there?
- Redis Memcached What are the advantages compared to?
- Memcached and Redis difference between what are?
- Redis is single-threaded single-process it? Why is it so fast so efficient?
- A value of type string can store the maximum capacity is how much?
- What persistence mechanism Redis is? Their advantages and disadvantages?
- Redis common performance problems and solutions What?
- Redis expired key deletion policy?
- Redis recovery strategy (phase-out strategy)?
- Why Redis need to put all the data into memory?
- Redis synchronization mechanism to understand it?
- Pipeline What are the benefits, why use Pipeline?
- What ever used Redis cluster, the cluster is the principle?
- Redis clustering solutions under what circumstances would cause the entire cluster is unavailable?
- Redis supports Java client what are? Official recommended to use which?
- Jedis Redisson contrast with what advantages and disadvantages?
- How Redis set a password and verify password?
- Talk about the concept Redis hash slot?
- Redis cluster master is how to copy from a model?
- Redis cluster will write to lose it? why?
- How to between Redis cluster is replicated?
- The maximum number of cluster nodes Redis is how much?
- How to select a database Redis cluster?
- How to test the connectivity of Redis?
- How to understand Redis affairs?
- Redis transaction-related commands and which of?
- Redis key expiration time and permanent, respectively, how to set?
- How do Redis memory optimization?
- How Redis recovery process work?
- What are ways to reduce memory usage Redis it?
- Redis memory runs out what will happen?
- Redis instance of a maximum number of keys can be stored? List, Set, Sorted Set how many elements can be stored up to them?
- There 2000w MySQL data, Redis data store only 20w, how to ensure that the data is hot data in Redis?
- What Redis most appropriate scene?
- If there are 100 million Redis key, which has a key 10w begins with a fixed known prefix, if all of them to find out?
- If a large number of key needs to be set at the same time has expired, the general needs attention?
- Used Redis what to do asynchronous queue, how do you use?
- Used Redis distributed lock it, which is what's going on?
- How to prevent caching penetrate the avalanche?
Mybatis
-
What is the difference in mybatis # {} and {} $ is?
-
There are several ways mybatis page?
-
RowBounds are all one-time query results? why?
-
What is the difference mybatis logical page and physical page is?
-
mybatis support lazy loading? What is the principle of lazy loading?
-
Mybatis talk about the cache and secondary cache?
-
Mybatis and hibernate difference of what?
-
What actuator (Executor) mybatis there?
-
What The principle mybatis pagination plug-in is?
-
mybatis how to write a custom plug-in?
Other technologies
Hystrix
the Sentinel
availability service middleware
the Zookeeper / Curator
the Nginx
Haproxy
the LVS
Haproxy
database stores schedule &
Sharding the JDBC-
ElasticJob
scheduling related internet: DAG, airflow and other
search relevance
ELK, database accelerator, the master search (algorithm)
Logback, Slf4j2
Solr & Lucene