Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ETL: batch geocoding pipeline with rate limiting and resume support

Aperta
#26 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
php

Direzione di ricerca

Start by reading the SDK’s HttpTransportInterface and how Client accepts transports; those entry points are named in the issue, but no file paths or tests are provided. The scope depends on deciding whether retries belong in the core or an optional package and how checkpoint state should be stored. Done would require a settled design for retry/backoff and resume behavior across rate-limit signals.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement question

Problem

When geocoding large address lists (10k+ records), the API rate limits kick in. There is currently no built-in mechanism in the SDK to handle this gracefully.

Typical pattern people try

$client = new Client($token);
foreach ($addresses as $addr) {
    $result = $client->get('https://geocoding.openapi.com/geocode', ['address' => $addr]);
    // if rate limit hit (429), this throws immediately and the whole batch is lost
}

What would help

A retry/backoff decorator on top of HttpTransportInterface:

use Openapi\Transports\RetryTransport;

$client = new Client($token, new RetryTransport(
    maxRetries: 3,
    backoffMs: 500,
    retryOn: [429, 503]
));

And a checkpoint mechanism to resume from the last successful record.

Open questions

  • Should RetryTransport be part of the core SDK or a separate optional package?
  • Should the checkpoint state be file-based, Redis-based, or left to the consumer?
  • Is 429 the only rate-limit signal used across all Openapi endpoints?
Lingua principale
PHP
Stelle
20
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openapi/openapi-php-sdk

Tutte le issue di openapi/openapi-php-sdk

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.