FAQ
Hi,

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
Golang world?

Thanks,
Linbo

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedAug 22, '14 at 3:57a
activeAug 22, '14 at 7:59a
posts3
users2
websitegolang.org

2 users in discussion

Linbo liao: 2 posts Rui Ueyama: 1 post

People

Translate

site design / logo © 2023 Grokbase