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

[TRACE-X]⭐🚀 Switch to IRS Order API for scalable Job Processing #946

Open
1 of 21 tasks
mkanal opened this issue Oct 23, 2024 · 1 comment
Open
1 of 21 tasks
Assignees
Labels
ic represents features/dependencies to the industry core Prep-R25.03 trace-x Feature/Bug for Trace-x component
Milestone

Comments

@mkanal
Copy link

mkanal commented Oct 23, 2024

Overview

Explain the topic in 2 sentences

Trace-X currently utilizes a Job API that processes each job individually, resulting in limited scalability.
By integrating the IRS Order API, irs processes multiple jobs in batches, allowing for parallel processing of twins, thereby improving overall system efficiency and scalability.

What's the benefit?

Usage of IRS Order API which is designed to process big amount of data and focussing more on performance.

What are the Risks/Dependencies ?

  • Nothing to report

Detailed explanation

Trace-X to switch from the current Job API to the IRS Order API,

Current implementation

Trace-X used current Job API

Proposed improvements

Trace-X used IRS Order API

Feature Team

Contributor

Committer


Current State:

Trace-X currently utilizes a Job API that processes each job individually, resulting in limited scalability.

By integrating the IRS Order API, irs processes multiple jobs in batches, allowing for parallel processing of twins, thereby improving overall system efficiency and scalability.

User Story

As a customer
I want Trace-X to switch from the current Job API to the IRS Order API,
so that we can achieve scalable job processing by enabling batch processing of multiple twins in parallel.

Hint

{
  ..
  "jobTimeout": 3600,
 ...
  "timeout": 43200
}

Acceptance Criteria

  • Trace-X uses IRS Order API for retrieving assets.
  • Trace-X handles batches results by irs in a sufficient way and handles error situations sufficiently.
  • Trace-X handles and monitors order status to ensure that all transferred twins have been processed
  • Trace-X tries to cancel orders if defined thresholds of 12 h is reached. PUT /irs/order/{id}
  • Performance metrics should demonstrate improved job processing times compared to the existing individual job processing approach.
  • Ensure that the new batch processing in Trace-X is reliable and handles errors gracefully.
  • Execute and document a benchmark test after implementation in Confluence

Test Cases

Test Case 1

Steps

  1. Do something
  2. Click something
  3. Add something

Expected Result

  1. Expectation
  2. Expectation
  3. Expectation

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 converted this from a draft issue Oct 23, 2024
@mkanal mkanal added Prep-R25.03 trace-x Feature/Bug for Trace-x component labels Oct 23, 2024
@mkanal mkanal added this to the 25.03 milestone Nov 5, 2024
@eckardg eckardg added the ic represents features/dependencies to the industry core label Nov 6, 2024
@eckardg eckardg 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
@stephanbcbauer stephanbcbauer added this to the 25.03 milestone Nov 14, 2024
@stephanbcbauer stephanbcbauer moved this from Backlog to Work in progress in Release Planning Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ic represents features/dependencies to the industry core Prep-R25.03 trace-x Feature/Bug for Trace-x component
Projects
Status: Work in progress
Development

No branches or pull requests

3 participants