You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pubsub implementation which includes switching writing over to use `bufio.Writer` and reading over to use `bufio.Reader`. It became too cumbersome to effectively manipulate the byte buffer, especially in the pubsub scenario. Some of these changes are more first versions and we're not seeing amazing performance numbers for pubsub right now (but zero allocs!). I have often opted for safety rather than speed with the use of unbuffered channels in many cases.
There are still some issues, such as that `.String()` `.Bytes()` and the `Scanner` implementation for `Result` doesn't support reading longer replies than buffer size yet. I will file that as a separate issue. You can use `io.Writer` still passed in to `Result` to read out larger values.
It addresses #3 and #14
https://redis.io/topics/pubsub
The text was updated successfully, but these errors were encountered: