Serverless property store

Inventors

Bentley, Keith A.

Assignees

Bentley Systems Inc

Interested in licensing this patent?

MTEC can help explore whether this patent might be available for licensing for your application.

Publication Number

US-12321792-B2

Patent

Publication Date

2025-06-03

Expiration Date


Abstract

In example embodiments, techniques are described for implementing serverless property stores to hold properties that persist application customization data, such as settings. A serverless property store employs an “edge base” paradigm, wherein an edge computing device executes a property store service that maintains a local, periodically-synchronized copy of a portion of a database that stores properties (i.e., a local property cache”). A cloud container of a blob storage service of a cloud datacenter maintains a master copy of the database (i.e., a “property store database”). Read operations on a client computing device may be performed against the local property cache. Write operations may likewise be performed against the local property cache, however, they may be serialized via a write lock maintained in the cloud container. Multiple serverless property stores may be employed to store different properties each having different scopes.

Core Innovation

A serverless property store is implemented using an edge-base paradigm in which an edge-executing property store service maintains a local property cache that is a periodically synchronized copy of a property store database maintained in a cloud container. The local property cache is synchronized using a local manifest produced from a manifest in the cloud container, so that the property store service can see changes made by other property store services to the property store database. Read operations obtain property values by reading from the local property cache based on a property name and supplying at least a value of the property to a module of an application.

For write operations, a property store service coordinating add, delete, or modify of properties obtains a write lock from the cloud container to serialize writes. The service downloads the manifest in the cloud container to update the local manifest, synchronizes affected blocks by downloading blocks affected by the request that are not already local into the local property cache, and writes changes into the local property cache while recording additions, deletions, or modifications in an updated local manifest.

The service uploads added or modified blocks and uploads the updated local manifest to replace the manifest in the cloud container, and then releases the write lock back to the cloud container. The local manifest and block handling record updated block identities, including new block identifiers for added or modified blocks and removal of block identifiers for deleted blocks in the cloud container manifest, with block identifiers generated as a hash of the contents of added or modified blocks.

Older blocks can be kept after their block identifier is no longer present in the manifest until a purge operation is periodically performed, and rollback can be performed by undoing database changes by rolling back the cloud container to a prior version using version tracking provided by the cloud datacenter.

Claims Coverage

The document includes five independent claims. Across these independent claims, the core inventive features cover edge-local cached property access synchronized via manifests, serialized write coordination using a cloud write lock, and update synchronization that uploads blocks and an updated manifest back to the cloud container, with additional refinements for block identity management and rollback.

Manifest-based local property cache for serving property values

Downloading a manifest for a property store database maintained in the cloud container to create a local manifest on the edge computing device; refreshing the local manifest to synchronize the local property cache with the property store database; receiving requests including at least a property name; reading a value of the property corresponding to the property name from the local property cache; and supplying the value of the property to the module of the application.

Serialized property updates using a cloud container write lock and manifest synchronization

Obtaining a write lock; downloading a manifest to update a local manifest of a local property cache; receiving requests to add, delete or modify properties; downloading blocks affected by the request that are not already local into the local property cache; writing to the local property cache to add, delete, or modify blocks while recording such additions, deletions, or modifications in an updated local manifest; uploading added or modified blocks and uploading the updated local manifest to replace the manifest in the cloud container; and releasing the write lock back to the cloud container.

Edge computing device with local property cache and cloud-synchronized updates

Maintaining a local property cache for storing a portion of a property store database of a cloud container, a local manifest produced from a manifest in the cloud container, and executing software for a property store service that services requests by downloading blocks indicated in the local manifest required to read the property that are not already local, reading the local property cache, and supplying at least a value of the property to the module; and servicing add, delete, or modify requests by obtaining a write lock, downloading the manifest in the cloud container to update the local manifest, writing to the local property cache and recording such changes to create an updated local manifest, uploading added or modified blocks and uploading the updated local manifest to replace the manifest in the cloud container, and releasing the write lock.

Non-transitory computer-readable media for locking, updating blocks, and uploading an updated manifest

Software operable to obtain a write lock; download a manifest for a property store database to update a local manifest of a local property cache; receive requests from an application to add, delete or modify properties; download blocks affected by the request that are not already local to the local property cache; write the local property cache to add, delete, or modify blocks and record such additions, deletions, or modifications in the updated local manifest; upload added or modified blocks to the property store database and upload the updated local manifest to update the manifest in the cloud container; and release the write lock back to the cloud container.

Non-transitory computer-readable media for property read servicing and synchronized property modification

Software operable to service requests for a property by downloading blocks indicated in a local manifest required to read the property that are not already local in the local property cache, reading the local property cache, and suppling at least a value of the property to the module of the application; and service requests for adding, deleting, or modifying the property by downloading a manifest in the cloud container to update the local manifest and synchronize the local property cache with the property store database, downloading blocks affected by the request that are not already local, writing to the local property cache and recording additions, deletions, or modifications in an updated local manifest, uploading added or modified blocks to the property store database, and uploading the updated local manifest to replace the manifest in the cloud container.

Across the independent claims, the document claims edge-based property persistence that uses a local property cache and local manifest synchronized from a cloud container manifest, serves property values by reading from the local cache based on property name, and coordinates updates by acquiring a cloud write lock, synchronizing affected blocks, recording changes in an updated local manifest, uploading updated blocks and replacing the cloud container manifest, then releasing the lock. Additional refinements in the claim family cover block identifier handling, optional purge behavior, and rollback via cloud container version tracking.

Stated Advantages

Not explicitly described in patent.

Documented Applications

Not explicitly described in patent.

JOIN OUR MAILING LIST

Stay Connected with MTEC

Keep up with active and upcoming solicitations, MTEC news and other valuable information.