October 2022 Summaries
2 posts from Upstash
Filter
Month:
Year:
Post Summaries
Back to Blog
Serverless compute platforms, like AWS Lambda, offer great flexibility, but their full potential is realized when paired with serverless databases such as Upstash Redis, which meets key requirements like pay-as-you-go pricing, low latency, and a strong developer experience. This article details the implementation of a platform using AWS Lambda and Upstash Redis to create three API endpoints: login, list completed lessons, and mark lessons as complete. The setup includes creating a workspace in Go, configuring local and AWS Lambda server entry points, and implementing the API with middleware for session management. Testing locally and deploying with AWS SAM is covered, along with security considerations for managing Redis credentials. The performance of Upstash Redis is highlighted, with hot invocation times for requests being impressively low, demonstrating the efficiency and scalability of combining AWS Lambda with Upstash Redis in serverless architectures.
Oct 14, 2022
3,468 words in the original blog post.
Feature flags, or feature toggles, are a valuable tool for decoupling software changes from deployments, allowing teams to make changes without immediate release. This flexibility is achieved by using simple database-stored variables to determine which version of a feature to activate, empowering non-technical teams to manage features without developer intervention. The tutorial outlines how to implement a feature flag mechanism in a Next.js application using Upstash Redis, a fast key-value store that ensures minimal latency impact. By setting up a Next.js project, connecting it to Upstash Redis, and deploying it on Vercel, users can switch between different feature implementations, such as sorting algorithms, through API routes. This approach not only enhances deployment flexibility but also leverages Upstash Redis's sub-second access times and cost-effective on-demand pricing, making it an efficient solution for feature management in modern web applications.
Oct 04, 2022
1,486 words in the original blog post.