Global Dynamic Storage (GDS)

The Global Dynamic Storage (GDS) layer creates a database-agnostic persistent storage layer that allows you to globally store any value and retrieve it at a later time. It works basically like setting and getting buffers, except that it uses a persistent database storage in the background.

GDS is accessible using these Viper methods.

By default, when you write to a GDS variable, a locking mechanism is used to ensure that nobody else writes to the same variable until your request finishes. At the end of the request, the lock is automatically removed.