-
Notifications
You must be signed in to change notification settings - Fork 0
2. Edge Compute Workshop
If you have not done so already, to get started, please follow the instructions on the Start Here page.
While not important for the first few simpler exercises, please be aware there are some considerations around the sizes of memory and data for Compute, see the links in section 5. Useful Links
![Screenshot 2023-10-23 at 10 47 37 pm](https://private-user-images.githubusercontent.com/202191/277326490-287902f8-a3d3-4b4a-9be6-f5771eb18d88.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzM0MDUsIm5iZiI6MTczOTQ3MzEwNSwicGF0aCI6Ii8yMDIxOTEvMjc3MzI2NDkwLTI4NzkwMmY4LWEzZDMtNGI0YS05YmU2LWY1NzcxZWIxOGQ4OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QxODU4MjVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZGM5MDI4NjhmMmIyZTA4NjdlODE3YzY4YzhmNDAxOWRmZGQ2ZDE4N2M5ZmNmN2RlNWFiZTJkNjAwMDRlM2ZiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.2mQ-wjoXvDb9--WF8e5AM1hdQKsAA5brfpAFE9rKIfg)
Helpful Links
- https://developer.fastly.com/learning/compute/javascript/#communicating-with-backend-servers-and-the-fastly-cache
- https://developer.fastly.com/reference/compute/fastly-toml/#backends
- https://developer.fastly.com/learning/compute/#limitations-and-constraints
Helpful Links
If you are not already familiar with the concepts of service chaining and shielding, perhaps have a look at: https://developer.fastly.com/learning/concepts/service-chaining/ https://developer.fastly.com/learning/concepts/shielding/
Currently, Compute does not support some of the functionality you may be used to using in VCL, including shielding, so that is an example where you would want a VCL service in front of the Compute service.
We created expressly, a lightweight and minimalist routing layer for JavaScript apps running on Fastly's Compute@Edge, and inspired by the popular Node.js framework, Express. https://expressly.edgecompute.app/ https://www.fastly.com/blog/write-less-do-more-at-the-edge-introducing-expressly
- Glitch for an easy way to have a backend in your project
- Compute Limitations and Constraints
- Fastly Account Resource Limits
- Glossary
Note: if you have a paid account, we can often increase these limitations to better suit your needs!
A suggested solution for each challenge is provided here, however there are many other possibilities so these are just provided as a guide in case you get stuck!