Repository navigation
zray: a small REALITY client for older routers, written in Zig #7534
yunnysunny
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I built zray to run VLESS + REALITY with XTLS Vision on my Xiaomi AC2100. It’s an independent client written in Zig. I wanted something that would fit on an older MIPS router with limited RAM, so it uses a single event loop and allocates a fixed number of connection slots at startup.
On my AC2100 (MT7621, ImmortalWrt 23.05), the static binary was 880 KB, and the process used about 2.2 MB RSS with 64 connection slots. In a 50 MB download test with roughly 110 ms RTT to the REALITY server, I saw:
These are results from one setup, not a side-by-side benchmark against Xray-core.
If you try zray on another MT7621 or low-end ARM router, I’d like to hear how it behaves. The router model, firmware version, and zray version would help, especially if you hit a compatibility issue with an Xray-core server.
All reactions