Learn to build a scalable leaderboard service using Momento's Sorted Set collections with a step-by-step guide. The guide covers creating API routes for submitting scores, getting user rankings, and listing leaderboard entries, all implemented with AWS Lambda and API Gateway. It also provides tips for securely handling API keys with AWS Systems Manager Parameter Store.

14m read timeFrom theburningmonk.com
Post cover image
Table of contents
Pre-requisitesUnderstanding Momento’s Sorted SetArchitecture overviewStep 1: Creating a new cacheStep 2: Generate API keyStep 3: Secure the API keyStep 4: Create a CDK appStep 5: Implement submitScore functionStep 6: Implement getStanding functionStep 7: Implement getLeaderboard functionStep 8: Deploy and TestWrap upLinks

Sort: