Skip to content

revert: Viper and Hot Reloading - #5

Merged
thushan merged 3 commits into
featres/healthcheck-refactor-3from
feature/remove-viper-hot-reloading
May 28, 2025
Merged

thushan merged 3 commits into
featres/healthcheck-refactor-3from
feature/remove-viper-hot-reloading

Conversation

@thushan

@thushan thushan commented May 28, 2025

Copy link
Copy Markdown
Owner

We've added Viper and hot reloading of yaml because it's so hot right now, but alas the complexity it brings for Olla at this stage isn't warranted we think.

In the future we may however consider a better model for reloading config, maybe a far better model being:

  • Static config: Things that require restart - port bindings, TLS certs
  • Dynamic config: Things that can hot reload - endpoint lists, timeouts
  • Runtime config: Things that change frequently - health check intervals

for now, restart all the times.

thushan added 3 commits May 28, 2025 18:41
…t needed for Olla.

- No more hot reloading so peeling back to simple concurrency
- Remove scheduler and caching, worker pools etc as it may be overkill at this point vs Sherpa.
@thushan
thushan merged commit d8b9d6f into featres/healthcheck-refactor-3 May 28, 2025
@thushan
thushan deleted the feature/remove-viper-hot-reloading branch May 28, 2025 11:05
leo-3889 pushed a commit to leo-3889/olla that referenced this pull request Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant