发明名称 Live updating of a shared plugin registry with no service loss for active users
摘要 Embodiments can enable the uploading of a newer version of a plugin package to a plugin service without affecting an existing user session that is using an older version of the plugin package. When a new user session begins, the plugin service can monitor one or more plugin packages and the versions used during the new user session. Throughout the user session, the plugin service continues to make the plugin packages available to the user regardless of newer versions being uploaded to the plugin service. In the meantime, multiple clients with different user sessions may be using different and possibly newer versions of the plugin packages at the same time. The plugin service can remove an older version of a plugin package when it determines that there are no longer any active user sessions utilizing the older version of the plugin package.
申请公布号 US9575744(B2) 申请公布日期 2017.02.21
申请号 US201514866414 申请日期 2015.09.25
申请人 Oracle International Corporation 发明人 Katkere Arun Lakshminarayn;Lagerblad Bo Jonas Birger
分类号 G06F9/44;G06F9/445 主分类号 G06F9/44
代理机构 Kilpatrick Townsend and Stockton LLP 代理人 Kilpatrick Townsend and Stockton LLP
主权项 1. A method comprising: uploading a first version of a plugin package to a shared plugin registry, the first version of the plugin package having one or more components; receiving an indication to start a user session; responsive to receiving the indication to start the user session, determining all available plugin packages uploaded to a plugin service, wherein the available plugin packages includes a plurality of plugin packages that includes the first version of the plugin package; incrementing a reference count associated with each of the plurality of plugin packages; uploading a second version of the plugin package to the shared plugin registry, wherein the second version of the plugin package has been deployed to replace the first version of the plugin package; determining a reference count associated with the first version of the plugin package, the reference count being indicative of whether there are one or more active user sessions associated with the first version of the plugin package; maintaining, by one or more processors, the first version of the plugin package and the second version of the plugin package in the shared plugin registry when the reference count associated with the first version of the plugin package is not zero; determining that the user session has ended; and responsive to determining that the user session has ended, updating the reference count associated with each of the plurality of plugin packages.
地址 Redwood Shores CA US