Commit Graph

20 Commits

Author SHA1 Message Date
e2a60c9427 Rename to match actual subcommand 2026-01-06 23:11:48 -05:00
4896928352 Major restructuring
This makes things much easier to use as a library
2026-01-06 21:59:41 -05:00
b87412ee66 Restructuring
Add a bunch of tests for the client
2026-01-06 20:43:49 -05:00
80d14f7303 Display help when there is no subcommand 2026-01-05 13:47:27 -05:00
fbc137e2b3 Kill dead code and use higher buffer 2026-01-03 06:02:47 +00:00
bd9829f684 Organize things
Making it easier to use the server as a library
2026-01-03 05:33:56 +00:00
cd5281030e 2026-01-02 18:10:25 +00:00
45bd63dbe1 Actually fast again???
way faster than before even??

coder@08714a4174bb:~$ nats bench pub foo -s localhost:4223
05:12:23 Starting Core NATS publisher benchmark [clients=1, msg-size=128 B, msgs=100,000, multi-subject=false, multi-subject-max=100,000, sleep=0s, subject=foo]
05:12:23 [1] Starting Core NATS publisher, publishing 100,000 messages
Finished      0s [====================================================================================] 100%

NATS Core NATS publisher stats: 574,666 msgs/sec ~ 70 MiB/sec ~ 1.74us

So cool.

src/server/client.zig JJ: M src/server/main.zig JJ: JJ: Lines starting with "JJ:" (like this one) will be 
removed.
2026-01-01 05:22:03 +00:00
b447883d10 Reorganized things 2026-01-01 05:22:02 +00:00
aceb671ddc 2025-12-02 19:53:03 -05:00
41f4ee721b Switch from clap to yazap
This is compatible with the latest 0.16.0 nightly build.
It is also a bit less magic than clap.
2025-11-29 22:46:29 -05:00
bd9ed88e5c 2025-11-29 18:30:39 -05:00
c6dfcc541d Can handle PUB 2025-11-25 16:33:31 -05:00
dbf189adc0 2025-11-21 13:12:02 -05:00
51008cd7e1 2025-11-19 08:44:40 -05:00
d6d177aede 2025-11-18 13:25:01 -05:00
c1c1fc51d6 Trying to pump data from nats client to stdout 2025-11-18 13:25:01 -05:00
6e8d016f2f Serve 5 clients before quitting 2025-11-18 13:25:01 -05:00
6cfaba958e Print some basic server info to stderr 2025-11-18 13:25:01 -05:00
69dfe44a96 Initial commit 2025-11-18 13:23:08 -05:00