Dynamic configuration of services using a syndication feed
AssigneeRed Hat, Inc.
InventorMark Cameron Little
Life of this patent
Estimating the term…
Abstract
A configuration file is received by a publish-subscribe service and published to a syndication feed. The received configuration file is associated with a class of services. The configuration file is then sent to subscribers of the syndication feed. The subscribers of the syndication feed belong to the class of services. Upon receiving the configuration file, the subscribers are automatically reconfigured.
Claims17
A computer implemented method, comprising:
- obtaining, by a processing device, a configuration file, wherein at least a portion of content within the configuration file is published to a syndication feed and wherein the configuration file and the syndication feed are associated with a class of services in a distributed computing system;
- sending, by the processing device, the portion of the content within the configuration file to subscribers of the syndication feed, wherein the subscribers comprise one or more services associated with the class of services and wherein the portion of the content within the configuration file causes the subscribers to be reconfigured;
- receiving a query from a service that subscribes to the syndication feed;
- and
- sending the portion of the content within the configuration file to the service in response to the query if the configuration file is different from an existing configuration file used by the service.
A computing apparatus, comprising:
- a memory to store data;
- a processing device coupled with the memory;
- a network interface to communicate with a plurality of services of a distributed system;
- a data store;
- a service, coupled with the data store and the network interface, and executable by the processing device, to obtain a configuration file, wherein at least a portion of content within the configuration file is published to a syndication feed and wherein the configuration file and the syndication feed are associated with a class of services in the distributed computing system, to store the one or more configuration files in the data store, and to send the portion of the content within the configuration file to subscribers of the syndication feed via the network interface, wherein the subscribers comprise one or more services associated with the class of services and wherein the portion of the content within the configuration file causes the subscribers to be reconfigured;
- and
- a subscribing service, executed by the processing device, that subscribes to the syndication feed, the subscribing service to poll the service to determine if any configuration file has been published since a last time that the subscribing service polled the first service;
- the service to send the portion of the content within the configuration file to the subscribing service if the configuration file was published after the last time that the subscribing service polled the first service.
A non-transitory computer readable medium including instructions that, when executed by a processing device, cause the processing device to perform a method comprising:
- obtaining, by the processing device, a configuration file, wherein at least a portion of content within the configuration file is published to a syndication feed and wherein the configuration file and the syndication feed are associated with a class of services in a distributed computing system;
- sending, by the processing device, the portion of the content within the configuration file to subscribers of the syndication feed, wherein the subscribers comprise one or more services associated with the class of services and wherein the portion of the content within the configuration file causes the subscribers to be reconfigured;
- receiving a query from a service that subscribes to the syndication feed;
- and
- sending the portion of the content within the configuration file to the service in response to the query if the configuration file is different from an existing configuration file used by the service.
A computer implemented method, comprising:
- subscribing to a syndication feed associated with a class of services by a first service that belongs to the class of services;
- receiving a configuration file from a second service that hosts the syndication feed, wherein at least a portion of content within the configuration file is published to the syndication feed;
- reconfiguring, by a processing device, the first service based on the portion of content within the configuration file;
- and
- polling the second service to determine if any configuration file has been published since a last time that the second service was polled, wherein the configuration file is received from the second service if the configuration file was published after the last time that the second service was polled.
A non-transitory computer readable medium including instructions that, when executed by a processing device, cause the processing device to perform a method comprising:
- subscribing to a syndication feed associated with a class of services by a first service that belongs to the class of services;
- receiving a configuration file from a second service that hosts the syndication feed, wherein at least a portion of content within the configuration file is published to the syndication feed;
- reconfiguring, by the processing device, the first service based on the portion of content within the configuration file;
- and
- polling the second service to determine if any configuration file has been published since a last time that the second service was polled, wherein the configuration file is received from the second service if the configuration file was published after the last time that the second service was polled.
Dependencies are inferred from the claim text.