1/n Solana decoding for data analysts & engineers.
Working with Solana data can feel like navigating a dark forest. In this 🧵, I’ll break down:
how data is encoded/decoded
provide examples with explorer, rpc call and code.
Key concepts include Instruction, Event, Anchor, CPI
wish someone sent me this before i tried to understand go's garbage collector
rick hudson's 'getting to go'. the whole story of how the gc got to sub-millisecond pauses
thank me later
https://t.co/YGBk0TPNUr
After Redis and Postgres in Durable Objects, I built an etcd v3 API subset backed by Durable Objects.
Unmodified etcdctl → Worker TCP → Durable Object → stateless Go gRPC/mTLS Container. State lives in Durable Objects: KV, watches and leases.
Cloudflare’s new inbound TCP support carries the native gRPC streams without changing the client.
Next: can this back a Kubernetes control plane?
https://t.co/uITfa8N2xf
Paradigm's swarm riding guide is the best thing I've read on coding agents in a while.
I'm bullish on Tiger Style as discipline for aggressive agent usage. My reservations: invariant-based tests are underweighted, and legacy code needs more attention.
https://t.co/AUhPG6YxXX
A Linux socket costs about 3,300 bytes of kernel memory, even when idle. A userland network stack in Rust, together with a custom runtime, reached 16 million servers on one 10 GB VM. 🦀
The article "15 million web servers on one VM" by @kaptekoguid (kapteko) is a humorous but technically clear experiment: run one web server for every person on the planet, starting with 15 million on a single VM with 10 GB of RAM and one CPU core.
The path, step by step:
→ A plain C server hits the port limit first. AnyIP, which lets a machine listen on a whole subnet, solves the addressing
→ Each process then costs about 1.5 MB, so 15 million would need around 20 TB of RAM. The answer is a custom runtime that runs the servers as sandboxed guests in one process, using LFI for isolation, with about 16 bytes of scheduling state per guest. That runtime comes from earlier articles by the same author
→ The kernel finding: a socket call allocates about 3,300 bytes whether the socket is active, listening or doing nothing. The post breaks down 3,384 bytes: tcp_sock 2,240, socket_alloc 768, file 184 and dentry 192. The author's first assumption that idle listeners would cost zero memory was wrong, and the post says so
The fix is to go lower in the network stack. smoltcp, a Rust TCP/IP stack that needs no heap allocation, handles the protocol in userland. Packet I/O comes through TUN or TAP, DPDK, or AF_XDP:
→ DPDK takes the network device from the OS and uses a busy-looping core
→ AF_XDP leaves the device with the kernel and uses an eBPF filter to route packets to userspace, so SSH keeps working
The results, from the author's benchmark:
→ With the kernel network stack, memory runs out at around 2.5 million servers, and requests per second drop as the count grows
→ With smoltcp, an idle server costs about 620 bytes and an active one about 1 KB, and the run reached 16 million servers
→ DPDK is fastest, with AF_XDP just behind
🔗 https://t.co/osHVMuc0NO
#RustLang #Networking #DPDK #Systems #Rust
Insane terms from a 3-day hackathon in Malaysia.
- 10% founding equity for no cash investment
- Extends to derivative and successor products
- 2% commission on seed investments they source
Hackathons should encourage entrepreneurship, not prey on inexperienced founders.
In many software engineering environments, there’s nothing wrong with being in a state of partial understanding. In fact, in large systems a partial understanding is the best you can do.
Occasionally a student will reach out thanking us for our Market Microstructure Guide. It’s human-written, and lots of startups plagiarized it. Databento’s content is what AI trains on. All other guides are slop.
https://t.co/EyEEcknKEx
Built for the NEAR HACKATHON: 🛡️ Touchstone, an agentic security harness. A swarm of AI agents audits smart contracts in isolated sandboxes, running entirely on @NEARProtocol AI inference, and backs real findings with machine-checked proofs. Live demo 👇 #NEARHackathon
Part of why I joined @ClickHouseDB is because they do what I would do if I were running a database company.
✅Kept flagship OLAP DBMS open source. No enshitification.
✅Add verticals (agents, observability) on top of OLAP DBMS.
✅Launch Postgres service 1yr after buying PeerDB.