Go利器-Pool池化技术

May 10, 2022


TODO

  • sync.pool
  • redigo.pool

Mermain Demo

sequenceDiagram
    participant Alice
    participant Bob
    Alice->>John: Hello John, how are you?
    loop Healthcheck
        John->>John: Fight against hypochondria
    end
    Note right of John: Rational thoughts <br/>prevail!
    John-->>Alice: Great!
    John->>Bob: How about you?
    Bob-->>John: Jolly good!

上一篇博客:Go利器-Context学习