Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

of

Serverless testing @ serverlessdays Hamburg Slide 1 Serverless testing @ serverlessdays Hamburg Slide 2 Serverless testing @ serverlessdays Hamburg Slide 3 Serverless testing @ serverlessdays Hamburg Slide 4 Serverless testing @ serverlessdays Hamburg Slide 5 Serverless testing @ serverlessdays Hamburg Slide 6 Serverless testing @ serverlessdays Hamburg Slide 7 Serverless testing @ serverlessdays Hamburg Slide 8 Serverless testing @ serverlessdays Hamburg Slide 9 Serverless testing @ serverlessdays Hamburg Slide 10 Serverless testing @ serverlessdays Hamburg Slide 11 Serverless testing @ serverlessdays Hamburg Slide 12 Serverless testing @ serverlessdays Hamburg Slide 13 Serverless testing @ serverlessdays Hamburg Slide 14 Serverless testing @ serverlessdays Hamburg Slide 15 Serverless testing @ serverlessdays Hamburg Slide 16
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

0 Likes

Share

Download to read offline

Serverless testing @ serverlessdays Hamburg

Download to read offline

My talk about Serverless testing at Serverlessdays Hamburg

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

Serverless testing @ serverlessdays Hamburg

  1. 1. Avishai Shafir VP Product, Lumigo.io Serverless Testing
  2. 2. UIUI UnitUnit ComponentComponent Testing Pyramid
  3. 3. UIUI TextUnit ComponentComponent Component Integration API Component Stay the same UI Stay the same Unit Testing SLS Pyramid
  4. 4. Local VS. Cloud
  5. 5. 1. Serverless Framework 2. SAM (Lambda, APIGW, Step Functions) 3. Lambda-local 4. LocalStack 5. JawsLocalServer 6. https://github.com/sportarchive/aws- lambda-python-local 7. https://github.com/lambci/docker-lambda 8. Azure Functions Core Tools Local Testing Tools
  6. 6. 1. Fast 2. Cheap 3. Easier to debug ProsLocal Testing 1. Latest ? 2. Different configuration 3. Not everything can be mocked Cons
  7. 7. 1. DynamoDB 2. S3 3. Kinesis 4. Cognito Services – on CloudHybrid 1. API Gateway 2. Lambda Functions – Local Easy Debug, Short deploy time
  8. 8. • Production like • Account per developer • Cost • Deploy time Cloud Testing
  9. 9. Test The Limits
  10. 10. TWEAK YOUR FUNCTION’S COMPUTING POWER TEST https://www.jeremydaly.com/15-key-takeaways-from-the-serverless-talk- at-aws-startup-day/
  11. 11. Correlation Between Components When There is A Bug
  12. 12. TRACE Manually add trace-id
  13. 13. TRACE Manually add trace-id • https://opentracing.io/ • https://opencensus.io/ • https://www.jaegertracing.io/
  14. 14. Use distributed tracing automation platform like Lumigo.io TRACE
  15. 15. • Don’t test locally • Large Packages – consider layers • Load Test (serverless-artillery) • Test cold warm start • Split Test Dev Prod accounts • Test functions memory allocation Summery
  16. 16. Thank You Avishai@Lumigo.io @avshafir https://lumigo.io Design Dev Test Deploy Monitor Troubleshoot Learn

My talk about Serverless testing at Serverlessdays Hamburg

Views

Total views

121

On Slideshare

0

From embeds

0

Number of embeds

0

Actions

Downloads

4

Shares

0

Comments

0

Likes

0

×