dataddo / pgq

Go queue implementation using postgres.
https://dataddo.com
Apache License 2.0
104 stars 8 forks source link

Publish some reproducible benchmark #10

Open prochac opened 10 months ago

prochac commented 10 months ago

We know, that it works. And it works just fine.

But the intuition says that it must be slow. But how slow? In the age of SSDs and gigs of memory. We need some numbers! Ideally, compare to RabbitMQ (with persistent messages) or Kafka (How to deploy this beast? :D )

kedlas commented 2 months ago

I will try to create some. Asic comparison to have at least something to share.

prochac commented 2 months ago

@kedlas I tried, but the Publish was very slow. Regardless of driver, or pgq or plain sql in Go. I suspect something in Go takes the time. I'm not sure if I tried the jack/pgx directly 🤔 but the same query to the same server from cli was much faster.