In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
What are the interview questions in go language? in view of this question, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
Go
Talk about context.
Tell me what you know about net/http.
If you use gin, you usually use a method area such as bind to obtain parameters, so how do you know if the front end passes specific parameters, such as an index parameter, and how do you know that the front end does not actually pass?
Do you know anything about channel? Can you tell me a practical case in your work? Can it be achieved if you want to implement a non-fixed size channel without blocking?
Do you know the principle of GMP scheduling? Can you tell me something?
Talk about slices and arrays.
Mysql
Tell me what you know about the index.
Tell me how you optimize your work.
Do you use join much in your work? If you don't use join, how do you assemble data in go?
Network article
TCP three-way handshake, four waves (and explain why so many times are needed, or why this ensures stability)
Https/http2
Http protocol composition
Do you know the fasthttp framework?
Do you know which encryption methods can encrypt messages?
Message queuing (all kafka asked)
First, let's talk about the concepts of kafka that you know: broker, topic, partition, consumer group.
Why is the throughput of kafka higher than rabbitmq?
Redis
Tell me about the scene where you use redis.
You mentioned distributed locks. How do you implement them?
Do you know redis cluster and Sentinel mode, tell me?
High concurrency
Cache avalanche, cache breakdown, cache penetration and solutions
Why is there TIME_WAIT and CLOSE_WAIT? if there is a large number of TIME_WAIT, how to solve it (so-and-so game company)
Algorithm data structure
Tell me about the sorting algorithm you know.
Do you know the traversal of the tree in the middle order?
If you have a bunch of sticks of different lengths, now you have to group them into groups so that the sticks in each group are about the same length.
K8S+DOCKER
Have you ever taken a K8s? How was it built?
Tell me, do you operate with commands or in other ways? If it's an order, tell me about your usual orders.
What are the advantages of K8s?
The answers to the questions about the go language interview questions will be shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
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: 253
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.