Enhancements to handling large files in remote scenarios
See original GitHub issueIn discussion with @derekbekoe, @curib, @connor4312, @aeschli, @alexdima, and @chrisdias a few weeks ago, we discussed enhancements to how VS Code handles large files for remote scenarios.
Some observations from @derekbekoe:
- Looks like VS Code blocks/queues file downloads so if I try to open a large file then a small file afterwards, the small file doesn’t open until the large file has finished?
- Related to the above, it appears it’s not possible to cancel a large file download? Closing the file tab doesn’t appear to stop the download.
- There is a warning for some file types (like
The file is not displayed in the editor because it is either binary or uses an unsupported text encoding
) but should one be added for opening large files in remote scenarios?
Tentatively assigning @connor4312 and @aeschli as we discussed this in the context of Remote Tunnels, but let me know if I should move to the core repo or update assignment.
Issue Analytics
- State:
- Created 9 months ago
- Reactions:1
- Comments:13 (12 by maintainers)
Top Results From Across the Web
4 Scenarios for Fast and Secure Remote Worker Data Access
If your files are too big for the EFSS or CCP solutions, then you will need an alternative. The problem with these solutions...
Read more >Processing Large file from remote dynamic source using ...
I have a use case to read large files from dynamic sources, a source could be either an S3 bucket or a remote...
Read more >10 Secure File Sharing Options, Tips and Solutions - Varonis
In this article, we'll look at the different scenarios where file sharing ... Allows you to transfer large files over a network connection....
Read more >Handling Large Messages with Apache Kafka (CSV, XML ...
Here is a detailed example of processing large XML files with Kafka Connect and the open-source File Pulse connector: “Streaming data into ...
Read more >Git Large File Storage (LFS) - GitLab Documentation
Git LFS v1 original API is not supported, because it was deprecated early in LFS development. When SSH is set as a remote,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Talked with @joaomoreno , distilled 3 things:
vscode-remote
scheme or not, I think we do not need a new capability for this (see [1] for example)[1] Warning in Editor
Thanks for the clarification! You’re correct, implementing this in a way which can utilise the available bandwidth is quite tricky 🤔 . For example, with a client - server latency of 200ms, if the client reads 64KB chunks at a time, then the maximum theoretical bandwidth is 192KB/s:
In order to utilise the available bandwidth, I think the IPC layer needs to either expose the underlying’s socket
drain
events, write buffer size, etc. or maybe we can support returning aStream
orPromise<Stream>
natively in the IPC layer and do the right thing internally to align the writing speed with the TCP/IP socket writing speed, all while allowing other IPC messages to go through. cc @joaomoreno