4 ms·
Sounds cool in theory, but my small experience with a past company's serverless API is that it made impossible to debug. It was like deploying to a black box. T
by ryanmccullagh 8y ago
Sounds cool in theory, but my small experience with a past company's serverless API is that it made impossible to debug. It was like deploying to a black box. There's no way to hit the API locally, etc.
- elliottlan 8y agoHave you seen this npm package? https://www.npmjs.com/package/serverless-offline https://www.npmjs.com/package/serverless-offline I have no idea if this exists for other languages but its what lets me develop and test my functions locally before deploying them to stage/live. Edit: they have some good examples - https://github.com/serverless/examples/tree/master/aws-node-rest-api-with-dynamodb-and-offline https://github.com/serverless/examples/tree/master/aws-node-...
- madeuptempacct 8y agoThis is my experience. We will use Azure functions occasionally if all we need is to get data from a third party (with auth, when they can't set up CORS properly), but that's about it.
- sigstoat 8y agozappa (for example!) lets you produce a more or less normal flask app that you can run locally, or deploy to lambda / apigw with one command. another command let’s you stream the output of the code as it runs on lambda. pretty sure similar tools exist for some of the other supported languages.
- timdev2 8y agoI've seen that situation as well. My approach recently has been to build things where running on Lambda is a feature, and not so much an architectural decision. The aws-serverless-express library basically wraps an express (or other similar framework) app to handle interfacing with the lambda, marshaling lambda "event" data into the framework request interface, for example.