Skip to content

[scd] Use database join to fetch uss availability in fetchOperationalIntents#1522

Merged
barroco merged 1 commit into
interuss:masterfrom
Orbitalize:use_database_join
Jun 29, 2026
Merged

[scd] Use database join to fetch uss availability in fetchOperationalIntents#1522
barroco merged 1 commit into
interuss:masterfrom
Orbitalize:use_database_join

Conversation

@the-glu

@the-glu the-glu commented Jun 10, 2026

Copy link
Copy Markdown
Member

It switch the 'manual' join done to fetch uss availability to a direct join, avoiding an extra database round trip to fetch data.

Performance improvement with base lock is marginal: we get higher throughput at the start, but as test go performance is slighter lower (that may dues to test variations):

image

With the new lock introduced in previous PR, we also get higher throughput at the start and a slighter faster performance at the end (notice right and left are swapper):

image

In general thing seems better in term of latency and it avoid a database query, so I would say that better in general.

@the-glu the-glu force-pushed the use_database_join branch from 2c0d9ef to 0581f7f Compare June 29, 2026 12:00
@barroco barroco merged commit e402e99 into interuss:master Jun 29, 2026
12 checks passed
@barroco barroco deleted the use_database_join branch June 29, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants