58 One side hangs for 40 minutes

To introduce myself

Why did you leave? Why are you leaving now? Http1.1 http1.0 http2.0 difference redis long too long how to optimize? Which API, how much more data does it become inefficient? What optimizations have MySQL made? Overwrite index? What is the difference between the two parameters of limit? Arraylist linkedList The difference between local threads and daemon threads, thread.setdemon (); Thread state Thread pool parameters? Why is new bad for thread pools? Project: How does the foreground adjust the background interface? RPC? How big is the main service? Current salary Expected salary? encourage

Bytedance is over in 78 minutes

To introduce myself

Have you learned nothing technically about your understanding of the whole stack and why you quit at this time? Which piece is better cooked? Synchronized? Mute Lock how to achieve Java read what source? Thread pool benefits? What happens to multiple threads? Is it necessary to save on the cost of creating thousands of threads in milliseconds when pressing? Memory overhead, time overhead? Thread pool parameters, execute execution flow, work? No jobs to delete? Sleep? How is IDL configured? After Max thread is full? What maps are there? What other maps? What JDK do you use? Let’s talk about the HashMap data structure. How to resolve the PUT value hash conflict? How many list tree transitions? Why 8? Why 6? Why are arrays quadratic? How did it expand? Process for expanding Rehash? Hash process of concurrentHashMap? How is concurrentHashMap thread safe? What does CAS mean and how is it implemented? How is Unsafe implemented? When does concurrentHashMap use CAS? How do I insert it when both threads are in concurrency? During initialization, both threads detect that they need to be initialized, and what do they do? I: I should use dynamic programming, but I don’t know how to start. Interviewer: How to write the transfer equation? I: sorry, forgot) how study of? Which blog do you read most? Web site? Are there any good books? What about learning and reading, both technical and non-technical? What do you want to ask me? What should I improve in your department? When will the decision be made?

Bytedance has no algorithm problems for 30 minutes

“Forget the recording. That’s all I remember.”

To introduce myself

Why did you leave? Do you think you have something to offer? What are the main tasks you do? The most complex business. What is the process? What are the optimizations for 100 times concurrency? How is the current limiting done? Token bucket algorithm implementation? What other ways are there to limit traffic? How to optimize the interface from 450ms to 360ms? Did Tomcat just modify the parameters? Redis cluster deployment? What’s the difference between a master and a sentinel? What else are the caching methods? Redis data structure, string base implementation, jump table complexity? Has redis ever slowed down? What is the form behind nginx? What other technologies does the gateway layer know about? To their own positioning, technology development? What people say about you? What do you want to ask me? Speak fluently and introduce yourself for 40 minutes. Project 20 minutes.

How to solve the single point of failure? Do you add nodes automatically or manually? How w is the system load capacity measured? HTTP 1.0 1.1 Differences? Parallelism difference? How to optimize the concurrency reached more than 400? Cache penetration? How do other requests know that the value is in the cache? How is the lock made? How do distributed locks work? What about failed requests to pass or delayed massive request blocking? What about the logging module? Unified log recording? How is availability guaranteed? How is the alarm realized? Is it just a health check? Are calls between services involved? Distributed Link Tracing If a service invocation fails, how do I troubleshoot the problem? HTTPS target source is static file, press Enter for the entire request link? What is the difference between HTTP static files and interface requests? Do you know anything about CDN? Is HTTPS encryption symmetric or asymmetric? What do you do about SQL tuning? Index data structure? What are the transactions of MYSQL? Which ones are commonly used? Golang: Golang: golang: Golang: Golang: Golang: Golang You want to ask me? The following three rounds of interviews will be conducted under the 14th line. “Rejected”

Baidu side 50min over

To introduce myself

