Hi Ming:

This is two different features.

When the service is restarted and etcd is not working properly, the last
correct configuration is read from the configuration backup file.

This mechanism ensures that the APISIX service will work normal first.



On Tue, Nov 5, 2019 at 1:28 PM Ming Wen <wenm...@apache.org> wrote:

> Hi, hui,
> Apache APISIX supports stand-alone mode and declarative API [1],
> so it already has a local configuration file.
>
> Do you mean we should support local configuration file when using etcd
> mode?
>
> [1]
> https://github.com/apache/incubator-apisix/blob/master/doc/stand-alone.md
>
> Thanks,
> Ming Wen, Apache APISIX
> Twitter: _WenMing
>
>
> hui li <yo...@apache.org> 于2019年11月5日周二 上午11:45写道:
>
> > Does the APISIX need to write the configuration to the local disk?
> >
> > The APISIX currently can run without the configuration center, etcd.
> >
> > But its routes configuration just is stored in the memory. If APISIX runs
> > without etcd or could not connect the etcd (still possible), meanwhile,
> > APISIX has been restarted because of some critical BUG. APISIX will
> restart
> > with no route configuration which will cause the network failure.
> >
> > On the other hand, other API-Gateway, such as tyk or zuul, will write the
> > configuration to the local disk when it exit.
> >
>


-- 
*MembPhis*
My github: https://github.com/membphis
Apache APISIX: https://github.com/apache/incubator-apisix

Reply via email to