I'm sorry. I don't know maillist can not display pictures. I will
add detailed description about execution process of server-info plugin
latter.

Ming Wen <wenm...@apache.org> 于2022年1月21日周五 15:43写道:

> Mailing list cannot display pictures, so we can not see the flowchart
>
> Thanks,
> Ming Wen, Apache APISIX PMC Chair
> Twitter: _WenMing
>
>
> Bozhong Yu <imbozh...@gmail.com> 于2022年1月21日周五 14:02写道:
>
> > Hi Community.
> >
> > Currently, server-info plugin adds a revision every time the status is
> > updated, and some users set a relatively short reporting time, which may
> > result in millions or even tens of millions of data in etcd after a long
> > run, resulting in a slow connection and high cpu usage. So I give a
> > proposal to refractory the server-info plugin.
> >
> > Here is a new implement:
> >
> > 1. get the server-info data, if it does not exist, initialize the
> > server-info information
> > 2. bind the lease to the key "server-info"
> > 3. call keepalive to refresh the TTL to ensure the node is alive
> >
> > Flowchart:
> >
> > [image: image.png]
> >
> > What about your opinions?
> >
>

Reply via email to