question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refresh configuration without restart, but behind load balanced URL

See original GitHub issue

I am currently using Steeltoe in an environment which is behind a load balanced URL, and looking for a means to refresh the configuration without restarting. The load balancer directs traffic to several different Cloud Foundry environments, each of which could have 1 to many instances of the app running via autoscaler.

I’ve read through previously reported issues and noted this issue which mentions IOptionsSnapshot and the /reload endpoint, as well as IConfigurationRoot.Reload. Based on my current understanding, Steeltoe users with a similar load balanced environment may have an issue with finding a way to reload configs across all environments, for all app instances, as a call to the /reload endpoint would only hit a single environment/instance. Hopefully I am overlooking a solution to this issue.

If not, I noticed that perhaps the ideal solution is in the backlog. I am not intimately familiar with the Steeltoe source code yet, but is this a feasible addition, or is this a serious undertaking? I would love to help contribute to implementing this, but thought I would first check if others have looked into it already and noticed significant blockers.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
TimHesscommented, Sep 23, 2020

@antonpopov I’m so sorry, I thought I responded to this message last week - this is still on the roadmap, but Bus builds on Streams, which builds on Messaging…

We’re pretty confident that Messaging is ready for consumption, and a good chunk of the Streams work is there now, but Bus hasn’t been started. So we’ve made progress, but we’re not there yet

0reactions
antonpopovcommented, Sep 14, 2020

@TimHess do you plan on implementing this feature anytime soon? My team is using Steeltoe’s refresh actuator which works good but soon we are starting a project where microservice instances will self register to a Netflix Eureka discovery server. Would you suggest an approach for refreshing the configuration of multiple instances of a microservice. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Refresh configuration without restart, but behind load ...
I am currently using Steeltoe in an environment which is behind a load balanced URL, and looking for a means to refresh the...
Read more >
Nginx config reload without downtime
Run service nginx reload or /etc/init.d/nginx reload. It will do a hot reload of the configuration without downtime.
Read more >
How to reload changed configs at Heavy forwarder?
Solved: Hi All, When I change some configs on HF, It seems that I need to restart HF according to the doc below....
Read more >
How to reload apache configuration for a site without ...
It should be possible using the command sudo /etc/init.d/apache2 reload.
Read more >
How to reload Load Balancer config without down time
To do so, we change the lbConfig.xml, set the reload.configuration to true and restart the load balancer service.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found