Hacker News new | ask | show | jobs
Seeking Best Function as a Service Platforms – Any Recommendations?
1 points by grocketeer 549 days ago
Is there a Function as a Service (FaaS) platform that can handle HTTP requests, process them with a custom function, and then forward the modified data via a POST request?

Ideally, I need a solution where I can define a function that takes HTTP headers and body as input, processes them, and then returns modified headers and body for re-transmission. It would be great if I could write this function in Python.

I've checked out webhookrelay.com, but the UI feels outdated, and it doesn’t support Python for custom functions. Any recommendations for a more modern, flexible FaaS tool?

4 comments

Hi, While not strictly function as a service, Control Plane (my company) makes it trivial to turn your Python (or any language) code into a containerized workload and get a TLS endpoint (including on your own domain) super easily. If you have a Dockerfile, it will use it. If you don't have a Dockerfile, it will still containerize your code using Build packs. You get logging, metrics, tracing, secrets management, service mesh (mutual TLS across services, service discovery and whole lot more) and lots of additional 'goodies' like being able to run your code ANYWHERE - your own hardware, VMs, Hetzner, Linode, Digital Ocean, AWS, GCP, Azure, Oracle, etc. - or Control Plane pre-configured multi-tenant clusters that make your life very easy because it is serverless across AWS, GCP, and Azure. What's more - you can mix-n-match ANY service from AWS, GCP and Azure and your code is portable - it works the same whether you run it on one cloud, or another, or both, or ten different locations across different clouds and on-prem infra. It is also ultra low-cost because you pay by the millicore that your Python (or any language) code actually consumes. If you want to dig deeper, check out our website https controlplane dot com or cpln.com
Thanks for sharing that, it sounds like a really interesting approach and this may solve my problem.
My company does exactly what you're looking for.

https://www.dbos.dev

We even have a demo that includes a webhook:

https://github.com/dbos-inc/dbos-demo-apps/blob/main/python/...

We offer a serverless platform with state and workflows built in, and you can run any python code you want. You'll also only get charged when actual work is happening, not waiting.

Thank you for the demo and for sharing. I like that you can scale your service as needed.
You should checkout beam.cloud (I'm the founder). It's a modern FaaS platform for Python, with support for REST endpoints, task queues, scheduled jobs, and GPU support.
Thanks so much for sharing! I'm going to check out the website and learn more about your service. I'll reach out if I have any questions.
Have you tried Cloudflare workers?
I haven't, but I'm looking for something with more batteries included. Can you point to any examples?