apache / apache/iceberg-python
Async API for RestCatalog
- Lenguaje dominante
- Python
- Estrellas
- 1.1k
- Forks
- 581
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 78
Descripción
### Feature Request / Improvement
RestCatalog currently uses synchronous HTTP calls, while most catalog operations are network io-bound. Native async support would help async consumers and high-concurrency use cases in general.
We could introduce a separate AsyncRestCatalog, preserving the existing synchronous API.
asyncio.to_thread()/running in a dedicated executor is a possible workaround but doesn't give the same benefits as native support as we'd still have the limitations of the sync client (one worker thread per in-flight request being the most annoying in this case).
We can start small without necessarily the full ops coverage, wdyt?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza por la implementación existente de RestCatalog y determina qué operaciones del catálogo utilizan actualmente llamadas HTTP síncronas. Define el alcance inicial de AsyncRestCatalog preservando la API síncrona; el issue deja abiertos la cobertura exacta de las operaciones y el enfoque de validación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- api, backend-api-design
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100