Kafka vs RabitMQKafka: distributed streaming platform RabbitMQ: message broker Different Architecture Model: push & pull Storage: rabbitmq delete after ack, kafka stored on disk, and durable ordering: rabbitmq harder1 min read·blog.zackhu.comMar 24
D-L缩写 全称 中文 操作对象 常见命令 DDL Data Definition Language 数据定义语言 结构(表、索引等) CREATE, ALTER, DROP, TRUNCATE DML Data Manipulation Language 数据操作语言 数据(行记录) INSERT, UPDATE, DELETE DQL Data Query Language 数据查询语1 min read·blog.zackhu.comMar 24
TCP vs UDPTransmission control protocol vs User datagram protocol TCP: use three handshake to establish connection between sender and receiver, more reliable, has flow control, has ordering, and guarantee data1 min read·blog.zackhu.comMar 15
grep-w: match whole word -i: ignore case -v: match doesn't contain -n: show line number -o: only show part that exactly matches -A n: n lines after the occurrence -B n: n lines before the occurrence -C n:1 min read·blog.zackhu.comMar 12
cat - less - morecat loads the whole file, fit well with reading small config file less is suggested for reading log, large file, less is more g - go to top G - go to bottom /keyword - search for keyword b - go backwa1 min read·blog.zackhu.comMar 12