当前位置:网站首页>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
边栏推荐
- ROS学习笔记-----ROS的使用教程
- Google 尝试在 Chrome 中使用 Rust
- ros功能包内自定义消息引用失败
- Some grounded words
- Alibaba cloud responded to the disclosure of user registration information
- What about laptop Caton? Teach you to reinstall the system with one click to "revive" the computer
- Win 11K in 100 days, super complete learning guide for job transfer test
- IOT design and development
- 41. 缺失的第一个正数
- 2.整理华子面经--2
猜你喜欢
居家第二十三天的午饭
Identifier CV is not defined in opencv4_ CAP_ PROP_ FPS; CV_ CAP_ PROP_ FRAME_ COUNT; CV_ CAP_ PROP_ POS_ Frames problem
MySQL basic collection
Another data analysis artifact: Polaris is really powerful
Common problems in deploying projects with laravel and composer for PHP
Unity Odin ProgressBar add value column
电脑越用越慢怎么办?文件误删除恢复方法
3-5通过XSS获取cookie以及XSS后台管理系统的使用
On IRP from the perspective of source code
Express③(使用Express编写接口、跨域有关问题)
随机推荐
Question brushing plan - depth first search DFS (I)
Write table of MySQL Foundation (create table)
Question brushing plan -- backtracking method (I)
Sequential state
Graph traversal - BFS, DFS
Ubuntu 20 installing centernet
Communication between RING3 and ring0
Matlab: psychtoolbox installation
Reference of custom message in ROS function pack failed
Google tries to use rust in Chrome
Some thoughts on super in pytorch, combined with code
Unity asset import settings
Go限制深度遍历目录下文件
Summary and effect analysis of methods for calculating binocular parallax
[matlab 2016 use mex command to find editor visual studio 2019]
Leetcode-279-complete square number
Tensorflow1. X and 2 How does x read those parameters saved in CKPT
unity 功能扩展
IOT 设计与开发
Chrome 94 引入具有争议的 Idle Detection API,苹果和Mozilla反对