You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to enhance the resilience and reliability of our SDK, we would like to introduce an Exponential Retry mechanism for retrying failed requests. Additionally, to ensure the idempotent processing of requests, it's vital to incorporate support for providing an Idempotency Key as per the draft specified in the HTTP Idempotency Key Header Field.
The key requirements for this implementation include:
Exponential Retry Mechanism:
The SDK should retry failed requests following an exponential backoff strategy to minimize the contention and impact on the systems involved.
The SDK should ensure that the retry mechanism is configurable (e.g., max retries, initial delay, maximum delay).
Idempotency Key Provisioning:
The SDK should allow for either automatic or manual provisioning of an Idempotency Key for each request.
The Idempotency Key should conform to either CUID, ULID, or UUID formats as specified in the draft.
The Idempotency Key should be included in the HTTP Header as Idempotency-Key and following the standards outlined in the draft.
Configuration and Documentation:
The SDK should provide configuration options for enabling/disabling the Exponential Retry mechanism and Idempotency Key provisioning.
Comprehensive documentation should be provided explaining the configuration options, operational behavior, and the benefits of using the Exponential Retry mechanism along with Idempotency Keys.
Acceptance Criteria:
Implementation of the Exponential Retry mechanism with configurable parameters.
Provisioning of Idempotency Keys, either automatically or manually, conforming to specified formats (CUID, ULID, or UUID).
Adequate unit and integration testing to ensure the robustness and reliability of the implemented features.
Comprehensive documentation on the usage and configuration of the Exponential Retry mechanism and Idempotency Key provisioning.
Update: You can reference the go-lang library to keep the method signature and configuration the same. novuhq/go-novu#62
Please refer to the draft for further details on the HTTP Idempotency Key Header Field and ensure adherence to the specified standards while implementing this feature in the SDK.
The text was updated successfully, but these errors were encountered:
Just so you know, we had already had the subject before and some ideas allow on the repository to set up such a system, without treating it in the lib because it depends on what the users want:
In order to enhance the resilience and reliability of our SDK, we would like to introduce an Exponential Retry mechanism for retrying failed requests. Additionally, to ensure the idempotent processing of requests, it's vital to incorporate support for providing an Idempotency Key as per the draft specified in the HTTP Idempotency Key Header Field.
The key requirements for this implementation include:
Exponential Retry Mechanism:
Idempotency Key Provisioning:
Idempotency-Key
and following the standards outlined in the draft.Configuration and Documentation:
Acceptance Criteria:
Update: You can reference the go-lang library to keep the method signature and configuration the same.
novuhq/go-novu#62
Please refer to the draft for further details on the HTTP Idempotency Key Header Field and ensure adherence to the specified standards while implementing this feature in the SDK.
The text was updated successfully, but these errors were encountered: