DEV Community

Cover image for CLI Client for ReductStore v0.7.0 has been released
Alexey Timin for ReductStore

Posted on • Originally published at reduct.store

3

CLI Client for ReductStore v0.7.0 has been released

Hey everyone,

I'm happy to announce that we have
released Reduct CLI client v0.7.0 with some minor improvements and bug fixes. We started using the tool in real applications and faced some problems exporting data from a ReductStore instance when the connection is slow and we have many entries to download asynchronously.

First of all, it wasn't very convenient to count all needed entries in the rcli export command. Now we can use wildcards:

rcli export folder instance/bucket ./export_path  --entries=sensor-*
Enter fullscreen mode Exit fullscreen mode

More over, the rcli export command used the query API with default TTL 5 seconds for a query. When the internet connection was slow, it may have taken more than 5 seconds to request the next record in the query. The query could expire and the CLI would receive the 404 HTTP error. Now the CLI client uses the TTL equal to the number of parallel tasks multiplied by the timeout. By default, the TTL is 50 seconds (10 parallel tasks * 5 second timeout). This makes the data export more robust and allows a user to change the TTL by using the parallel and timeout options.

rcli --parallel 5 --timeout 3 export folder  instance/bucket ./export_path # TTL is 15 second
Enter fullscreen mode Exit fullscreen mode

if you have any questions or feedback, don't hesitate to reach out in Discord or by opening a discussion on GitHub.

Thanks for using ReductStore!

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry 🕒

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more