Tag Archives: Lambda

Video: Lambda Days 2015 – Justin Leitgeb – A Year of Haskell


Video: Building an Application With JAWS: The AWS Lambda-based Serverless Framework


Building an Application With JAWS: The AWS Lambda-based Serverless Framework
// DZone.com Feed

There’s so much great content from the Amazon re:Invent conference that it’s almost impossible to get through it all. I’m going to share some of my favorites over the next few weeks. Here is a presentation on JAWS. An intriguing serverless framework built on AWS Lambda and several other AWS services.

Here’s the presentation description:

Startup Tutorial – Signup Emails with AWS Lambda and DynamoDB


Startup Tutorial – Signup Emails with AWS Lambda and DynamoDB
// HackPundit

This blog explains how to setup signup emails with AWS Lambda and DynamoDB for the backend. Emails processed by the AWS Lambda function will be stored in DynamoDB. Perfect for startups. How to invoke your Lambda via rest is mentioned at the end of the article. You can create your signup landing page with this […]

The post Startup Tutorial – Signup Emails with AWS Lambda and DynamoDB appeared first on HackPundit.

Java 8 Lambda Expression for Design Patterns – Command Design Pattern


via Java 8 Lambda Expression for Design Patterns – Command Design Pattern | gssachdeva.

In this blog I would illustrate implementing the command pattern in functional programming style using Java 8 Lambda expressions. The intent of command pattern is to encapsulate a request as an object, thereby parameterizing clients with different requests, queue or log requests, and support corresponding operations. The command pattern is a way of writing generic code that sequences and executes methods based on run-time decisions. The participants in this pattern are following:

  • Command – Declares an interface for executing an operation.
  • ConcreteCommand – Defines a binding between a Receiver object and an action.
  • Client – Creates a ConcreteCommand instance and sets its receiver.
  • Invoker – Controls the command(s) to carry out the request(s).
  • Receiver – Performs the actual work.

Translating Webhooks with AWS API Gateway and Lambda


via Translating Webhooks with AWS API Gateway and Lambda | R.I.Pienaar.

Webhooks are great, so many services now support them but I found actually doing anything with them a pain as there are no standards for what goes in them and any 3rd party service you wish to integrate with has to support the particular hooks you are producing.

For instance I want to use SignalFX for my metrics and events but they have very few integrations. A translator could take an incoming hook and turn it into a SignalFX event and pass it onward.

For a long time I’ve wanted to build a translator but never got around to doing it because I did not feel like self hosting it and write a whole bunch of supporting infrastructure. With the release of AWS API Gateway this has become quite easy and really convenient as there are no infrastructure or instances to manage.

I’ll show a bit of a walk through on how I built a translator that sends events to Signal FX. Note I do not do any kind of queueing or retrying on the gateway at present so it’s lossy and best efforts.

AWS Lambda runs stateless functions on demand. At launch it only supported ingesting their own Events but the recently launched API Gateway lets you front it using a REST API of your own design and this made it a lot easier.

For the rest of this post I assume you’re over the basic hurdles of signing up for AWS and are already familiar with the basics, so some stuff will be skipped but it’s not really that complex to get going.

Blocks, Procs & Lambdas revisited


Blocks, Procs & Lambdas are one of the most fun things in ruby but also very difficult to understand. This is my attempt to make these things a little simple for you. What are blocks? A piece of ruby code within a do..end or within curly braces {} is a block. For ex: or We […]

https://rishionrails.wordpress.com/2015/01/11/blocks-procs-lambdas-revisited/

An example of using Java 8’s Lambda : Predicate


A simple program showing the usage of Predicate introduced with Java 8 Lambda. It prints out:

https://btsxj.wordpress.com/2015/05/20/an-example-of-using-java-8s-lambda-predicate/