1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/storages
catborise 7b5c2cd057 perf(storages): ISO chunks to an SSH compute reuse the SSH connection
Each 32 MiB chunk is its own request and opened a new SSH connection and
SFTP session (~200 ms). A worker now keeps its connection to the host for
the next chunk; each request still opens its own SFTP session (~50 ms),
so an SFTP error never reaches the next one. A connection is not reused
after an error, when the host dropped it or once it is 10 minutes old; an
idle one is closed after a minute, and a forked worker leaves the parent's
to the parent. The SFTP start, which paramiko waits for without a deadline,
is ended after 10 s. Live: 256 MiB in 8 chunks 4.5-4.9 s -> 3.7 s.
2026-10-09 23:22:15 +03:00
..
api fix(instances): failures reach the user; no redirect to other sites 2026-10-04 12:23:54 +03:00
migrations add missing migrations for new models 2022-08-24 09:34:16 +03:00
templates feat(storage): support resilient ISO uploads across connection types 2026-09-28 14:57:31 +03:00
__init__.py build new tree 2015-02-27 11:28:22 +02:00
forms.py fix(storages): the pool target check runs in linear time 2026-10-06 08:00:57 +03:00
models.py reorg imports and black format 2022-11-02 16:05:41 +03:00
test_pool_target.py fix(storages): the pool target check runs in linear time 2026-10-06 08:00:57 +03:00
test_sftp_pipelined.py perf(storages): an ISO uploads to an SSH compute without waiting for each write 2026-10-09 13:35:02 +03:00
test_ssh_pool.py perf(storages): ISO chunks to an SSH compute reuse the SSH connection 2026-10-09 23:22:15 +03:00
tests.py perf(storages): ISO chunks to an SSH compute reuse the SSH connection 2026-10-09 23:22:15 +03:00
upload.py perf(storages): ISO chunks to an SSH compute reuse the SSH connection 2026-10-09 23:22:15 +03:00
views.py fix(appsettings,vrtManager,storages): error handlers that hid the real failure 2026-10-07 11:29:45 +03:00