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

[IRS] ⭐🚀 Determination of the optimal resource setup for IRS #978

Open
1 of 17 tasks
mkanal opened this issue Oct 28, 2024 · 1 comment
Open
1 of 17 tasks

[IRS] ⭐🚀 Determination of the optimal resource setup for IRS #978

mkanal opened this issue Oct 28, 2024 · 1 comment
Assignees
Labels
irs Feature/Bug for Item Relationship Service component Prep-R25.03

Comments

@mkanal
Copy link

mkanal commented Oct 28, 2024

Overview

Explain the topic in 2 sentences

The determination of the optimal resource setup for IRS involves assessing various factors such as workload, scalability, and availability to ensure efficient, reliable, and cost-effective performance. This effort will help balance the resources in a way that meets both operational and budgetary constraints.

What's the benefit?

Optimizing the resource setup will improve the overall performance of the IRS product, ensuring better response times, reliability, and scalability while also reducing unnecessary resource consumption and costs. It allows the system to handle peak loads efficiently and minimizes the risk of downtime.

What are the Risks/Dependencies ?

Risk of resource misconfiguration, which could lead to performance bottlenecks or under-utilized systems.

Detailed explanation

The optimal resource setup for IRS requires an in-depth analysis of the current resource allocation and usage patterns. The current configuration may not be fully optimized for peak performance, which could lead to inefficiencies or higher operational costs. The new setup should take into account factors such as the number of cores, memory allocation, storage needs, and the ability to scale resources based on demand. Thread pooling, database optimization, and the usage of a managed, scalable database instance are critical factors that need adjustment to improve performance and reliability.

Current implementation

Currently, IRS uses a default resource setup that has not been thoroughly optimized for workload variability or scalability. The existing database setup may not be fully optimized for high-demand scenarios, and the thread pool configurations may not efficiently handle peak loads.

Proposed improvements

The improvements proposed include identifying and documenting the optimal number of cores, memory, and storage for IRS , along with configuring thread pools to handle concurrent tasks more efficiently. Additionally, database settings will be tuned for performance under defined workloads, and IRS will shift to a managed, scalable database instance to better handle variable loads and ensure availability.

Feature Team

Contributor

Committer


User Stories

As a team,
I want to determine the optimal resource setup for the IRS application,
So that the application performs efficiently, reliably, and cost-effectively, taking into account various factors such as workload, scalability, availability, and budget constraints.

Acceptance Criteria

  • Optimal resource setup for irs is known (cores, memory, storage requirements) including documentation and proof why we use this setup
  • Optimal Thread Pooling and thread pool configurations
  • Database settings are optimized for defines scenario
  • [ ]IRS uses a managed scalable database instance

Test Cases

Test Case 1

Verify that the IRS application is running with the optimal resource setup in terms of CPU cores, memory, and storage.

Steps

  1. Deploy IRS with the defined optimal resource setup (e.g., number of cores, memory, storage).
  2. Simulate various workload scenarios, including peak and low usage periods.
  3. Monitor system performance and resource utilization during each scenario.

Expected Result

  1. IRS performs efficiently without resource overutilization or underutilization.
  2. Response times remain within acceptable limits across different workloads.
  3. No resource exhaustion (e.g., CPU or memory) occurs during peak loads, and resource consumption scales down appropriately during low usage.

Test Case 2

Verify that the thread pooling configuration efficiently handles concurrent requests and scales based on the workload.

Steps

  1. Configure thread pools as per the proposed optimal settings.
  2. Simulate multiple concurrent API requests with varying load levels (light, moderate, heavy).
  3. Monitor system performance and response times.

Expected Result

  1. IRS handles concurrent requests efficiently without delays or performance degradation.
  2. Thread pooling dynamically adjusts to accommodate varying request volumes, preventing thread starvation or overflow.
  3. Resource usage (CPU and memory) remains within optimal limits during heavy loads.

Architectural Relevance

The following items are ensured (answer: yes) after this issue is implemented:

Justification: (Fill this out, if at least one of the checkboxes above cannot be ticked. Contact the Architecture Management Committee to get an approval for the justification)

Additional information

  • I am aware that my request may not be developed if no developer can be found for it. I'll try to contribute a developer (bring your own developer)
@mkanal mkanal added Prep-R25.03 irs Feature/Bug for Item Relationship Service component and removed Prep-R25.03 labels Oct 28, 2024
@mkanal mkanal added this to the 25.03 milestone Oct 28, 2024
@mkanal mkanal changed the title [IRS] ⭐ Determination of the optimal resource setup for IRS [IRS] ⭐🚀 Determination of the optimal resource setup for IRS Oct 28, 2024
@stephanbcbauer stephanbcbauer removed this from the 25.03 milestone Nov 6, 2024
@stephanbcbauer
Copy link
Member

Some hints from Release Management (@ther3sa) and Tractus-X Project Lead (@stephanbcbauer)

  • Status currently in Backlog -> Since for Backlog some requirements are missing ... please update them
  • Please add missing sections from the feature template, or fill them out
  • Please add assignee (overall responsible person who drives the feature)

@mkanal mkanal self-assigned this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
irs Feature/Bug for Item Relationship Service component Prep-R25.03
Projects
Status: Backlog
Development

No branches or pull requests

2 participants