cpp

1.空类的大小是多少?为什么是1? 2.手写消费者生产者模式的伪代码 一个数组中只有一个数出现了一次,其他数都出现了两次;找出这个数 位运算 异或 若

DevOps

docker镜像和容器有什么区别?为什么要用docker?Linux namespace讲一下?Linux cgroup的层级结构讲一下?doc

django

Web 什么wsgi Django Django和flask区别 简述Django的orm ORM的查询与数据库是怎么交互的,我说了操作,他问我底层是怎么实现的呢 D

Front end

前端上传文件到后端 21 Ajax AJAX,Asynchronous JavaScript and XML(异步的 JavaScript 和 XML), 是与在不重新加载整个页面的情况下,与服务器交换数据并更新部分网页的技术。

General Interview Question

1. What past accomplishments are you most proud of? 在大型团队会议中,同样几个人会一直说话,而其他人则保持沉默。我向经理建议,我们在会议召开前48小时给团队一个提示,并邀请他

golang

summary Collapsed text Collapsed text Collapsed text Collapsed text summary details 讲一讲go协程和线程。go的并发模型、goroutine。 Go的内存模型、垃圾回收。 反射是什么 go和python的协程

java

介绍 volatile 关键字 3.HashMap 添加元素 4.介绍 ConcurrentHashMap java八种基本数据类型 java垃圾回收机制 sorted set应用场景 HashMap底层如何实现 给了三个类计算类的占用

mysql

MySQL Architecture MySQL’s Logical Architecture 存储引擎在MySQL这个系统架构的哪个位置 Concurrency Control 知道或者用过mysql里的锁没有 Transactions mysql事务 Dirty reads(脏读), Nonrepeatable

Network Programming

RPC 如何测试rpc服务的并发量。Thrift有什么优缺点。 Network 命令的方式抓包 网络编程 156.TCP 和 UDP 的区别? 157.简要介绍三次握手和四次挥手 158.什么

sense of programming

递归的优缺点 栈溢出什么表现 用正则切分一个句子 说一说自己熟悉的设计模式 mq,设计模式 有没有做过并发的东西 为什么要用kafka?kafka中的b

System Programming

阻塞和非阻塞的区别 多路复用,事件循环select/poll/epoll,各有什么优势 I/O模型 消息队列 进程/线程池 异步/同步模型 串行化和持久

system-design

分布式系统 什么是CAP定理? Consistency一致性:每次读取都会收到最近的写入或错误。 Availability可用性:每个请求都会收到

Tools

vim makefile gdb 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 break function break lino break file.c:lino beak *0x844823 info beakpointers clear location clear delete number delete watch expression rwatch expression awatch expression info watch next nexti step stepi stepi 4 advance location continue jump location finish CTRL-C Enter

unix

epoll和select?epoll 边缘触发。 进程间通信 Liunx多路复用机制 epoll特点、和select区别、底层实现 水平触发、边沿触发

web applications

平时用nginx干什么 rpc之间client怎么确定远程调用的地址(配置文件) 如果server单实例如果宕机怎么处理(多实例) 添加减少实例调

数据库分库分表

https://juejin.cn/post/6844903992909103117 https://cloud.tencent.com/developer/article/1430676 https://www.cnblogs.com/crossoverJie/p/11318984.html https://blog.csdn.net/liuhuiteng/article/details/107807204 https://blog.csdn.net/lixiaoxiong55/article/details/89978485 MySQL单表数据量在500万左右考虑分表

React

React Preparing to React Installation Instructions Node.js/NPM 1 2 3 sudo pacman -S nodejs node -v npm -v Yarn 1 2 sudo pacman -S yarn yarn -v Create React App npx is a package runner tool that comes with npm 5.2+. 1 2 npx create-react-app create-react-app -v Editors/IDEs Visual Studio Code 1 sudo pacman -S code Installing the Code Bundle The complete example code is available at https://github.com/PacktWorkshops/The-React-Workshop Getting Started with React Introduction

Bash by example

Bash by example xargs -I replace-str -i default is {} as replace-str 1 2 3 4 $ echo argument1 argument2 argument3 | xargs -I % sh -c 'echo %' $ echo argument1 argument2 argument3 | xargs -I # sh -c 'echo #' $ echo argument1 argument2 argument3 | xargs -i sh -c 'echo {}' argument1 argument2 argument3 -n max-args 1 2 3 4 $ echo argument1 argument2 argument3 | xargs -n 1 argument1 argument2 argument3 for loop in

Backend Developer Skills

Skills Fluent in the backend programming language. Preferably in Java and Python. Good knowledge of data structures and algorithms - if methods you write are in traffic request path, you know how to avoid unacceptable time complexity Thorough knowledge of REST Framework like Spring Boot (or Lagom), REST Maturity Levels, good and bad practices of REST Where to use non-REST frameworks like gRPC over Thrift or Protobuf Nuances of TCP, UDP, HTTP, HTTP2, SSL