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 c…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Alexey Timin

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-*

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

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!


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Alexey Timin


Print Share Comment Cite Upload Translate Updates
APA

Alexey Timin | Sciencx (2023-02-19T21:04:22+00:00) CLI Client for ReductStore v0.7.0 has been released. Retrieved from https://www.scien.cx/2023/02/19/cli-client-for-reductstore-v0-7-0-has-been-released/

MLA
" » CLI Client for ReductStore v0.7.0 has been released." Alexey Timin | Sciencx - Sunday February 19, 2023, https://www.scien.cx/2023/02/19/cli-client-for-reductstore-v0-7-0-has-been-released/
HARVARD
Alexey Timin | Sciencx Sunday February 19, 2023 » CLI Client for ReductStore v0.7.0 has been released., viewed ,<https://www.scien.cx/2023/02/19/cli-client-for-reductstore-v0-7-0-has-been-released/>
VANCOUVER
Alexey Timin | Sciencx - » CLI Client for ReductStore v0.7.0 has been released. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/02/19/cli-client-for-reductstore-v0-7-0-has-been-released/
CHICAGO
" » CLI Client for ReductStore v0.7.0 has been released." Alexey Timin | Sciencx - Accessed . https://www.scien.cx/2023/02/19/cli-client-for-reductstore-v0-7-0-has-been-released/
IEEE
" » CLI Client for ReductStore v0.7.0 has been released." Alexey Timin | Sciencx [Online]. Available: https://www.scien.cx/2023/02/19/cli-client-for-reductstore-v0-7-0-has-been-released/. [Accessed: ]
rf:citation
» CLI Client for ReductStore v0.7.0 has been released | Alexey Timin | Sciencx | https://www.scien.cx/2023/02/19/cli-client-for-reductstore-v0-7-0-has-been-released/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.