Should we be running `object_store` tokio tasks on the runtime provided by `pyo3-async-runtimes`?

Open
#577 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python, rust
Domain
backend

Research direction

Read the object_store SpawnedReqwestConnector API and inspect the existing get_runtime() and client-builder usage. Determine whether clients create separate Tokio runtimes, then verify the selected runtime behavior with a focused test or reproduction; done means the runtime choice is documented and confirmed.

Written by the indexing model from the issue text.

Description

object_store has a SpawnedReqwestConnector, which allows for all requests made by object_store to be done on the provided runtime. Should we be passing that in?

        let connector = SpawnedReqwestConnector::new(get_runtime().handle().clone());
        builder = builder.with_http_connector(connector);

Right now, is there a new tokio runtime created for each client..?

Dominant language
Python
Stars
842
Forks
50
Avg merge
9h
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/obstore

All issues in developmentseed/obstore

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.