spacewander commented on issue #6143:
URL: https://github.com/apache/apisix/issues/6143#issuecomment-1019646729
Kong is migrating its dbless backend to LMDB. For effectiveness, multiple
files can't win an embedded database.
But multiple files may be a good solution for middle-scale configuration.
What about using a directory to configure, and merging all files into one?
For example,
```
conf-dir/
routes-xxx.yml # we don't need `apisix-` prefix if we have a directory
routes-yyy.yml
upstreams-xxx.yml
...
```
```
# routes-xxx.yml
routes:
-
uri: /hello
upstream:
nodes:
"127.0.0.1:1980": 1
type: roundrobin
...
```
We can keep the list in memory and update the data if one of the files
changes.
It is only my idea. Since this feature is not trivial, let's discuss it for
several days before coding. Ideas are welcome!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]