ReductStore v1.5.0 has been released
Hello everyone,
I'm happy to announce that the next minor version of ReductStore has been released. For the last month, we worked hard to improve the user experience when querying data from the database. And in this release, we deliver two important features:
- Batching multiple records into an HTTP response for read operations
- Reading only meta information about a record without its body.
Let me show you how it works in detail and how you can use it.
Batching Records
ReductStore provides an HTTP API that has many benefits, but data querying may slow down due to latency and HTTP overhead, especially for small blobs. The goal of ReductStore is to be suitable for data of any size, and since version 1.5.0, the database can batch multiple records in one HTTP request. This can increase the speed of downloading data by up to 80 times, depending on the size of the records.
If you're interested in details, you can read about the GET /api/v1/b/:bucket/:entry/batch
endpoint. However, if you use one of our client SDKs, you just need to update to the latest version without making any changes to your code.
Reading Only Meta Information
Sometimes we don’t need the content of your blob records, but only meta information like size, labels or timestamp. For this case, ReductStore provides HEAD
versions of endpoints to read and query records without HTTP body.
This is an example, how to use it in python:
bucket = await reduct_client.get_bucket("test")
async for rec in bucket.query("data", head=True):
count += rec.size
Client SDKs
Traditionally, we have aligned our official SDKs for Python, C++, and JavaScript with the latest API so that you can use the latest features.
I hope you find this release useful. If you have any questions or feedback, don’t hesitate to use the ReductStore Community forum. Thanks for using ReductStore!