Skip to content

Making the proxy global #5

Description

@bakura10

Hi,

This issue follows an email I had with Divshot team. Right now, I am using a CDN (CloudFront) in front of my API. This offers a lot of advantages to us:

  • It serves as a proxy cache
  • It does SSL negotiation
  • It has very low latency and has fast connection to EC2 origins

I'm considering using Divshot proxy as this CORS shitty thing adds a lot of overhead in our case because of the preflight requests. However, the proxy seems to not be distributed, and it would be awesome if it could be distributed globally. As I'm located in France, I'd prefer it to do:

  • Divshot Proxy in Europe => CloudFront in Europe => Origin in US

Rather than:

  • Divshot Proxy in US => CloudFront in US => Origin in US

This way, I could still benefit from lower latency as content will be served from CloudFront!

Hope it makes sense :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions