Alex Efros

Results 166 comments of Alex Efros

Looks like this fix is incomplete - plugin Module::Starter::CSJEWELL is still broken (I'm trying to use it in default configuration): ``` Can't create Example-MBtiny/t: Is a directory at /usr/lib64/perl5/vendor_perl/5.20.1/Module/Starter/Simple.pm line...

SQL store (postgres) benchmarks shows (1.5-4 times) higher numbers than FILE store (but still much lower than in referenced issue). Changes in docker-compose.yml: ```yaml stan-postgres: image: "postgres:11.5" restart: always volumes:...

MEMORY: ``` $ stan-bench -s nats://127.0.0.1:14222 -c devenv -id bench -n 10000 -ms 1024 -np 1 -ns 1 -io bench Starting benchmark [msgs=10000, msgsize=1024, pubs=1, subs=1] NATS Streaming Pub/Sub stats:...

Not such a big difference: ``` $ nats-bench -s nats://127.0.0.1:14222 -n 10000000 -ms 1024 -np 1 -ns 1 bench Starting benchmark [msgs=10000000, msgsize=1024, pubs=1, subs=1] NATS Pub/Sub stats: 1,460,716 msgs/sec...

I'm using latest tagged release (did `go get github.com/nats-io/stan.go/examples/stan-bench` few hours ago). With `-a` numbers are much higher. MEMORY: ``` $ stan-bench -s nats://127.0.0.1:14222 -c devenv -id bench -n 1000000...

Local (I've started local only NATS Streaming, it's configured to use NATS in docker) shows similar numbers. FILE with `--file_sync=true`: ``` ~/download/nats-streaming-server-v0.16.2-linux-amd64 $ ./nats-streaming-server --cluster_id=devenv --nats_server=nats://localhost:14222 --store=FILE --dir=./stan --file_auto_sync=1ms --file_sync=true...

Maybe I'm missing something, but to me it looks like if I need reliability and keep order then I should look at results without `-a` and with `--file_sync=true` - which...

I've tried our most-likely-real-world configuration (1 sync publisher, 5 subscribers) using local with embedded NATS: ``` ~/download/nats-streaming-server-v0.16.2-linux-amd64 $ ./nats-streaming-server --cluster_id=devenv --store=FILE --dir=./stan --file_auto_sync=1ms --file_sync=true $ stan-bench -s nats://127.0.0.1:4222 -c devenv...

Can you please show stats with `-sync`? I've 3 servers with Ubuntu 18.04, which are supposed to have same hardware (in reality they're not, but they're very similar) and same...

I've also tried all 3 mentioned above servers with `-dir` on tmpfs with `-sync`, average values of pub msg/s are: 8800, 8700, 8400. Finally, we've some reasonable numbers! I've compared...