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

Update demo page to use a Netlify serverless function #48

Open
Flet opened this issue Jun 17, 2020 · 1 comment
Open

Update demo page to use a Netlify serverless function #48

Flet opened this issue Jun 17, 2020 · 1 comment
Assignees

Comments

@Flet
Copy link
Member

Flet commented Jun 17, 2020

Hello! Hope folks are doing well!

What problem do you want to solve?
Right now the demo is powered by standardizer which is currently served by Glitch.com at https://standardizer.glitch.me/. This worked well for quite a while, but now there is a 10-15 second delay when hitting the service as Glitch fires it up.

What do you think is the correct solution to this problem?
Moving standardizer logic into a Netlify serverless function may be an OK solution since the site is using Netlify currently. The cold start is a bit better on Netlify I presume.

Its a very small set of logic that could be recreated here in /api. Netlify would deploy it as part of current deployment process (Netlify Serverless Functions).

Maybe this issue belongs in the standardizer project, I dunno :)

Are you willing to submit a pull request to implement this change?
I'm happy to work on this eventually if folks think its worthwhile.
If someone else wants to pick it up, go for it! Happy to review!

@feross
Copy link
Member

feross commented Nov 10, 2020

@Flet Go for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants