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.

Ask HN: Why aren't you using serverless computing in production?

6 pointsby bbrunneralmost 7 years ago
I&#x27;ve seen a ton of write-ups on the benefits of serverless computing (AWS Lambda, Google Cloud Functions, etc.) and spent a decent amount of time playing around with the Chalice framework [1] on a couple personal projects. I&#x27;m currently debating on adopting it for a new project at my day job, but I&#x27;ve encountered some rough edges that have made me realize that, for all of the positives, there are still a lot of negatives. I was curious what issues other people have experienced and what the dealbreakers ended up being.<p>So, effectively, I&#x27;m asking HN to convince me to not go serverless :)<p>[0] - https:&#x2F;&#x2F;github.com&#x2F;aws&#x2F;chalice

3 comments

bbrunneralmost 7 years ago
For the sake of adding to my own discussion, my issues (specific to AWS) were:<p>1. Installing dependencies became complicated. When Chalice worked, it was great. Certain dependencies (in my case lxml) required a precompiled bundle that someone had thankfully already taken care of packaging.<p>2. Visibility into the process was poor. It felt hard to get into the system and really introspect it once it was deployed.<p>3. I felt pushed to other &quot;serverless&quot; solutions within AWS that I wasn&#x27;t comfortable with. I understand the inherent vendor lock-in with the current serverless offerings, but I felt like I was doubly locked in when e.g. the &quot;best&quot; choice for a db was Amazon Dynamo.<p>4. Current serverless frameworks feel very minimal. I&#x27;m a big fan of both Django (batteries included) and Express (bring everything on your own). The tech that is out there now feels like Express, except that there isn&#x27;t a lot of extensions to layer on top. You sort of have to cobble your own together still.<p>5. Lack of Best Practices. I just didn&#x27;t see a ton of thought leadership on how to do things the right way in a serverless environment. I might have just missed this though.<p>----<p>Overall, I&#x27;ve come away impressed but I feel like building something entirely on serverless isn&#x27;t quite as fleshed out as it needs to be yet. I think it&#x27;s <i>very</i> close though.
mooredsalmost 7 years ago
So, the arguments I&#x27;d give against serverless (and this is dynamic serverless functions like lambda, etc, not serverless PAAS offerings like RDS or S3):<p>* they tie you to a certain cloud provider (though tooling like the serverless framework can help)<p>* they force you into the microservices model (and sometimes you should just start with a monolith until you understand the problem space<p>* they aren&#x27;t good for running existing applications that are expecting more traditional execution environments<p>* still rapidly evolving which means that you may run into &quot;bleeding edge&quot; issues
funfunfunctionalmost 7 years ago
1. Most serverless solutions tie you to a cloud provider 2. Difficult to set up CI&#x2F;CD with decent auditability 3. Hugely overkill for most projects
评论 #17491441 未加载