Skip to content

Mention ReadBufferEachConn and WriteBufferEachConn on README #885

@zhaozekunssss

Description

@zhaozekunssss

Hello,

I try to use the ping command regularly to check if the rueidis client is disconnected or reconnected, but I found that if there are a lot of redis servers, ping will cause the memory to keep rising. Through the go pprof tool, I found that bufio.NewWriteSize and bufio.NewReadSize occupy a lot of memory. What is the reason for this?

I know rueidis has already implemented an automatic detection method for reconnection internally, and if the ping command for periodic detection is incorrect, how should we know if redis client is disconnected for the application layer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions