GithubHelp home page GithubHelp logo

serverless-examples's Introduction

Serverless Examples

This repository contains small serverless application examples to demonstrate different types of integrations, workflows, and design patterns.

API Gateway Integrated SQS Queue

This application provides an HTTP interface to an SQS queue. A Lambda function is attached to the queue and will automatically poll for messages using the SQS Event.

By making the interface generic like this it is easier to integrate queued systems with other applications and services as you no longer are required to use AWS SDKs for interaction. Send a HTTP POST with a JSON body to the API Gateway and it will be added to the queue.

S3 Events Integrated SQS Queue

Instead of allowing S3 to spawn as many Lambdas as it needs for an influx of files to your bucket, you can send S3 events directly to an SQS queue and have those processed by Lambda. Consider this approach in situations where you expect high throughput, or you must control the rate of execution for the processing.

S3 File Processing

A basic application that will process file uploads to an S3 bucket. Using the embedded copy of requests within the botocore module, the Lambda sends the successfully parsed JSON to an external HTTP destination.

This app leverages the Filter option for S3 Events to only process uploaded JSON files and will ignore any other file type. Use filters to process different files using different dedicated Lambda functions.

MacAdmins 2018 Links

These are links shown during my presentation "Dive into Lambda: An Intro to Serverless for Admins" from the Penn State MacAdmins 2018 conference. They server as excellent resources for anyone beginning to develop applications using serverless resources.

serverless-examples's People

Contributors

brysontyrrell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.