当前位置:网站首页>Tencent cloud has two sides in an hour, which is almost as terrible as one side..
Tencent cloud has two sides in an hour, which is almost as terrible as one side..
2022-04-23 20:59:00 【Descosmos】
today 11:40 Wait until the interview , Start the interview after a brief self introduction
problem
- Interviewer gives 10 Base to zero 2 Binary title , Online hand tear code
- The representation of a negative number in a computer , How to convert ?( Complement code , Counter code, etc )
- select and epoll difference ?( File descriptor limit , Data structure adopted )
- select and epoll For the difference between user state and kernel state consumption ?(select Based on user status ,epoll Red black tree is based on kernel state, etc )
- Introduce how to judge a socket Can be read ?( A face of meng , Said to receive the data , received FIN, received SYN etc. , The interviewer asked me SYN Will make socket Readable ? Muddled )
- epoll How to realize multiplexing ?( from epoll_create, epoll_ctl, epoll_wait The three functions speak of , And detailed description, including red black tree event registration , Add active events to the two-way linked list )
- epoll Why use red and black trees and list?( contrast select, Using red black tree can make the time complexity reach log n, If the linked list is used, the operation of adding and deleting is more convenient , No number limit, etc )
- epoll There are two ways to trigger ?(ET,LT, The application scenarios of the two are described in detail )
- Hash table and list What's the difference? ?( combination STL For both implementations )
- The red and black trees are STL What are the applications in ?(set, map, The data structure of red black tree is described in detail )
- STL How do I implement a hash table ?( From hash method , To hash conflict resolution , To hash table expansion , And why prime numbers are used )
project
To put it simply, I made a website , And said it used mysql etc.
- Look at the testing tools used in your project , How do you test ?( From memory leak tool valgrind, To tcpdump, tcpcopy, wireshark Speaking of )
- If one TCP There's a problem with the connection , How do you rule out ?( from nginx and apache Use experience to talk about , Check the configuration file , Check the network condition , Check the network card ,DNS, System use, etc )
- What tools do you have to check ?( Memory aspect free, vmstat, process top, ps, The Internet netstat, ip Wait for the order )
- Database master-slave replication ?( Why use master-slave replication , Separation of reading and writing )
- How does the master-slave assistant ensure the execution of events ?( Just to put it briefly mysql Support for events , And atomicity , Isolation and other four characteristics , Again bin-log Support it )
- How to include four operations in an event , From the server to the 3 Operations failed , What will happen ?( To be honest, it's not very clear , But combine redis Support for transactions is vague )
- redis and mysql How to understand cache consistency ?( Give me an example , Why would there be redis Make the middle layer , And why we should change the database first and then the data in the cache )
- redis How to locate data ?( No answer .... Really confused )
- Where is your house? ?
summary
None of the interviews took long , Only 1 Hours 10 minute , After the interview, the interviewer said he would evaluate the interview results , Give me an answer as soon as possible .
Wait, wait ~ I hope I can live ~
版权声明
本文为[Descosmos]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/111/202204210545298049.html
边栏推荐
- Win 11K in 100 days, super complete learning guide for job transfer test
- Crisis is opportunity. Why will the efficiency of telecommuting improve?
- ubutnu20安裝CenterNet
- Unity ECS dots notes
- Another data analysis artifact: Polaris is really powerful
- Is qiniu school useful and is the recommended securities account safe
- MySQL进阶之表的增删改查
- MySQL advanced common functions
- Solve importerror: cannot import name 'imread' from 'SciPy misc‘
- C knowledge
猜你喜欢

MySQL基础之写表(创建表)

CUDA, NVIDIA driver, cudnn download address and version correspondence

Common commands of MySQL in Linux

Linux中,MySQL的常用命令

亚马逊和Epic将入驻,微软应用商城向第三方开放

DeNO 1.13.2 release

Xiaomi mobile phone has abandoned the "Mi" brand all over the world and switched to the full name brand of "Xiaomi"

Matlab: psychtoolbox installation

go interface

Lunch on the 23rd day at home
随机推荐
Communication between RING3 and ring0
Amazon and epic will be settled, and the Microsoft application mall will be opened to third parties
GSI-ECM工程建设管理数字化平台
MySQL进阶之常用函数
Introduction to intrusion detection data set
Deep analysis of C language pointer (Part I)
常用60类图表使用场景、制作工具推荐
[SDU chart team - core] enumeration of SVG attribute class design
What about laptop Caton? Teach you to reinstall the system with one click to "revive" the computer
Another data analysis artifact: Polaris is really powerful
Matlab: psychtoolbox installation
Pikachuxss how to get cookie shooting range, always fail to return to the home page
如何发挥测试策略的指导性作用
Explore ASP Net core read request The correct way of body
学会打字后的思考
Prim、Kruskal
中创存储|想要一个好用的分布式存储云盘,到底该怎么选
go reflect
DeNO 1.13.2 release
Psychological formula for converting RGB to gray value