Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

151 increase trade query performance #152

Merged
merged 10 commits into from
Mar 15, 2024

Conversation

Daniel-J-Mason
Copy link
Collaborator

Add b-tree index to latest_market_data buy_price, sell_price, demand, stock
Add b-tree index to station arrival_distance

pveeckhout and others added 10 commits March 5, 2024 02:16
Redundant interfaces related to DTOs, Entity and Mappers from the trading module have been deleted. This clean-up action was undertaken to simplify the codebase and remove excessive constraining of adapters, thereby improving project maintainability.
Classes in the backend trade adapter module have been renamed to improve clarity and maintain convention. These changes include the addition of prefixes like Mybatis and Rest to indicate the context of the class.
Adjusted how message objects are created and used in multiple test and service files. Removed unnecessary assertion lines and streamlined code for cleaner, simplified logic for request port service tests. Updated how JsonNode objects are used in inter-module communication service.
The addition of five different mapper classes to the BootTradeModuleController was completed. These mappers bring about a new functionality to map data transfer objects (DTOs) to domain objects. The change will affect the way data is processed within the BootTradeModuleController, hence enhancing its functionality and encapsulation adherence.
Several DTO, entity, and mapper classes related to the exploration-module have been deleted. This significant cleanup removes unnecessary code related to several classes like BodyDto, StarEntity, and StationMaxLandingPadSizeRequestEntity. The elimination of these files may impact functionality, so other solutions should be considered for the functionalities they provided.
     pricing may not need indexing for trade algo but will improve commodity look up and commodity market view

 Add index for station arrival distance
@Daniel-J-Mason Daniel-J-Mason requested a review from a team as a code owner March 15, 2024 07:25
@Daniel-J-Mason Daniel-J-Mason self-assigned this Mar 15, 2024
@Daniel-J-Mason Daniel-J-Mason added the enhancement New feature or request label Mar 15, 2024
@Daniel-J-Mason Daniel-J-Mason merged commit 83a0318 into development Mar 15, 2024
4 checks passed
@Daniel-J-Mason Daniel-J-Mason linked an issue Mar 18, 2024 that may be closed by this pull request
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.

Increase trade query performance by indexing database columns
2 participants