question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

s3 open seek operation try read rest of file into buffer, which makes following read has timeout risk

See original GitHub issue

Here makes API call to fetch rest of file into buffer when calling seek, which makes seek very slow. The API call may be put in read method instead.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
vuryleocommented, Oct 10, 2019

I will try that and come back with more detailed info, thanks for helping so far 😃

0reactions
mpenkovcommented, Oct 11, 2019

OK, thank you for investigating.

I think your proposal is OK. We can delay this block until read.

Are you able to make a PR? We can probably make a pre-read callback or something to call that code just before reading happens.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve errors uploading data to or downloading data ... - AWS
I want to download data from Amazon Aurora and upload it to Amazon S3. How can I resolve an error I received while...
Read more >
Hadoop-AWS module: Integration with Amazon Web Services
Supports authentication via: environment variables, Hadoop configuration properties, the Hadoop key management store and IAM roles. Supports per ...
Read more >
S3 repository | Elasticsearch Guide [8.5] | Elastic
In -progress snapshot/restore tasks will not be preempted by a reload of the client's secure settings. The task will complete using the client...
Read more >
readfile - Manual - PHP
Return Values ¶. Returns the number of bytes read from the file on success, or false on failure ... At least, when I...
Read more >
10 things you should know about using AWS S3 - Sumo Logic
In the decade since it was first released, S3 storage has become ... we have further reading if you're looking for the top...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found