How are key SQL optimizations optimized? Why is the performance bad? Do you have to have a primary key? If the data index density is poor, your optimization doesn’t mean much, does it? What kinds of indexes does MySQL have? What is the difference between a clustered index and a secondary index? Index data structure? Why use B+ trees? MVCC? How did the version number change? How to determine the version of the updated data? How does unreal read solve? How does an SQL index go? What would MYSQL choose? MySQL > insert into index (s); What kinds of logs does MySQL have? What are redo logs mainly used for? Is it 100% off after submission? MySQL buff memory for redo log How do you use redis? Why redis? Why is Redis fast? How many data types are redis? The underlying implementation of Redis String? Have distributed locks been used? Tell me how it works. Which command was used? Redis hash table expansion mechanism Class loading process? Common class loaders? Call order? Why parents delegate? How to solve the problem of mq repeated consumption and message loss? What kinds of operations does the redis list have? Characteristics of Bloom filter? Cache penetration? Is the static keyword used? What data structures are used? Kafka, Zookeeper kafka, ZooKeeper Ever used ThreadLocal? What’s the problem if you don’t remove it? Dictation algorithm: word printing. What’s the problem?

Baidu two 68min over

To introduce myself

Which project takes longer, let’s talk about both project stacks, introduce in detail what does *** project do, some interfaces to query dimensions? If you were to develop some interfaces now, how would you do interface isolation? Number of tables? Table data amount? SQL optimization introduction to do what? How do I replace it? How is the current limiting done? Explain a little bit about the other platform. The way it was introduced. Redis addresses client session sharing information. What problem does Redis distributed lock solve? Why does Redis support distributed locking? What are the ways of use? Is MQ used in business scenarios? What are the advantages of MQ itself? When can you use this technique? What is the core intrinsic cause? What’s the difference? Zk, Kafka what about your bus? How do Spring loop dependencies work? How would you write stack overflow? Why are so many elements set to collections not GC? What about Java locks? What is your understanding of the source code? I’m introducing the idea of adaptation in the thread pool execute submit so what do you want to ask me? 10min

Baidu 3 surface 36min

To introduce myself

Why do you blog? Why did you leave? Why resign naked? What are the chances to see it again? Long-term planning? Your greatest strength? How do you learn a skill? How do you achieve a short-term goal? Anything else you want to ask me? “The process is running out of friends.” After half an hour of three interviews, I sent an evaluation, and after an hour of three interviews, I sent an email to prepare materials.

Sohu 1 64min over

To introduce myself

Are there any other offers? TCP three handshakes, four waves why four? Http1.0 1.1 2.0? Redis distributed lock implementation? What is redis data structure? What is zset data structure? == equals difference if hashCode equals equals? Basic implementation mode of hashMap tableSizeFor, hash? 1.8 Compared with 1.7 why did head plug change to Tail plug? What are thread-safe maps? Why concurrenthashMap? What is the underlying implementation? When does it become a red-black tree? Double hash table? InitTable, resize, tryPresize, Thread.yield, ForwardingNode. Volatile, MESI? What is your understanding of Spring IOC and AOP? What does Spring injection know? Are beans thread-safe? Cache penetration, avalanche, breakdown tell me what you think. A solution to the avalanche problem? Actual scenario: Active page. Some users do not cache the data on this page, and some users do. Only the users who participate in the activity have the cache, and how to ensure that the user’s request is returned normally. Innodb, memory difference? Clustering index, non-clustering index difference? B tree, B+ tree, right? What other indexes does InnoDB have? Back table operation through the main table again? Under what circumstances? What are the four transaction isolation levels and their respective issues? Do you use a lot of Linux commands? Have you ever used AWK? How do you tune SQl? What does the Java garbage collector know? Which one to use in high concurrency? Algorithm: binary tree order traversal, recursive non-recursive implementation write a single example mode what to ask me? What needs to improve? The framework only stays at the use level. – 14,15,16 What does the department do? Follow-up interview process? – more than 1 years of experience in two rounds of technical aspects.

“Baidu offer down, no plan to meet”