5 ms·
Show HN: Fx - Poor man's serverless framework
- caust1c 9y agoIsn't this just `up`? https://github.com/apex/up https://github.com/apex/up
- subway 9y agoBut this one's written in... Oh.
- joshstrange 9y agoIt looks like up for running something like express/koa/etc while fx is for functions (like AWS Lambda). They are both "serverless" but that's about all they share in common AFAICT. Thanks for mentioning "up" though, I'd never heard of it before, very cool.
- turtlebits 9y ago`up` looks like it only runs on AWS. This seems nice as the only requirement is docker and I can run it on my $3USD VPS
- fiatjaf 9y agoWhere do you get such a cheap VPS? I'm paying $5!
- e9 9y agoI pay $2.5 per month here: https://www.vultr.com/?ref=7195281 https://www.vultr.com/?ref=7195281
- bespoke_engnr 9y agoI've had good experiences with Vultr as well. I'm surprised they're not more popular.
- doublerebel 9y agoJoyent offers very small and very efficient instances. I haven't paid $5 per instance in years.
- tjholowaychuk 9y agoYep it uses AWS Lambda currently, you'll usually end up paying < $1 for small side projects such as https://gh-polls.com/ https://gh-polls.com/ etc, but it definitely depends on your traffic. This project looks like it's more FaaS style (sans the self-healing / autoscaling etc). Up is more application oriented, it just happens to use Lambda.
- abiox 9y agoare you suggesting it's similar, or that it's a fork, or something else?
- Gys 9y agoSorry if I mistunderstand. The readme is very limited. But this need a (vps or something) server that I own / manage ? It does not seem to upload the functions(s) to some cloud ? In general I think 'serverless' means deploying code without managing some kind of server yourself.
- jensvdh 9y agoIt's a poor man's readme
- quickthrower2 9y agoGet your roomie to deploy it. Then it's serverless to you.
- kennu 9y agoEven the README says you need to start a server. So it’s not quite serverless. (“Serverless”, at least to me, means a platform where I don’t have to worry about running servers.)
- proc0 9y agoI think serverless refers to the use of 'lamdas' as the unit of deployment, as oppose to containers or VM's, but someone else may want to add/edit that.
- metrue 9y agoREADME is not quiet clear, but for my understanding, lambda is kinda thing that helps you to do serverless, but lambda is also running on some kind of server maintained by AWS, right? fx is kind of lambda, but owned by yourself.
- kennu 9y agoWell, yes, you can run your own server to provide yourself a serverless platform, but it kind of defeats the purpose... Since then you end up having to maintain your server anyway. I suppose there may be a point to it if the serverless platform is extremely stable and never has any security issues or other things to update.
- bitwize 9y agoWell, the server is abstracted away and vanishes in a puff of logic, you see.
- metrue 9y agoYour guys are so right about fx’s ‘Poor man’s README, I will update it soon. Long story short, you can deploy fx on a host (cloud or localhost), then you can deploy a function to be a service in few seconds, just like AWS lambda ( but Poor man’s lambda).