Skip to content

Async DB#4

Open
lowpolyneko wants to merge 15 commits intopmodels:mainfrom
lowpolyneko:async-db
Open

Async DB#4
lowpolyneko wants to merge 15 commits intopmodels:mainfrom
lowpolyneko:async-db

Conversation

@lowpolyneko
Copy link
Collaborator

This PR primarily refactors the database ORM to run asynchronously by dispatching accesses via a dedicated thread. In doing so, we're able to switch the processing of build issues to impl Stream and complete all required tasks in an asynchronous fashion.

Additional work is needed to parallelize driving these Streams to completion to replicate the old runtime behavior with rayon. In addition, #3 may be mitigated by integrating concurrency limits and liberal timeout handling w/ while driving the Stream.

@lowpolyneko lowpolyneko self-assigned this Jan 12, 2026
@lowpolyneko lowpolyneko added the enhancement New feature or request label Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant