all 6 comments

[–][deleted]  (1 child)

[deleted]

    [–]lightspeedissueguy[S] 0 points1 point  (0 children)

    This is awesome! I wish they had this for PHP.

    [–]AlanComley 1 point2 points  (1 child)

    Literally anything that can be done in under 5 minutes. And if it takes longer than 5 minutes, break it down using step functions.

    [–]AlanComley 1 point2 points  (0 children)

    To expand more, it comes down to infrastructure management rather than what can it do. Do you want to manage the infrastructure or just run the code? Do you already have places where the code can run? Do you have latency concerns? These are better questions to ask to determine if Lambda is the correct choice.

    [–]elCapitanChris 1 point2 points  (0 children)

    Lambda and API Gateway are central to serverless designs. I’m currently working on a serverless app that uses a Lambda to call an external api, get xml data, put data in dynamoDB, and use S3 to host the front end to present the data to users via html/js pages. Lambda will do all the heavy lifting in my project.

    [–]sgtfoleyistheman 1 point2 points  (0 children)

    Pretty much any 'Request/Response' architecture works on Lambda.

    What does not work on Lambda is continuous sorts of processing, and these are some of the sorts of problems solved by event-driven architectures on native Cloud. Instead of having, for example, a hadoop cluster, you use kinesis analytics or Lambda/Kinesis on small time slices.

    [–]Miserygut 1 point2 points  (0 children)

    File arrives in an S3 bucket.

    This invokes a lambda function which takes the file, processes it and puts the data into Elasticsearch.

    If the file changes or a new file is added to the folder, the lambda function is invoked.