Many-faced threats to Serverless security

Threats to the secu­ri­ty of our server­less appli­ca­tions take many forms, some are the same old foes we have faced before; some are new; and some have tak­en on new forms in the server­less world. As we adopt the server­less par­a­digm for build­ing cloud-host­ed appli­ca­tions, we del­e­gate even more of the oper­a­tional respon­si­bil­i­ties to our …

Many-faced threats to Server­less secu­ri­tyRead More »

The problems with DynamoDB Auto Scaling and how it might be improved

TL;DR — AWS announced the long await­ed auto scal­ing capa­bil­i­ty for DynamoDB, but we found it takes too long to scale up and doesn’t scale up aggres­sive­ly enough as it’s held back by using con­sumed capac­i­ty as scal­ing met­ric rather than actu­al request count. Here at Space Ape Games we devel­oped an in-house tech to auto scale DynamoDB …

The prob­lems with DynamoDB Auto Scal­ing and how it might be improvedRead More »

Running and debugging AWS Lambda functions locally with the Serverless framework and VS Code

One of the com­plaints devel­op­ers often have for AWS Lamb­da is the inabil­i­ty to run and debug func­tions local­ly. For Node.js at least, the Server­less frame­work and VS Code pro­vides a good solu­tion for doing just that. An often under­used fea­ture of the Server­less frame­work is the invoke local com­mand, which runs your code local­ly by …

Run­ning and debug­ging AWS Lamb­da func­tions local­ly with the Server­less frame­work and VS CodeRead More »

I’m running a live course on designing serverless architecture with AWS Lambda

Hi every­one, just a quick note to let you know that I’m run­ning a live online course with O’Reilly on design­ing server­less archi­tec­tures with AWS Lamb­da. It’s a 2-day course on Sep­tem­ber 11–12th with 6 hours in total, and it’s avail­able for free if you have a sub­scrip­tion with Safari­Book­sOn­line. Reg­is­tra­tion for the course is open till Sep­tem­ber …

I’m run­ning a live course on design­ing server­less archi­tec­ture with AWS Lamb­daRead More »

Applying the Saga pattern with AWS Lambda and Step Functions

The Saga pat­tern is a pat­tern for man­ag­ing fail­ures, where each action has a com­pen­sat­ing action for roll­back. In Hec­tor Garcia-Molina’s 1987 paper, it is described as an approach to han­dling sys­tem fail­ures in a long-run­n­ing trans­ac­tions. It has become increas­ing­ly rel­e­vant in the world of microser­vices as appli­ca­tion log­ic often needs to trans­act across …

Apply­ing the Saga pat­tern with AWS Lamb­da and Step Func­tionsRead More »

Yubl’s road to Serverless — building better recommendations with Lambda, BigQuery and GrapheneDB

part 1: overview part 2: test­ing and CI/CD part 3: ops part 4: build­ing a scal­able noti­fi­ca­tion sys­tem part 5: build­ing a bet­ter rec­om­men­da­tion sys­tem <- you’re here When I joined Yubl in April 2016, it had launched just 2 months ear­li­er, after a long and chaot­ic devel­op­ment cycle that last­ed more than 2 years …

Yubl’s road to Server­less — build­ing bet­ter rec­om­men­da­tions with Lamb­da, Big­Query and GrapheneDBRead More »

aws x-ray and lambda : the good, the bad and the ugly

AWS announced gen­er­al avail­abil­i­ty of AWS Lamb­da sup­port for AWS X-Ray back in May. It’s tak­en me a while to try it out, and whilst I see plen­ty of val­ues I think its cur­rent lim­i­ta­tions sig­nif­i­cant­ly restricts its use­ful­ness in a com­plex sys­tem. I found Lam­b­­da-spe­­cif­ic doc­u­men­ta­tions to be frag­ment­ed and I had to rely …

aws x-ray and lamb­da : the good, the bad and the uglyRead More »

Finding coldstarts : how long does AWS Lambda keep your idle functions around?

In the last post I com­pared the cold­start time for Lamb­da func­tions with dif­fer­ent lan­guage, mem­o­ry and code size. One of the things I learnt was that idle func­tions are no longer ter­mi­nat­ed after 5 min­utes of inac­tiv­i­ty. /2017/06/aws-lam­b­­da-com­­pare-cold­s­tart-time-with-dif­fer­­ent-lan­guages-mem­o­ry-and-code-sizes/ It is a fan­tas­tic news and some­thing that Ama­zon has qui­et­ly changed behind the scene. How­ev­er, …

Find­ing cold­starts : how long does AWS Lamb­da keep your idle func­tions around?Read More »

aws lambda — compare coldstart time with different languages, memory and code sizes

A while back we looked at the per­for­mance dif­fer­ence between the lan­guage run­times AWS Lamb­da sup­ports native­ly. /2017/03/aws-lam­b­­da-com­­par­ing-plat­­form-per­­for­­mances/ We inten­tion­al­ly omit­ted cold­start time from that exper­i­ment as we were inter­est­ed in per­for­mance dif­fer­ences when a func­tion is “warm”. How­ev­er, cold­start is still an impor­tant per­for­mance con­sid­er­a­tion, so let’s take a clos­er look with some exper­i­ments …

aws lamb­da — com­pare cold­start time with dif­fer­ent lan­guages, mem­o­ry and code sizesRead More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.