r/awslambda • u/aptacode • Apr 11 '23
r/awslambda • u/sjrhee • Feb 16 '23
Good Developer Experience Programming Language for AWS Lambda
Like the title, which language you prefer to use for AWS lambda? I don’t have many experience, but my personal opinion.
Python:
Easy to use
But might be slow since it is Python
But the slow performance might be fine, because Lambda is used for not heavy calculation because of time limit
Node:
Big community and first target language for serverless
might be slow as well
Personally don’t like node’s coding style such as async, callback, etc
Java:
Long cold start
But this cold start can be much faster if use Lambda snapstart
But it’s fast if it comes to warm start phase
Guess build file’s size might be pretty big
Go:
Performance is good
Build binary file might be pretty light weight
Goroutine is good for parallel programming
Small community, and this might cause lack of support (I have some problems with using aws-sdk-v2)
Kotlin(Adding for fun, butI think it can be a good option as well)
Have Syntax sugar to not use Java any more and provide better developer experience
Can use all of the Java’s packages, so have a big community support
Many options to compile (GraalVM, JVM, JS)
GraalVM compile has actually has fast cold start
Coroutine will be good for parallel programming
But still have big build size I guess
How do you guys think?
r/awslambda • u/albion_B18 • Jan 24 '23
Deployment of AWS Lambda Node.js App with MySQL via GitlabCI
r/awslambda • u/Hopeful-Awareness521 • Jan 24 '23
Deploying a node js project on aws lambda?
I created a project with react js as frontend and node js as backed it uses 2 api’s , one for sending messages and other for notification it doesn’t have a database. Can someone tell me if i can deploy it on aws lambda and if i can, is there any tutorial or guidance you can help me with. ty
r/awslambda • u/williamioniana • Jan 14 '23
Can anyone help me import python modules?
So I recently tried to import some modules onto my lambda function using this aws tutorial. I am able to install pandas and numpy, however, I could not install another module which is named tda-api. I repeated the whole process cloud9 seems to only upload layers if I do not pip install tda-api. Any help would be greatly appreciated.
r/awslambda • u/[deleted] • Jan 09 '23
Is using global variables not a good practice? (Python)
Basically the above
r/awslambda • u/grouvi • Dec 05 '22
Starting up faster with AWS Lambda SnapStart | AWS Compute Blog
r/awslambda • u/Observability_Team • Sep 19 '22
For the OpenTelemetry fans, a quick guide on how to instrument AWS services with OpenTelemetry
Instrumenting AWS SQS, DynamoDB, and Lambda services with OpenTelemetry in a simple microservices system and exporting traces for visualization.
https://www.aspecto.io/blog/getting-started-with-opentelemetry-aws/
r/awslambda • u/raevilman • Jun 12 '22
AWS Lambda Deployer plugin for JetBrains IDE like IntelliJ, PyCharm etc
Hi community,
I have been a developing this plugin for more than a year.
Last day I published a version that supports AWS SSO profiles. So thought of sharing here.
It also supports Lambda Layers management.
Link: https://plugins.jetbrains.com/plugin/14742-aws-lambda-deployer
The above page has also got links to demo videos.
I would really appreciate your feedback.
Thanks.
r/awslambda • u/Owltown89 • Jun 09 '22
How to use moviepy on aws lambda?
How do I import moviepy on aws? I want to create functions that would resize video files and extract their audios.
r/awslambda • u/sandro-_ • May 26 '22
AWS SNS vs. SQS - What are the main differences?
r/awslambda • u/ugros • Apr 13 '22
Feedback wanted: Stacktape - Full power of AWS with Heroku-like experience
Hello, Stacktape creator here. I’d like to hear your feedback on the product we’ve been working on for the last 2.5 years - https://stacktape.com.
I’ve been working with AWS for more than 6 years now. And it always felt like I’m missing a PhD in AWS. I’ve tried all the tools that were supposed to make it easier (Serverless framework, SAM, Amplify, CDK, Pulumi, and more). But none of them could sufficiently abstract the complexity away. To create a production-grade application, I still had to understand all the AWS concepts like VPCs, Security groups, Subnets, IAM etc. and write 100s of lines of config.
Stacktape is different. You can use it to deploy both serverless (AWS lambda-based) or more traditional (container-based) applications. A production-grade REST API is ~30 lines of Stacktape config. This translates to ~700 lines of CloudFormation.
Stacktape supports 20+ “high-level” AWS infrastructure components, including SQL databases, Load balancers, Batch jobs, Redis clusters & more. It also integrates popular 3rd party services, such as MongoDb Atlas Clusters or Upstash Redis/Kafka.
Besides infrastructure management, Stacktape automates source-code packaging, deployments & other DevOps tasks. It also comes with an editor extension and a local development studio (GUI).
Behind the scenes, Stacktape uses CloudFormation, custom-resources and CF infrastructure modules. It also handles some logic outside of Cloudformation, using AWS SDKs.
I’ll be very happy if you (or your colleagues) give Stacktape a try and let me know what you think. If you have any questions, I’ll be very happy to answer them.
r/awslambda • u/Dashbird • Jan 24 '22
Dashbird added observability for ✨five new AWS services ✨(AWS ELB, SNS, RDS, OpenSearch, and HTTP API Gateway)
r/awslambda • u/HighUncleDoug • Dec 15 '21
Lambda VPC intermittent internal aws service network issues
self.awsr/awslambda • u/_BitsLovers • Oct 19 '21
Autoscaling Lifecycle Hooks: Save EC2 Logs Automatically to S3 Bucket
r/awslambda • u/enesakar • Aug 23 '21
Benchmark for Redis with edge caching
Hello
I build a benchmark app to see the performance of our new edge caching capability for Upstash Redis.
I have implemented an AWS Lambda function which reads a value from Redis using the REST API and deployed this function to 10 different regions all over the world. I am recording the latency numbers at each visit. See:
r/awslambda • u/Dashbird • Aug 18 '21
How to test JavaScript Lambda functions [article]
Testing distributed systems and serverless cloud infrastructures specifically is always a source of long discussions. Testing (and monitoring) IS a must, that's a no-brainer. How else would you know if what you’ve created is providing desired results? Before putting your “newborn child” out into the world, you must make sure that it’s ready for the world.
Since you can’t just throw them out without making sure they are designed as they should be, I've thrown together a quick walkthrough of 3 methods (smoke test, unit testing and integration testing) of testing javascript Lambda functions to get you started. Hope this helps any one in need :)
r/awslambda • u/avmaksimov • Aug 09 '21
How to test Python Lambda functions
r/awslambda • u/Dashbird • Jun 15 '21
The latest AWS updates for serverless builders in 2021
Summing up all the latest updates from AWS in 2021 (since and including re:Invent 2020) that all serverless builders should be aware of.
Learn more: https://dashbird.io/blog/aws-serverless-updates-2021/
r/awslambda • u/dogtee • May 14 '21
Testing a lambda triggered by a SNS topic
Hi Could anyone give ma ideas on how you would test a lambda function(Node) which is triggered via an SNS topic ? I have used Postman for Gateway API triggered Lambdas before , but how would I test an SNS event ?