-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
DedicatedExecutor
to FlightSQL Server (#247)
Add's a dedicated executor for running CPU bound work on the FlightSQL server. There is interest from the [DataFusion community](apache/datafusion#13274 (comment)) for this, it was already on our [roadmap](#197) and I think the DFT FlightSQL server is a great place to have a reference implementation. Initial inspiration and context can be found [here](https://thenewstack.io/using-rustlangs-async-tokio-runtime-for-cpu-bound-tasks/). Most of the initial implementation was copied from [here](https://github.com/influxdata/influxdb3_core/blob/6fcbb004232738d55655f32f4ad2385523d10696/executor/src/lib.rs) with some tweaks for our current setup. In particular we dont have metrics yet in the FlightSQL server implementation (but it is on the [roadmap](#210)) - I expect to do a follow on where metrics are integrated.
- Loading branch information
1 parent
c1973b1
commit e8c8e20
Showing
13 changed files
with
1,100 additions
and
80 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.