luraproject / lura

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation
https://luraproject.org
Other
6.31k stars 565 forks source link

Dynamic Configurations (Add/Remove/Update EndPoints at run time without restarting the whole service) #440

Closed KrishnaPG closed 11 months ago

KrishnaPG commented 3 years ago

Is your feature request related to a problem? Please describe. Currently the configuration file is loaded from a config file, which is a good starting point. However, that would mean fixing your topology, which is rarely the case in production.

Describe the solution you'd like

  1. Host the configuration file in a database, and let users do CRUD on the config through UI.
  2. You can "load" the config once on start, as you are doing currently, and "reload" it whenever the database records change. (Most databases, including postgres, currently support ways for monitoring and getting notified whenever records in the DB change)

Describe alternatives you've considered The documentation suggests blue/green deployment methodology, which is not really efficient nor cost-effective.

Additional context

github-actions[bot] commented 8 months ago

This issue was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.