Questions tagged [serverless]
21 questions
9
votes
3 answers
How to handle backpressure in message queue
I am designing a AWS web service which is going to get 1000 TPS from devices(Android) and it has dependency on multiple downstream services. The usecase is to hit this service periodically from device, get a piece of data and cache it in the device…
Jegan Babu
- 201
6
votes
4 answers
Do Lambdas(AWS) stop making sense after a certain number of functions?
I am working on a project and created multiple lambda functions and now I am thinking about whether I made the correct decision to go this route.
Reasons I chose lambda:
The App will have spiky traffic and almost no traffic at some times, so it is…
AKT
- 169
5
votes
2 answers
JAMstack vs Serverless architecture: what's the difference?
So I've been reading a lot about this new front-end architecture called the JAMstack, which is basically the modern way of building static web applications.
Any dynamic pages are pre-built at build time and served as static pages instead of being…
MikeRomero4
- 69
- 4
4
votes
1 answer
How should AWS Lambda functions subscribe to domain events?
I'm doing my first Domain Driven Design (DDD) implementation. My architecture is comprised of .Net Core for defining my domain model, services, and building AWS Lambda functions. I am using Lambda functions as entry points to functionality into…
Tom Schreck
- 185
3
votes
1 answer
Advice for pooling DB connections with serverless
I have a great, working web application which uses SvelteKit, DrizzleORM, a PostgreSQL database running on Amazon RDS. It is hosted on Netlify, which means that the “backend” consists of one big serverless function (sveltekit-render) which handles…
Anselan
- 139
3
votes
2 answers
AWS Serverless Microservice design
I am building an open source task management and note taking service that runs on AWS. I'm building it mostly as a hobby in my spare time and will eventually ship a mobile app that consume it into an App Store. Because this is being built…
2
votes
0 answers
Determining when to use Serverless vs Containerized application (AWS Lambda vs ECS) - Is Java Spring dead?
I work for an organization that heavily leverages AWS. There is a strong push that every team move from containers deployed on ECS to leverage AWS Lambda and step functions for (almost) every project. I know that there are workflows for which…
greenJavaDev
- 129
2
votes
1 answer
Serverless game server architecture
First post on the software engineering stack exchange, I hope the question fits the purpose of this sub.
I'm building a serverless game server with the following architecture and was wondering if anyone here has already attempted this and if it's a…
Tom Nijs
- 129
2
votes
1 answer
Scheduled AWS Lambda to Update Database via API Call
I'm planning on the following for a use case scenario for AWS Lambda and want to make sure I'm headed in the right direction and that there's not some better/easier solution out there.
The database is in AWS RDS (SQL Server), and the web application…
FirstDivision
- 131
2
votes
0 answers
Deployment pipeline as a component of an application
I am writing a serverless application using AWS SAM. I am wondering, would it be a good idea to include in my template a definition of a CodePipeline (and CodeBuild for that matter) for deploying that very application?
The idea would be that on the…
Tommy
- 121
1
vote
0 answers
Designing an architecture for running multiple scripts
Our company is an aggregator of multiple payment services fragmented on the web. So instead of businesses integrating multiple services one by one, they will only need to integrate to our API, and we will connect to every one of the products for…
1
vote
3 answers
RESTful URLs for multiple resource in the same Microservice
We are developing a serverless application (AWS API Gateway, Lambda, and Dynamo) keeping users and groups in the same microservice as they are being stored in the same DynamoDB table. REST endpoints for the users look like…
systemdebt
- 123
1
vote
3 answers
Are AWS Lambda functions a good fit for the use case of fetching huge amount of records from database on User request?
We have a use case where an AWS Lambda function is called from AWS API Gateway on user request from the browser, it fetches data from the database and returns back to the client.
The amount of time taken to retrieve the data or the amount of data…
Arup
- 13
- 4
1
vote
1 answer
What is "serverless mesh"?
I'm familiar with the serverless programming model e.g. GAE and AWS lambda etc. But what is "serverless mesh"? I googled it and found no definition.
Niklas Rosencrantz
- 8,178
0
votes
1 answer
Git structure for Azure Function Apps that accounts for shuffling functions
I have a suite of python Azure Function Apps that all together make up an integration, each containing multiple functions:
FunApp1
func1
func2
SharedCode
FunApp2
func3
func4
SharedCode
FunApp3
func5
func6
SharedCode
("SharedCode" is…