[Openstack] Caching strategies in Nova ...

Russell Bryant rbryant at redhat.com
Fri Mar 23 15:46:26 UTC 2012


On 03/23/2012 11:36 AM, Johannes Erdfelt wrote:
> On Fri, Mar 23, 2012, Kevin L. Mitchell <kevin.mitchell at rackspace.com> wrote:
>> On Fri, 2012-03-23 at 13:43 +0000, Gabe Westmaas wrote:
>>> However, I kind of expect that many users
>>> will still poll even if they know they won't get new data until X
>>> time. 
>>
>> I wish there was some kind of way for us to issue push notifications to
>> the client, i.e., have the client register some sort of callback and
>> what piece of data / state change they're interested in, then nova would
>> call that callback when the condition occurred.  It probably wouldn't
>> stop polling, but we could ratchet down rate limits to encourage users
>> to use the callback mechanism.
>>
>> Of course, then there's the problem of, what if the user is behind a
>> firewall or some sort of NAT... :/
> 
> Long polling is always an option.

Or WebSockets.

-- 
Russell Bryant




More information about the Openstack mailing list