47
votes
Accepted
What is Serverless?
Wikipedia's article on serverless computing provides a decent introduction to the topic:
Serverless computing, also known as function as a service (FaaS), is a cloud computing code execution model ...
16
votes
What is Serverless?
Martin Fowler has a good overview:
https://martinfowler.com/articles/serverless.html
TL;DR
"Serverless" describes application development and architecture that designs applications in which the ...
14
votes
What is Serverless?
'Serverless', like many things in our space, is becoming an overloaded term.. but generally what it means is "Functionally, Our architecture does not depend on the provisioning or ongoing maintenance ...
12
votes
What is Serverless?
All great answers already. I was going through the blog post Thinking Serverless — How New Approaches Address Modern Data Processing Needs in HighScalability, where I've come across this excellent ...
12
votes
Accepted
What is a good logging practice for distributed tasks?
"Serverless" mostly just means you've got relatively simple microservices, generally just a little webapp or a single function that is automatically connected to a REST frontend. The same concepts ...
12
votes
Accepted
How to avoid "retry storms" in distributed services?
It depends on what you're trying to avoid.
If you are trying to avoid any service interuption of something which is a genuinely critical service (I'm thinking in terms of "people will die if my API ...
8
votes
How to avoid "retry storms" in distributed services?
One way of preventing these retry storms is by using backoff mechanisms.
From the Implement backoff on retry section of Google App Engine Designing for Scale guide:
Your code can retry on failure, ...
7
votes
What is Serverless?
Beside simply explaining the definition of the term Serverless, the origins of the term and it’s history give some insight as well into its meaning. The concept originated with the JAWS framework by ...
7
votes
Accepted
How to storing encrypted secrets in code for a serverless.com project?
There are a couple of elements to consider here:
It is valuable to have the capability to maintain configuration with a separate release cadence from the code that is being configured. Doing so ...
6
votes
What is a good logging practice for distributed tasks?
This answer is more about scalability considerations - if the number of workers can be high and/or multiple of them can produce logs at high rate at the same time.
Yes, using multiple logfiles ...
5
votes
Accepted
LambdaA -> delay mins -> lambdaB
Use Step Functions. They allow you to coordinate lambda functions and have an inbuilt wait state
5
votes
What is the future of DevOps in the age of serverless?
What is the future of DevOps in the age of serverless? Can you see
less and less DevOps roles being available in the age of serverless?
I personally dislike the DevOps Engineer role as DevOps is a ...
5
votes
What is the future of DevOps in the age of serverless?
Disclosure: I work as a devops coach at a global company with over a thousand developers.
TL;DR It depends whether you think devops is a particular set of skills and tools, or whether you think ...
5
votes
What is the future of DevOps in the age of serverless?
Also serverless needs some infrastructure and for that you also need software components to develop and rollout.
Beyond yet another website or application server I'd also think of energing advanced ...
4
votes
What is the future of DevOps in the age of serverless?
DevOps roles will probably be around for some time. Most enterprises and start ups have different needs, server-less is more of an indication of “developers need less focus on the resources and ...
4
votes
Accepted
Teaching an old dog new tricks: Finally adopting the micro-service architecture
In your approach I see a few scalability problems - I'm judging from a Google App Engine (GAE) context, where scalability is achieved via breakdown of the work in small tasks/work items and strict ...
2
votes
LambdaA -> delay mins -> lambdaB
From your comment above:
The main difficult is launch the second lambda with a delay from the
first one and without doing a pooling constantly
As using SQS queues are an option for you, you can ...
2
votes
Accepted
How granular in purpose should FaaS functions be?
In my point of view, you can have a future gain separating the function into multiple parts because it will allow to use another combining system/upload/whatever as input to the processing part and ...
2
votes
Accepted
How to programmatically enable and disable SQS triggering AWS Lambda?
Call Lambda's UpdateEventSourceMapping API with the {"Enabled":true/false} request body.
If, for some reason, you want your own API for this, you can create one in API Gateway as described ...
2
votes
Accepted
Unable to send cloudwatch logs to loggly using a blueprint lambda - Invalid ciphertext
Follow these steps to fix InvalidCiphertextException:
Open the Lambda function in AWS console.
Scroll down to the Environment Variables section & click Edit:
Delete the value of ...
2
votes
Accepted
Practical reasons for 200 limit of AWS resources in CF templates
The 200 limit can be raised, however this is a grinding process that can take months. You work through customer support to get "elevated" as a client to more AWS privileges.
Resources:
- Worked under ...
1
vote
Accepted
Does a DB connection prevent AWS Aurora Serverless from pausing its compute capacity?
I believe you are correct, a single long-running connection will prevent AWS Aurora Serverless from triggering the pause-and-resume feature.
Aurora Serverless v1 can also scale to zero capacity when ...
1
vote
I want to scale up/down as fast as AWS Lambda but also be able to allocate the vCPU (minimum 8) per task, any advice?
You can check out AWS Fargate, I've just used it for a similar use case.
Setup:
Jobs are posted to an SQS queue where a scheduler lambda picks them up and launches an AWS Fargate task.
Caveats:
...
1
vote
Serverless framework: how to specify a c++ lambda function with provided deployment package
I don't see any documentation from serverless.com that they support C and C++ (while AWS Lambda might do), I have asked about it now so that we can know:
https://forum.serverless.com/t/c-and-c-...
1
vote
Deploying lambda conceiving sensitive variables using serverless
As far as I'm aware. There is no way to encrypt the environment variable value in the variables section of the lambda function. And to be fair, even if there was, it wouldn't provide any benefit in ...
1
vote
Challenges of using AWS Lambda chain
Yes, Step Functions seems like a good fit for your use case.
Step Functions standard workflows guarantees exactly-once execution and provides a step-by-step history of your workflows, hence making ...
1
vote
Challenges of using AWS Lambda chain
I am using lambda in response to objects appearing on S3 buckets. For me in my particular use case, there are around 600 triggers a day. I have written our lambda functions to use their stdout as ...
1
vote
What is OpenWhisk and how to setup a cluster using this technology?
According to this GitHub readme
OpenWhisk is a serverless event-based programming service.
In order to get an idea how to setup this tool on a cluster one could run the following code that is ...
1
vote
How to storing encrypted secrets in code for a serverless.com project?
I typically treat secrets as configuration data in scope. As such, it does not live alongside the code as they are handled by different release schedules and processes. A separate git repo, KMS, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
serverless × 20aws-lambda × 10
amazon-web-services × 9
microservices × 2
logging × 2
aws-cloudformation × 2
openwhisk × 2
security × 1
terminology × 1
amazon-ecs × 1
cloud × 1
aws-iam × 1
java × 1
servers × 1
sre × 1
amazon-rds × 1
amazon-cloudwatch × 1
architecture × 1
encryption × 1
azure-kubernetes-service × 1
amazon-sqs × 1
distributed-systems × 1
ibm-cloud × 1