Serverless dev practices questions
1–10 of 30 posts
Re: Serverless dev practices questions
#2Re: Serverless dev practices questions
#3Re: Serverless dev practices questions
#4This would also maintain as loose as possible coupling to the Lambda ecosystem, making porting easy -- I'm in Java-land, so that probably means Dropwizard. I'm not there yet, but I'm planning to maintain a parallel Dropwizard wrapper, to make local dev easy.
Re: Serverless dev practices questions
#5Works great.
Re: Serverless dev practices questions
#6I have a very large application implemented as one single lambda python function. Works great.
Re: Serverless dev practices questions
#7I have a very large application implemented as one single lambda python function. Works great.
Please define "very large". When I think large app, I think at least a few hundred endpoints split across tens of thousands of files. How can you have a very large app with a single endpoint? Could you elaborate?
The lambda function gets the request, looks at the url and routes based on that
Re: Serverless dev practices questions
#8Personally, I've found it tough to test full integrations where I'm depending on cron jobs, work queues and notifications. I felt like I was writing an awful lot of code just to be able to fake all these integration points, which meant that in reality there was a lot of behavior that wasn't really being tested.
Re: Serverless dev practices questions
#9I have a very large application implemented as one single lambda python function. Works great.
Please define "very large". When I think large app, I think at least a few hundred endpoints split across tens of thousands of files. How can you have a very large app with a single endpoint? Could you elaborate?
I don't actually use the AWS HTTP API gateway. I control the front end entirely so my UI just talks direct to lambda. It's very simple - instead of futzing around implementing REST API mapping layers I just connect all my front end functions to a single lambda function and specify in the params the name of the python function I want to run. Super easy.
Even if you wanted to use API gateway you could still map all the end points to one single application and dispatch based on the route/URL.
I can make a solid recommendation to anyone use lambda .... seriously consider using Cognito for your user management.
There's no reason why you couldn't have tens of thousands of functions in the same function, in fact probably a good idea.
Re: Serverless dev practices questions
#10Earlier quoted context omitted.
Please define "very large". When I think large app, I think at least a few hundred endpoints split across tens of thousands of files. How can you have a very large app with a single endpoint? Could you elaborate?
Ok we have very different definitions of very large. I mean s complete full featured SAAS workflow application. I don't actually use the AWS HTTP API gateway. I control the front end entirely so my UI just talks direct to lambda. It's very simple - instead of futzing around implementing REST API mapping layers I just connect all my front end functions to a single lambda function and specify in the params the name of…
Can you please expand on that recommendation? I tried and found it profoundly opaque, and eventually gave up in favour of auth0. I specifically wanted to use the hosted login/sign-up forms.