All components in ThreeFold Grid need to be able to work with multiple Backend Stacks #84

Open
opened 2024-07-28 09:31:19 +00:00 by thabeta · 5 comments
Member

update ZOS, SDK-go and SDK-ts to support fallback to alternative stacks when the primary stack fails. This feature will improve reliability and resilience of applications using these SDKs.

A Stack is like a validator in a blockchain, in our case its the combination of a blockchain validator, explorer, tf hub, ... all components needed by users to be able to communicate the the provisioning of TFGrid apps.

Requirements:

  1. Configuration:

    • Allow users to specify multiple stacks in configuration
  2. Fallback Mechanism:

    • Attempt to connect to the primary stack first
    • On failure, automatically try the next stack in the priority list
    • Continue until a successful connection is made or all options are exhausted
  3. Error Handling:

    • Provide detailed error information for each failed attempt
    • Log each fallback attempt with relevant details (stack info, error message)
  4. Documentation:

    • Provide code examples demonstrating how to configure and use multiple stacks

implementation details

https://github.com/threefoldtech/home/issues/1550

update ZOS, SDK-go and SDK-ts to support fallback to alternative stacks when the primary stack fails. This feature will improve reliability and resilience of applications using these SDKs. A Stack is like a validator in a blockchain, in our case its the combination of a blockchain validator, explorer, tf hub, ... all components needed by users to be able to communicate the the provisioning of TFGrid apps. ## Requirements: 1. Configuration: - Allow users to specify multiple stacks in configuration 2. Fallback Mechanism: - Attempt to connect to the primary stack first - On failure, automatically try the next stack in the priority list - Continue until a successful connection is made or all options are exhausted 3. Error Handling: - Provide detailed error information for each failed attempt - Log each fallback attempt with relevant details (stack info, error message) 4. Documentation: - Provide code examples demonstrating how to configure and use multiple stacks ## implementation details https://github.com/threefoldtech/home/issues/1550 - [ ] threefoldtech/zos#2372 - [x] threefoldtech/tfgrid-sdk-go#1113 - [x] threefoldtech/tfgrid-sdk-ts#3078
thabeta self-assigned this 2024-07-28 09:58:35 +00:00
thabeta added this to the tfgrid_3_16 project 2024-07-28 09:58:52 +00:00
thabeta removed their assignment 2024-07-28 09:59:05 +00:00
thabeta self-assigned this 2024-07-28 09:59:32 +00:00
thabeta added the
Story
label 2024-07-28 10:18:49 +00:00
despiegk added
Task
and removed
Story
labels 2024-07-28 13:54:40 +00:00
Owner

I don;t think this is a story, this is a task, and tasks shouldn't be here

https://incubaid.zulipchat.com/#narrow/stream/448144-dev_tools/topic/proper.20stories.20.26.20gitea

I don;t think this is a story, this is a task, and tasks shouldn't be here https://incubaid.zulipchat.com/#narrow/stream/448144-dev_tools/topic/proper.20stories.20.26.20gitea
Owner
is not a story https://incubaid.zulipchat.com/#narrow/stream/448144-dev_tools/topic/proper.20stories.20.26.20gitea
thabeta added the due date 2024-08-07 2024-07-28 15:47:39 +00:00
thabeta added
Story
and removed
Task
labels 2024-07-28 15:47:46 +00:00
thabeta modified the project from tfgrid_3_16 to tfgrid_3_15 2024-08-06 14:44:15 +00:00
Author
Member

the integration is go client is done it will reflect on all of the components using it, typescript and zos still in progress

the integration is go client is done it will reflect on all of the components using it, typescript and zos still in progress
despiegk changed title from support multiple stacks per network for zos, sdks to All compoments in ThreeFold Grid need to be able to work with multiple Backend Stacks 2024-08-12 14:51:19 +00:00
despiegk changed title from All compoments in ThreeFold Grid need to be able to work with multiple Backend Stacks to All components in ThreeFold Grid need to be able to work with multiple Backend Stacks 2024-08-12 14:53:00 +00:00
Author
Member

tfgrid-sdk-ts work is in verification now

tfgrid-sdk-ts work is in verification now
Owner

no change in ZOS, but we will resolve it using DNS configuration
the other things are accepted

no change in ZOS, but we will resolve it using DNS configuration the other things are accepted
despiegk removed the due date 2024-08-07 2024-08-19 14:59:47 +00:00
despiegk added the due date 2024-08-29 2024-08-19 14:59:56 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

2024-08-29

Dependencies

No dependencies set.

Reference: tfgrid/circle_engineering#84
No description provided.