×

Live updating of a shared plugin registry with no service loss for active users

  • US 10,095,510 B2
  • Filed: 01/31/2017
  • Issued: 10/09/2018
  • Est. Priority Date: 09/26/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • providing, by one or more processors, a shared plugin registry, wherein the shared plugin registry includes at least a first version of a plugin package;

    detecting, by the one or more processors, a second version of the plugin package in the shared plugin registry, wherein the second version of the plugin package is deployed to replace the first version of the plugin package;

    monitoring, by the one or more processors, a number of active user sessions for the first version of the plugin package by determining whether there are new user sessions that request the first version of the plugin package or whether user sessions that were using the first version of the plugin package have ended;

    storing timestamps associated with each plugin package used by the user sessions;

    updating, by the one or more processors, a reference count associated with the first version of the plugin package based on the monitoring, wherein the reference count indicates the number of active user sessions associated with the first plugin package, and the updating includes;

    (i) incrementing the reference count associated with the first version of the plugin package when a new user session is activated that requests use of the first version of the plugin package; and

    (ii) decrementing the reference count associated with the first version of the plugin package when a user session ends that was using the first version of the plugin package; and

    maintaining, by the one or more processors, the first version of the plugin package while the reference count indicates at least one active user session is currently using the first version of the plugin package while concurrently providing the second version of the plugin package to a first new user session, wherein access to each plugin package throughout a user session is assured by using the stored timestamps to prevent a plugin package from being replaced by a newer version of the plugin package that is added to the shared plugin registry at a later date.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×