ZHZack Huinblog.zackhu.com00Kafka vs RabitMQMar 24 · 1 min read · Kafka: distributed streaming platform RabbitMQ: message broker Different Architecture Model: push & pull Storage: rabbitmq delete after ack, kafka stored on disk, and durable ordering: rabbitmq harderJoin discussion
ZHZack Huinblog.zackhu.com00D-LMar 24 · 1 min read · 缩写 全称 中文 操作对象 常见命令 DDL Data Definition Language 数据定义语言 结构(表、索引等) CREATE, ALTER, DROP, TRUNCATE DML Data Manipulation Language 数据操作语言 数据(行记录) INSERT, UPDATE, DELETE DQL Data Query Language 数据查询语Join discussion
ZHZack Huinblog.zackhu.com00TCP vs UDPMar 15 · 1 min read · Transmission 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 Join discussion
ZHZack Huinblog.zackhu.com00grepMar 12 · 1 min read · -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:Join discussion
ZHZack Huinblog.zackhu.com00cat - less - moreMar 12 · 1 min read · cat 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 backwaJoin discussion