Better HN
topnewbestaskshowjobs
Log inSign up

kingluo

62 karma · joined Aug 31, 2022 (4y ago) · 33 submissions

Submissions

1.

Coco: A simple stackless, single-threaded, and header-only C++20 coroutine lib(luajit.io ↗)

3 points · by kingluo · 11mo ago · discuss

2.

Analyze Lua Memory Leak with Systemtap(luajit.io ↗)

1 points · by kingluo · 4y ago · discuss

comment 4y ago · link · parent

Yes, if there is a call before the instruction, you should check if it changes the register you want. Particular case is particular analysis.

comment 4y ago · link · parent

Yes, it does so in our company. The etcd is somehow heavyweight to be the configuration center. And event more, the postgresql could be deployed in de-centralized cluster just like what etcd does, via some tools (e.g. raft-based failover agents) and configurations (I helped my customers to achieve this goal, but the solution is not open source yet).

comment 4y ago · link · parent

Yes, the DP (data plane) in the demo acts as reverse proxy, it routes the downstream http request to the upstream according to the configuration. The CP (control plane) just translates the json configuration to sql and get it executed in the postgresql.

6.

Implement Etcd Watch in PostgreSQL(github.com ↗)

3 points · by kingluo · 4y ago · 4 comments

7.

How to read variables optimized out in GDB?(luajit.io ↗)

93 points · by kingluo · 4y ago · 20 comments

12