Tencent's transactional development intern cools down

Preface

In fact, I voted for NLP, but I was picked up by the back end and I am very grateful.



Interview process

The interviewer is very nice, speaks very politely, and is more enthusiastic.
It's a pity that I'm still too dished, and I can't answer many of the questions I asked.

1. Introduction

First of all, he asked me to introduce myself, here is a comment. I used to think that Tencent interviews should be in English...
and then introduce the project.

2. Project Introduction

He asked me about the division of labor in the project, and the structure of the project, whether it is divided by function.
Asked about the construction of my table.

Asked about frequently queried tables, what solutions are there.
I answered load balancing. Use redis to first record which table is stored in, and then visit redis before each lookup.
Then he asked me about the implementation mechanism of redis... (scared, I only know that redis is a key-value, which belongs to an in-memory database)

3. Database

Database transaction? ACID, for business example.
I asked about the rollback implementation process, and then A remits 500 yuan to B. Can I send B-500 first and then A +500?
Do you know what a database index is?
What algorithm is used to store the password in the database? "MD5", why use MD5?
(It is said that md5 and sha1 are not very safe, sha256 is recommended)

4. Linux

Have you ever used Linux, do you know what the permission bit 630 means?

5. Computer Network

The difference between TCP and UDP, UDP business scenarios, how many handshake TCP wave?
Can you wave three times? Can the second wave and the third wave be combined? Why?

6. Rhetorical question

Ask the interviewer questions.



to sum up

In short, you can find some shortcomings in your conversation with the interviewer, so try your best. Come on, everybody…

Guess you like

Origin blog.csdn.net/weixin_43850253/article/details/115190581