TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Docker isn't serverless

62 pointsby jayfkover 8 years ago

22 comments

kowdermeisterover 8 years ago
&quot;Well, serverless isn’t really a technique for building distributed apps - it’s about building useful apps&quot;<p>&quot;But serverless doesn’t mean there is no Docker – in fact, Docker is serverless.&quot;<p>Yet another case where it&#x27;s clear that &quot;serverless&quot; is a harmful term. Everybody means something else by it and there&#x27;s no wonder that posts like this surface.<p>Yes, Docker is not serverless, because it runs on a server, like your lambda functions.
评论 #12352892 未加载
jackweirdyover 8 years ago
Kudos to the author for writing this. Serverless is a thing, but Docker definitely isn&#x27;t it. Nor is AWS lambda.<p>Serverless is client-only code, or even Peer-to-Peer between self-coordinating clients.<p>There&#x27;s a lot of stuff that overlaps in this domain, including microservices, containers, serverless, and if we want to talk about them we should use the right terminology.
评论 #12351592 未加载
评论 #12352041 未加载
cocktailpeanutsover 8 years ago
I can understand why people try to come up with a definitive definition of &quot;serverless&quot; but....<p>&quot;Serverless&quot; is an adjective.<p>Adjectives are used to provide auxiliary meaning to the noun it&#x27;s attached to, which means it depends on context.<p>It could be a &quot;serverless website&quot;, it could be a &quot;serverless hosting&quot;, it could even be a &quot;serverless diner&quot;!
评论 #12352566 未加载
stuaxoover 8 years ago
Ugh, of all the jargon the dev world has come up with serverless is the worst - if it runs on another computer it is not server less.
评论 #12351799 未加载
评论 #12351912 未加载
评论 #12352339 未加载
Johnny555over 8 years ago
Just call it &quot;cloud&quot;. That&#x27;s already a meaningless catch-all term that covers everything.
评论 #12356660 未加载
pbiggarover 8 years ago
&quot;serverless&quot; is a new term that people have been using in tons of different ways. To the author, frankly I don&#x27;t think you get to say what&#x27;s serverless and what isn&#x27;t. I think only point 1 is agreed upon - the rest is up in the air. Point 3: that it must be function-as-a-service: I dont agree there. Counter-point: if your backend is google sheets, or plain S3, it&#x27;s certainly serverless.<p>Docker? Maybe. Depends how it&#x27;s architected. I get that they&#x27;re trying to latch onto the up-and-coming big movement, but since that big term has no definition, they have as much right as the author to claim to belong to it.
评论 #12351940 未加载
评论 #12352846 未加载
StavrosKover 8 years ago
I kind of feel that Erlang programmers are shaking their heads in frustration at all this and saying &quot;we&#x27;ve been doing things this way since the 80s and saying they&#x27;re great but nobody listens&quot;.
评论 #12351666 未加载
kidsilover 8 years ago
How could someone claim docker is serverless? It&#x27;s pretty much the definition of server.<p>It&#x27;s servermore if anything.
seangroggover 8 years ago
&quot;Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo&quot;<p>That&#x27;s pretty much all I&#x27;m seeing in the comments, just with &quot;Serverless&quot; instead.
评论 #12353949 未加载
barnacsover 8 years ago
Only if you forget to pay your hosting bills do your services become serverless.
noobiemcfoobover 8 years ago
Serverless is a word that only has meaning within the existing paradigms of web development. A &quot;Server&quot; is nothing more than a metaphor for a machine with stuff a &quot;client&quot; (another machine) can request. Everyone acts confused&#x2F;amazed at what is essentially semantics for describing infinitely more complex systems.<p>It&#x27;s the same process with any buzzword. They&#x27;re terms that are so all-encompassing that, yeah, every sensible, modern project operating in a related space could probably be described by them. Like horoscopes for engineering.
throwaway2016aover 8 years ago
As an avid Docker user and also a user of AWS Lambda my only reactive when seeing this article is... &quot;This wasn&#x27;t obvious already?&quot;<p>Reading the article I can see how it can be construed to be serverless but it is a real stretch.<p>I don&#x27;t agree with other posters that the only true serverless is client-only technology. P2P has its place and is generally awesome but I feel that distributing your app as small functions that can run on distributed systems where you don&#x27;t know or care what hardware or OS is underneath is a compelling definition in lack of a better word.
djhworldover 8 years ago
&gt; In the demo, a new container is created for every function invocation which would introduce latency that wouldn’t really be acceptable for most user-facing systems.<p>That seems like an implementation issue that can be overcome, an alternative approach could be to spin up a few containers, deploy the function artefact&#x2F;JAR&#x2F;script&#x2F;whatever and then continuously invoke it via a load balancer.<p>Then if the function isn&#x27;t called for a while, terminate or scale down the container(s)<p>I believe AWS lambda works in a similar way to the above approach.
vectorpushover 8 years ago
A PaaS is not serverless either. We embrace the fluidity of language because that is the pragmatic choice, but using counter-intuitive terms with misleading semantics is not pragmatic so we should reject such terms instead of muddling the meaning of well established terms of art.<p>Everyone can pretty much agree on what constitutes a &quot;server&quot; so I don&#x27;t see why we should use confusing terms that belie our shared understanding of this term.
forgottenacc56over 8 years ago
Serverless isn&#x27;t serverless either - it&#x27;s pretending someone else&#x27;s server doesn&#x27;t exist.
dubmax123over 8 years ago
I think serverless has bad semantics for it&#x27;s new connotation (which doesn&#x27;t even seem to be universally agreed upon). Maybe we should just focus on value, not paying for more infrastructure than you need, and building useful things. Maybe we could just call it practical?
评论 #12352874 未加载
jpb0104over 8 years ago
Related recently published podcast: <a href="http:&#x2F;&#x2F;softwareengineeringdaily.com&#x2F;2016&#x2F;08&#x2F;23&#x2F;serverless-architecture-with-mike-roberts&#x2F;" rel="nofollow">http:&#x2F;&#x2F;softwareengineeringdaily.com&#x2F;2016&#x2F;08&#x2F;23&#x2F;serverless-ar...</a>
评论 #12352248 未加载
digi_owlover 8 years ago
Sounds like ol&#x27; Murky and ilk is at it again...
coding123over 8 years ago
To me Servlerless is a PaaS model, but more specifically a payment model on top of a PaaS model.
jonduboisover 8 years ago
I agree that Docker is not serverless, but I think that it does replace the need for serverless services if coupled with an orchestrator such as Kubernetes, Swarm or Mesos.<p>The first bullet point in the article is true when taken in its entirety but it&#x27;s also misleading because using Docker with an orchestrator like Kubernetes does significantly reduce the need for maintenance - You do have to design your apps in a particular way (so that they can auto-scale themselves - And this is no small feat) but once you do, it&#x27;s really easy on the maintenance side. I think it&#x27;s a matter of time before open source projects start to become &#x27;built for Kubernetes&#x27; - I already did this with my own project <a href="https:&#x2F;&#x2F;github.com&#x2F;SocketCluster&#x2F;socketcluster" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SocketCluster&#x2F;socketcluster</a> and I know lots of big open source developers who are also doing the same. Kubernetes&#x2F;Swarm&#x2F;Mesos are becoming &#x27;cloud&#x27; operating systems - Once their popularity reaches a critical threshold, developers will build apps on top of Kubernetes or Swarm in the same way that developers today build apps to run on Linux or OSX.<p>Eventually, when people ask &quot;What OS does your software run on?&quot;, the most common answer will probably be &quot;Kubernetes&quot; or &quot;Swarm&quot; - Instead of saying &quot;Linux&quot;, &quot;OSX&quot; or &quot;Windows&quot;.<p>The second point is also correct when taken literally but also misleading. While Docker doesn&#x27;t use third-party services to reduce the amount of code... It does allow you to use third-party Docker images to reduce the amount of code... Same result, different approach. I think the second approach is better (and cheaper sine you don&#x27;t have to pay ongoing costs).<p>The third point makes sense but the concept of &#x27;lambda functions&#x27; is completely redundant in a self-orchestrated Docker environment. Lambda functions were invented to fix a problem which BaaS introduced - By the very fact that it doesn&#x27;t offer you direct access to the backend. In my opinion, Lambdas are not as good a solution as having your own backend code running in auto-orchestrated containers (Lambdas often have lots of limits related to resource usage, timeouts, including third-party modules, etc...).<p>I think that until now, BaaS providers have had the upper hand because they&#x27;re really easy to use, but I&#x27;m certain that Docker&#x2F;Kubernetes&#x2F;Mesos will win out in the end for the simple fact that they are decentralized, that they are way more flexible, that they leverage open source technology and that ultimately they will cost much less (because of their high flexibility, customizability and composability).<p>There are lots of great teams building new platforms on top of Docker which will make it easier to use than BaaS.
评论 #12353091 未加载
paulddraperover 8 years ago
Serverless just means PaaS, right?
yaloozeover 8 years ago
I would consider a project in Docker serverless <i>if</i> it is used in something like AWS EC2 Container Service (ECS).
评论 #12351656 未加载