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

[Portal UI] Customizable QoS (i.e. retry logic) provided by customers #146

Open
10 tasks
bulutcambazi opened this issue Jan 23, 2025 · 1 comment
Open
10 tasks
Labels
customer-fr customer feature request portal-ui Features we'll add in the portal UI

Comments

@bulutcambazi
Copy link

bulutcambazi commented Jan 23, 2025

Objective

Implement a centralized & customizable (UI based) auto-retry toggle for failed RPC calls in Portal.

Origin Document

Current RPC calls have ~90% success rate, requiring retry logic implementation for most calls.

A centralized retry mechanism would improve developer experience by handling failures automatically through either a UI toggle in Portal or HTTP headers.

Goals

  • Improve RPC call reliability for customers
  • Allow customers to configure their service for their own needs
  • Reduce implementation burden on developers
  • Maintain network health while handling retries

Deliverables

  • Design & implement a retry mechanism with configurable parameters in the PATH repo
  • Implement UI toggle in Portal UI for enabling + configuring auto-retry
  • Add support for retry configuration via HTTP headers
  • Allow setting how many retries a customer is okay with
  • Allow applying a retry setting to either one or all user endpoints
  • Add metrics/logging for retry attempts and success rates

Non-goals / Non-deliverables

  • Building custom retry logic for specific use cases
  • Implementing complex backoff strategies
  • Adding retry support for non-RPC endpoints

General deliverables

  • Comments: Document retry logic and configuration options
  • Testing: Add unit tests for retry mechanism and integration tests for UI/API
  • Documentation: Update Portal documentation with retry configuration details
  • Makefile: Add targets for testing retry functionality

Creator: @bulutcambazi
Co-owners: @Olshansk @fredteumer

@Olshansk Olshansk added this to the Portal to PATH Migration milestone Jan 23, 2025
@Olshansk Olshansk changed the title [REPLACE_WITH_IDENTIFIER] User configurable retry logic [Portal UI] Customizable QoS (i.e. retry logic) provided by customers Jan 23, 2025
@Olshansk Olshansk added portal-ui Features we'll add in the portal UI customer-fr customer feature request labels Jan 23, 2025
@Olshansk Olshansk moved this to 📋 Backlog in Path Roadmap Jan 23, 2025
@Olshansk
Copy link
Contributor

Olshansk commented Jan 23, 2025

@bulutcambazi Ty for the issue!

I've updated the details. You can see the previous versions of the issue here:

Image

But I'm also uploading a screenshot for posterity:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-fr customer feature request portal-ui Features we'll add in the portal UI
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants