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

Investigate options/impact of edge routing vs subdomain hosting [0.5 days] #8

Open
Tracked by #6
Harjot1Singh opened this issue Jul 10, 2022 · 1 comment
Open
Tracked by #6
Labels
⧬ Type Spike Knowledge exploration for investigating/prototyping a technical approach to some requirement.

Comments

@Harjot1Singh
Copy link
Member

Harjot1Singh commented Jul 10, 2022

Motivation

Since we'd like to point some APIs to buckets, and others to something that dynamically runs, there is a question around how we'd surface this as a consistent API URL. We'd like developers to always be able to access the Content API at the same place, in the same way, and allow us to update this over time.

We do not want to introduce unnecessary latency and kill the speed of our API for "cosmetic" reasons.

There are two broad options:

  • Edge workers to handle routing - this will mean we'll incur run costs for hits to this, but it won't be a problem if we're planning to route through edge workers anyway
  • DNS to update hosts directly: content.api.shabados.com/content.shabados.com

Goal

A PoC of an edge router communicating with another worker to investigate the performance impact of the additional call.

@Harjot1Singh Harjot1Singh mentioned this issue Jul 10, 2022
2 tasks
@Harjot1Singh Harjot1Singh added the ⧬ Type Spike Knowledge exploration for investigating/prototyping a technical approach to some requirement. label Jul 10, 2022
@Harjot1Singh Harjot1Singh changed the title Investigate options/impact of edge routing vs subdomain hosting Investigate options/impact of edge routing vs subdomain hosting [0.5 days] Jul 10, 2022
@Harjot1Singh Harjot1Singh moved this to Triage in Project Management Jul 10, 2022
@Harjot1Singh Harjot1Singh moved this from Triage to Ready for Development in Project Management Jul 10, 2022
@swissarmykirpan
Copy link

We also need to consider how we are going to control the access to the blobs as well as managing things like throttling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⧬ Type Spike Knowledge exploration for investigating/prototyping a technical approach to some requirement.
Projects
Status: Ready for Development
Development

No branches or pull requests

2 participants