4 ms·
Ask HN: Best “run my code” cloud service?
What's the best service for running arbitrary Python code on small data on demand? Not talking about a server that stays up.
AWS Batch? Google Cloud Run?
- gauravphoenix 6y agowill the python code need data storage/querying? if it is simple stateless code, Google Cloud Run should fit the bill. If you need an "ecosystem" of services like caching, data storage, querying, queuing etc using AWS Lambda with HTTP Gateway
- RocketSyntax 6y agoI was just going to store the results in S3 or some key:value until the end user could fetch them. And delete them on a retention policy.
- gauravphoenix 6y agofor such simple use case GCP Cloud Run is just fine
- russianator 6y agoI've been using https://vercel.com/ https://vercel.com/ for a while now. It has built in gitops and a very simple deployment model. Works really well with custom domains and cost-wise it is great as it doesn't break the bank for my side projects. It includes CDN capabilities with CloudFront-like honouring of cache headers, etc as well, so I haven't found anything lacking even though it isn't as feature packed as something like AWS Lambda. For things like queues, databases and memory stores I used other managed services.
- RocketSyntax 6y agoNot serving a webapp
- russianator 6y agohttps://vercel.com/docs/serverless-functions/introduction https://vercel.com/docs/serverless-functions/introduction