Skip to content

config server cache properties for same client and force refresh by git webhook #363

@jacobke

Description

@jacobke

Hi, i adopt spring cloud config server as my configuration management center.
There are 50+ applications and they ask config server for latest properties at the interval of 1 minute (we want they could notice the changes ASAP).

Then the problem is that config server would pull git frequently (it seems config server pull git per request). This make our git server quite busy.

So could we make config server *cache * properties for same client (by its application name and profile)? If we need force refresh the cache, we could add git webhook to trigger that.
(git webhook function seems added in spring-cloud-config-monitor project, but not designed for this kind of features)

I'm not quite deep into config server codes, If there is misuse or better solution, please let me know.
If this a good and reasonable feature, please add your advice. I could try contribute some codes on this feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions