GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - barchart/aws-lambda-suppressor: JavaScript utility for suppressing duplicate AWS Lambda invocations

BranchesTags
Open more actions menu

Latest commit

 

History

112 Commits
112 Commits

Folders and files

NameName
Last commit message
Last commit date
.releases
.releases
 
 
lib/dynamo
lib/dynamo
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
.jshintrc
.jshintrc
 
 
.npmignore
.npmignore
 
 
.npmrc
.npmrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
buildspec.yml
buildspec.yml
 
 
gulpfile.js
gulpfile.js
 
 
package.json
package.json
 
 

Repository files navigation

@barchart/aws-lambda-suppressor

AWS CodeBuild NPM

A public JavaScript package for tracking and suppressing duplicate invocations of AWS Lambda Functions.

Workflow

  • Each Lambda invocation includes an event object.
  • Depending on the event source, a unique identifier can usually be extracted.
  • The DynamoMessageValidator saves these unique identifiers to DynamoDB (using a conditional writes).
  • Failure indicates another Lambda has already processed the same event and processing should be suppressed.

Usage

This package is typically used with a simple framework found in the @barchart/common-node-js library.

  • First, instantiate a LambdaEventValidator and add a DynamoMessageValidator instance.
  • Then, plug the LambdaEventValidator into your LambdaHelper by overriding its getValidator function.

License

This software is provided under the MIT license.

About

JavaScript utility for suppressing duplicate AWS Lambda invocations

Topics

dedupededuplicationduplicate-detectiondynamodbjavascriptlambdapublic-repositoryserverless

Resources

Readme
License
Activity
Custom properties

Stars

7 stars

Watchers

15 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.