当前位置:网站首页>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
边栏推荐
- Ubuntu 20 installing centernet
- 韩国或将禁止苹果和谷歌向开发者抽佣 创全球首例
- Express③(使用Express编写接口、跨域有关问题)
- Go limit depth traversal of files in directory
- The more you use the computer, the slower it will be? Recovery method of file accidental deletion
- Common problems in deploying projects with laravel and composer for PHP
- 亚马逊和Epic将入驻,微软应用商城向第三方开放
- Tensorflow and pytorch middle note feature map size adjustment to achieve up sampling
- 【SDU Chart Team - Core】SVG属性类设计之枚举
- Amazon and epic will be settled, and the Microsoft application mall will be opened to third parties
猜你喜欢

Cmake project under vs2019: calculating binocular parallax using elas method

Gsi-ecm digital platform for engineering construction management

Another data analysis artifact: Polaris is really powerful

小米手机全球已舍弃“MI”品牌,全面改用“xiaomi”全称品牌

Is rust more suitable for less experienced programmers?

The more you use the computer, the slower it will be? Recovery method of file accidental deletion

Google 尝试在 Chrome 中使用 Rust

MySQL基础合集

MySQL基础之写表(创建表)

Matlab: psychtoolbox installation
随机推荐
Assertionerror: invalid device ID and runtimeerror: CUDA error: invalid device ordinal
Sequential state
UKFslam
Minecraft 1.12.2 module development (43) custom shield
阿里云回应用户注册信息泄露事件
Unity ECS dots notes
Go limit depth traversal of files in directory
Linux中,MySQL的常用命令
The more you use the computer, the slower it will be? Recovery method of file accidental deletion
Problem brushing plan -- dynamic programming (IV)
Xiaomi mobile phone has abandoned the "Mi" brand all over the world and switched to the full name brand of "Xiaomi"
On IRP from the perspective of source code
Is qiniu school useful and is the recommended securities account safe
Psychological formula for converting RGB to gray value
软件测试要怎么学?自学还是培训看完这篇文章你就懂了
Keywords static, extern + global and local variables
2021-09-02 unity project uses rider to build hot change project failure record of ilruntime
Ubutnu20 installer centernet
笔记本电脑卡顿怎么办?教你一键重装系统让电脑“复活”
The iswow64process function determines the number of program bits