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

ADRs: 017-019 - Adding Impact Sections #1628

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tjohnson7021
Copy link
Contributor

Description

This PR covers filling in the impact sections for ADRs 017-019 so that it is understood why the decision was made at the time and what the concerns were.

This PR errs on the side of being more verbose than not so that unneeded items can be stripped away during review, so please read carefully.

Issue #1247

Checklist

  • I have updated the documentation accordingly

@tjohnson7021 tjohnson7021 added the devex/opex A development excellence or operational excellence backlog item. label Nov 28, 2024
@tjohnson7021 tjohnson7021 self-assigned this Nov 28, 2024
Copy link

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis ✅

1247 - Fully compliant

Fully compliant requirements:

  • Complete Impact section for previously completed ADRs.
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected


### Positive

- **High Performance:** HikariCP outperforms other connection pool libraries in terms of throughput and latency, enhancing application responsiveness.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding specific examples or metrics to support claims about performance and scalability in the Impact section. This would provide clearer insights into the benefits of using HikariCP for connection pooling. [important]


### Risks

- **Migration Errors:** Incorrectly defined migration scripts could cause deployment failures or data integrity issues.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be beneficial to include a subsection under Risks about potential security concerns with migration scripts, such as exposure of sensitive data or SQL injection risks, and how to mitigate them. [important]


### Negative

- **Increased Complexity:** Adds another table to the database, which introduces additional queries and joins in the codebase.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To enhance the Negative section, consider discussing the potential increase in maintenance costs associated with managing an additional table, especially in terms of database administration and backup complexities. [medium]

Copy link

PR Code Suggestions ✨

No code suggestions found for the PR.

Copy link

sonarcloud bot commented Nov 28, 2024



- **GitHub Action Reliability:** Relying on prebuilt GitHub Actions introduces a dependency on external tools, which may have compatibility or update issues over time.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider adding a risk here regarding changelog structure, as it can affect ability to make changes when one table is referencing another such as our message_link table referencing the received_message_id column in the metadata table (relevant liquibase documentation regarding structure https://docs.liquibase.com/start/design-liquibase-project.html)


- **Schema Evolution:** Future changes to linking logic or requirements may necessitate updates to the `message_link` table structure.


Copy link
Contributor

@GilmoreA6 GilmoreA6 Nov 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similar to comment above on 018-sql-migrations, adding another table increases potential rollback complexity

Copy link
Contributor

@GilmoreA6 GilmoreA6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added two comments to consider on risk sections of 018 and 019, but otherwise looks good

### Risks

- **Connection Leaks:** Improperly handled connections could lead to resource exhaustion, affecting application stability.
- Incorrect Configuration: Poorly tuned settings may result in underutilized or overburdened pools.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing bold and new line.

Copy link
Contributor

@pluckyswan pluckyswan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides my nitpick and Gilmore's comments, LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devex/opex A development excellence or operational excellence backlog item.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants