Hello, I'm

z8n24

A Computer Engineer · Do Some Interesting Shit.

16 posts 28 tags writing since 2019

Latest posts

Archives →
#Go #http2 #https

如标题所说http2 的continuation frame 攻击 看文章的时候 https://m.cnbeta.com.tw/view/1426407.htm 看到的 关于HTTP2协议的 漏洞。 该漏洞被称为"HTTP/2 CONTINUATION Flood”,它利用了配置不当的HTTP/2 实现,这些实现未…

3 min read · 1394 words Read more
#Go #json #性能

首先说下问题吧,因为项目里面底层大量数据都是json 存储的,所以在程序里面就必须要用json序列化和反序列化。但是因为golang 里面的 标准库encoding/json cpu 占用很高(大量用到反射),所以寻找到了替代品 jsonitor (jsonitor 也用了反射,但是性能在我们的数据测试下 好了差不多一…

3 min read · 1042 words Read more
#php #symfony #design pattern

今天在处理公司的项目的时候,发现用到了这个,因为涉及要维护,只是大致知道这么做,但是背地里的原理还是比较尴尬,所以自己翻译一下官方文档,然后写一遍 加入自己的设计模式理解。感觉还不错。 原文点这儿

10 min read · 4687 words Read more
#web #Nginx

关于陶辉老师 极客时间里面的Nginx 100讲的汇中理解,梳理自己对Nginx 的理解 以及从中延伸出去的东西然后做一点自己的了解 ,从而深入的理解

20 min read · 9961 words Read more
#git

记录一些在工作中遇到的git 的小技巧 #查看 俩个tag 之间 提交多少commit 的 comments git log 0.1.23..0.1.26 --oneline --decorate #查看commit 有指定的 代码 修改 删除 行数 ( git log --grep='xxxx'

1 min read · 103 words Read more
#cpu #cache

CPU 缓存的学习: 基础的一点概念: CPU 一般三级缓存 (L1 ,L2, L3): L1: 缓存指令 和 数据缓存,L2,L3 不分这些。 L1, L2 是每个CPU 各自有各种的, L3 是所有CPU共享的内存。

3 min read · 1354 words Read more
#LeetCode #algorithm

做 LeetCode 的一些记录(持续更新…) 希望做公司业务的同时,能每天有一点时间,做做这种锻炼逻辑,数据结构的东西。 1. 字符串中最长的子字符串

5 min read · 2199 words Read more
#GFW #Wireshark #TCP

前因 页面功能大幅修改, guozhao 进行全站的404 检测, 发现有很大部分 url 无法连接,返回异常 Scrapy 快速的三次 retry 之后 give up 然后 接着就是一堆 url 都出现这个问题 499.

2 min read · 679 words Read more
#redis #cache

An introduction to Redis data types and abstractions Redis 的丰富的 data structrues: Binary-safe strings 二进制安全的字符串 list 列表 sorted by insertion Set 集合 unique &…

6 min read · 2642 words Read more