Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

resumable-uploads

/resumable-uploads

Pozwala dużym wysyłkom plików przetrwać przerwy w sieci przez dzielenie na części i wznawianie od ostatniej potwierdzonej.

Repozytorium
AI-SKILLS ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.09.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pozwala dużym wysyłkom plików przetrwać przerwy w sieci przez dzielenie na części i wznawianie od ostatniej potwierdzonej.

Oryginalny opis (EN)

Let large uploads survive network interruption by chunking and resuming from the last confirmed part. Use when files are large enough that a failed upload is a real cost to the user.

Jak działa

  1. Method
  2. Boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 38 linii, 256 słów
Podgląd SKILL.md
---
name: resumable-uploads
description: Let large uploads survive network interruption by chunking and resuming from the last confirmed part. Use when files are large enough that a failed upload is a real cost to the user.
---

# Resumable uploads

On a mobile network, a large single-request upload is a gamble that
restarts from zero when it fails. Chunked, resumable transfer converts
that into a pause, which is the difference between a usable feature and
one people avoid.

## Method

1. **Establish a session before transferring.** A session id the client
   can use to ask what has been received, which is what makes resumption
   possible at all.
2. **Chunk at a size that balances overhead and loss.** A few megabytes
   is typical: small enough that a failure is cheap, large enough that
   per-chunk overhead stays negligible.
3. **Let the client query received offset.** On reconnect it asks where
   to continue rather than guessing, which avoids both gaps and
   duplicate transfer.
4. **Make chunk writes idempotent.** A retried chunk must not duplicate
   or corrupt, since retries are the normal case here (see idempotency).
5. **Verify the whole file after assembly.** A checksum computed by the
   client and confirmed by the server catches the corrupted chunk that
   individually succeeded.
6. **Expire abandoned sessions.** Partial uploads consume storage
   indefinitely otherwise, and the expiry must be long enough to survive
   a genuinely long interruption.
7. **Use the platform's protocol where one exists.** Storage providers
   offer multipart upload with these semantics already implemented and
   tested.

## Boundaries

Resumability adds coordination state and complexity that small files do
not justify. It cannot help when the file itself changes between
attempts, so the client must detect that and restart. Parallel chunk
upload speeds transfer and complicates ordering and error handling.

Wersje

W bazie nie ma innych skilli o nazwie resumable-uploads.

Migawka bazy z 13.11.2026 · wersja paczki a61b49d22972 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100file-storage-uploads
    Buduje bezpieczne wysyłanie i pobieranie plików w pamięci obiektowej: podpisane adresy, limity, kontrolę typu i skanowanie wirusów.
  • 90upload-design
    Projektuje przesyłanie plików: pojedynczy lub wieloczęściowy upload, rozmiary części, podpisane adresy i bezpieczne nazwy obiektów.
  • 100phoenix-uploads
    Obsługuje wysyłanie plików w Phoenix: allow_upload, walidację typów, przechowywanie lokalne lub w S3 i autoryzowane pobieranie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.