Home / Companies / Upstash / Blog / Post Details
Content Deep Dive

Use RedisĀ® in Fastly Compute

Blog post from Upstash

Post Details
Company
Date Published
Author
Enes Akar
Word Count
889
Language
English
Hacker News Points
-
Summary

This text describes a step-by-step guide to creating a simple serverless application using Fastly's Compute@Edge platform in conjunction with Upstash Redis to track page views. The guide highlights the advantages of edge computing, such as improved performance and global distribution, facilitated by platforms like Fastly that support languages including Rust, AssemblyScript, and JavaScript. The application relies on Upstash Redis for external storage due to the stateless nature of Fastly Compute functions and the restriction on TCP connections by using WebAssembly as the runtime. It details the setup process, including installing the Fastly CLI, configuring a project, and integrating Upstash Redis through REST API, emphasizing the need for configuring external network connections as backends in Fastly. The guide also includes instructions for local testing and deployment, and it encourages feedback to improve the Upstash platform.