Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 2.57 KB

File metadata and controls

32 lines (23 loc) · 2.57 KB

logo

project status project stability

Node.js Client SDK

Example Requirements

  • Node version 16 or higher is required
  • A Momento API key is required, you can generate one using the Momento Console

Examples

This directory contains several subdirectories with different types of example projects:

  • Cache Examples - How to use Momento Cache. The most basic examples.
  • Topic Examples - How to use Momento Topics (aka PubSub)
  • Compression Examples - How to use compression with Momento Cache, to reduce bandwidth and data transfer costs
  • zstd Compression Examples - Advanced compession example, using native zstd binaries for compression
  • Access Control - How to implement access control using Momento API keys
  • AWS Secrets Manager - How to retrieve a Momento API key stored as a secret in AWS Secrets Manager and use it to create a cache
  • AWS Lambda Examples - How to use the Momento Node.js SDK in AWS Lambda functions
  • AWS EventBridge Example - Demo app illustrating how to build a write-through cache for DynamoDB using DDB Streams, EventBridge, and Momento
  • Load Generator - An example load generator for observing Momento performance
  • Observability - How to configure logging, metrics and traces
  • MongoDB + Momento Cache Read-aside Example - A simple example of using Momento Cache as a read-aside cache for simple MongoDB calls
  • Token Vending Machine - Built using AWS CDK, API Gateway and Lambda, the primary use for the Token Vending Machine is to provide temporary, restricted scope Momento API keys. These tokens can be used by browsers that are running apps written against the Momento Web SDK.

For more info, visit our website at https://gomomento.com!