News for hackers. Stuff that matters.
Re:WebRTC Chat on IPFS by est on Friday June 08, 2018 @06:01AM (#17263996)
Can we stop calling everything "serverless"? It's a stupid name. I assume it means peer-to-peer here right?
Re:WebRTC Chat on IPFS by k__ on Friday June 08, 2018 @07:06AM (#17264226)
This is the first time I read serverless in an appropriate context and still there are people complaining...
Re:WebRTC Chat on IPFS by pasta on Friday June 08, 2018 @08:51AM (#17264770)
No it doesn't mean peer-to-peer here. It means that there is no one server but a lot and in fact the 'server' is abstracted away from the developer so he sees no server (serverless).

I think Wikipedia has a nice explanation of the term:

Serverless computing is a cloud-computing execution model in which the cloud provider dynamically manages the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity.[1] It is a form of utility computing.

Serverless computing still requires servers, hence it's a misnomer.[1] The name "serverless computing" is used because the server management and capacity planning decisions are completely hidden from the developer or operator. Serverless code can be used in conjunction with code deployed in traditional styles, such as microservices. Alternatively, applications can be written to be purely serverless and use no provisioned servers at all.

https://en.wikipedia.org/wiki/Serverless_computing

Re:WebRTC Chat on IPFS by tlrobinson on Friday June 08, 2018 @12:10PM (#17266837)
So... a PaaS?
Re:WebRTC Chat on IPFS by jadbox on Friday June 08, 2018 @02:09PM (#17268176)
yep, just reversed now: SaaP... Serverless as a Platform
Re:WebRTC Chat on IPFS by timlyo on Friday June 08, 2018 @06:08AM (#17264020)
It's serverless in that there is no specific server running it. The website is distributed across Ipfs and the chat is peer-to-peer.
Re:WebRTC Chat on IPFS by StavrosK on Friday June 08, 2018 @06:20AM (#17264069)
I don't know man, when we say "defenseless", we mean it has no defense. "Useless", it has no use. We don't mean "it has so many uses that you can't really pick one". That would be "useful", I guess, which is pretty much the opposite.
Re:WebRTC Chat on IPFS by jarfil on Friday June 08, 2018 @08:57AM (#17264810)
"Priceless" has so much price that you can't pick up one.
Re:WebRTC Chat on IPFS by rounce on Friday June 08, 2018 @02:42PM (#17268505)
It means that the price cannot be meaningfully quantified en masse, the price is set at the moment of purchase.

Art is a good example of this as it generally has no immediate utility, and even it cultural significance is created less by the piece itself, but rather by it's philosophical foundation which is not part of the purchase (nor even ownable).

The Mona Lisa may be 'priceless', but all the money in the world is just a lot of money.

Re:WebRTC Chat on IPFS by FLUX-YOU on Friday June 08, 2018 @08:53AM (#17264780)
'Distributed' just isn't exciting any more
Re:WebRTC Chat on IPFS by derefr on Friday June 08, 2018 @02:42PM (#17268502)
People effectively map “server” to mean “centralization botteneck” or “Single Point Of Failure” these days. In both of those senses, this system is “serverless.”
Re:WebRTC Chat on IPFS by StavrosK on Friday June 08, 2018 @04:27PM (#17269401)
Why do we need to keep inventing new terms, though? We have perfectly apt terms already, "decentralized" and "distributed", with much more exact meanings.
Re:WebRTC Chat on IPFS by derefr on Friday June 08, 2018 @05:24PM (#17269826)
Well, "distributed, decentralized, peer-to-peer network" worked well enough, back when, to differentiate e.g. Kademlia from Napster.

But interestingly, people also called BitTorrent a "distributed, decentralized, peer-to-peer network", even though BitTorrent requires trackers. None of those adjectives allow the differentiation of the Kademlia design (a network of dumb nodes with smart, active clients that walk them) from the BitTorrent design (a network containing both dumb client nodes and smart server nodes, where the clients register with the servers.)

"Serverless" is the word for what Kademlia is and (pre-DHT) BitTorrent isn't. Or what differentiates a wireless mesh routing system from a 1980s BBS store-and-forward architecture. Or what differentiates IPFS from, say, the network consisting of all Lotus Notes clients + all Lotus Domino servers.

(The funny thing is that AWS Lambda is not "serverless" by this definition. AWS Lambda is just a PaaS with a CGI-alike ABI. Now, if Lambda was an ABI standard; and everyone ran a mesh of their own Lambda nodes; and your newly deployed Lambda function could end up running on any random node, without a first-class "server"/second-class "client" node separation; then that'd be "serverless." It'd also basically be Ethereum or Urbit or another of those wacky architectures, rather than Lambda any more.)

Re:WebRTC Chat on IPFS by codesnik on Friday June 08, 2018 @07:20AM (#17264272)
serverful, then?
Re:WebRTC Chat on IPFS by StavrosK on Friday June 08, 2018 @07:33AM (#17264318)
Yes, or just nothing, as that's the default anyway.
Re:WebRTC Chat on IPFS by eeZah7Ux on Friday June 08, 2018 @06:17AM (#17264060)
It's still a stupid name.
Re:WebRTC Chat on IPFS by some_account on Friday June 08, 2018 @06:26AM (#17264085)
It's used now as official term on AWS and probably other clouds as well. Its the new hot thing since you don't need to provision any servers or infrastructure. All you do is write code and deploy it to a cloud platform. And it's much much cheaper as well.

So yeah it's a dumb term but it's here to stay. :)

Re:WebRTC Chat on IPFS by fauigerzigerk on Friday June 08, 2018 @07:55AM (#17264428)
Cheaper? I have no idea what running a particular app would cost. The ridiculously fine grained way in which the big IaaS providers charge for their services is a major reason why I'm avoiding them whenever I can. It's just too risky, too complex and too brittle. Any tiny change can have huge cost implications.
Re:WebRTC Chat on IPFS by 0x6c6f6c on Friday June 08, 2018 @09:00AM (#17264822)
From what I've read if you had a single instance of a lambda function running 24/7 it's still cheaper than the micro EC2 instance. You have warm-up time on initial requests if the functions been idle for awhile, but otherwise the response time is fairly quick <25ms and it scales up with your traffic directly. It's cheap for a web application served primarily from CDN with serverless for backend logic and easy entry to using other AWS services with secure access per function. Starting a web app through serverless would be insanely cheap barrier to entry with serverless considering you only pay for processing time.

Whether this works well depends largely on the architecture of the application and if it's done right. You can absolutely have a serverless application that would be much better served with elastic beanstalk or ECS perhaps but to say serverless is useless or too expensive all around is not true.

Re:WebRTC Chat on IPFS by david4096 on Friday June 08, 2018 @12:35PM (#17267114)
Yes, I second this.