-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skate get {key}
takes ~1.17s, skate get {key}
takes ~2.9s to execute -- slow crypt check?
#21
Comments
Hi @shpigunov you're correct in that |
Hi @toby thanks for your response. I will try to launch a Charm server locally and measure my times again. |
Okay, I launched the
|
I've also found that skate is a bit too slow to use remotely:
I will use a local charm as suggested, but will follow this issue to see if and when a big speedup eventuates! |
It would be nice to have an option to disable network sync altogether and rely only on local files. |
I ran into this today as well after reading some other issues, I thought caching was enabled after the first pull, but pulling a set of secrets via my I had some issues running charm locally via docker that aren't relevant to this issue, so I'll give that or the local charm binary at try again when I get a chance. |
Hi, I really like the idea behind
skate
as a tiny key:value store in the command line. However, for a tiny CLI program, skate appears to run a bit too slow.When I timed the execution on my machine, I got the following:
First, I figured that my system/shell setup may be at fault, so I created a clean environment by running
docker run -it golang:latest
, but the times I got didn't differ all that much:I figured that since the CPU load was low compared to the overall execution time, the execution is IO bound. And sure enough, when I disconnected all network adapters, I got the
failed crypt check
message.So my question is: does Skate have to phone home for every (even non-synced) operation to check the crypt keys? And if so, can the requests be made faster using caching on the server side? Or alternatively, can the crypt check be disabled in the options?
The text was updated successfully, but these errors were encountered: