My project use RabbitMQ and Redis, for each MQ package start a new
goroutine to store them in Redis (won't block following code). It uses vitess
pool <https://github.com/youtube/vitess/tree/master/go/pools> to manager
Redis connection (if each goroution start a new Redis connection, too many
Redis client for server).
When Redis server do dgsave(or other thing cause operation slowly), write
data to redis is slow, more and more goroutine generate, then program RES
memory(top command) will increase.
For this scenario, consumer data slower than producer, any solution in
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/d/optout.