Settings

Theme

Show HN: Fx - Poor man's serverless framework

github.com

53 points by metrue · 19 comments

Reader

4 threads
Gys

Sorry 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.

metrueOP

Your 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).

kennu

Even 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

    I 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.

  • metrueOP

    README 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

      Well, 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

    Well, the server is abstracted away and vanishes in a puff of logic, you see.

caust1c

Isn't this just `up`?

https://github.com/apex/up

  • joshstrange

    It 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

    `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

  • subway

    But this one's written in... Oh.

  • abiox

    are you suggesting it's similar, or that it's a fork, or something else?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection