ZHZack Huinblog.zackhu.com·Mar 24 · 1 min readKafka 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 harder00
ZHZack Huinblog.zackhu.com·Mar 24 · 1 min readD-L缩写 全称 中文 操作对象 常见命令 DDL Data Definition Language 数据定义语言 结构(表、索引等) CREATE, ALTER, DROP, TRUNCATE DML Data Manipulation Language 数据操作语言 数据(行记录) INSERT, UPDATE, DELETE DQL Data Query Language 数据查询语00
ZHZack Huinblog.zackhu.com·Mar 15 · 1 min readTCP 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 data 00
ZHZack Huinblog.zackhu.com·Mar 12 · 1 min readgrep-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:00
ZHZack Huinblog.zackhu.com·Mar 12 · 1 min readcat - 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 backwa00