blob_store is used to fetch a blob object asynchronously from a server. More...
#include <blob_store.hh>
Static Public Member Functions | |
static std::future< blob > | get_blob (backend_type store, const std::string &blob_name) |
gets a blob More... | |
blob_store is used to fetch a blob object asynchronously from a server.
The data is retrieved by only one process on each machine and the data in the binary blob is memory shared between all the workers of the same machine. Thus avoiding many workers fetching the same data.
The connection to the server is managed by a backend object that implements a fetch method
|
static |
gets a blob
[in] | store | backend type object that implements a fetch method to retrieve blobs from a server |
[in] | blob_name | name of the blob that want to be accessed |