News for hackers. Stuff that matters.
Re:The hidden costs of serverless by soulnothing on Wednesday January 17, 2018 @10:49PM (#16174539)
My current work project is trying to switch to a primary serverless architecture. I'm trying to fight it but know I'm going to lose.

I don't have any problem with "serverless". Years ago I wrote a nginx handler that routed to .py files and ran them inside an lxc container, while at a hosting company. Fronted via haproxy, and documented with sphinx automatically.

My problem is the hidden costs. Sure lambda requests are low cost. But what about API gateway, dynamo/rds access. Then I'm writing a basic crud app. Low-performance low request rate, noncritical. There is this additional complexity, that just isn't necessary. Every day at my job I'm thinking to myself it doesn't need to be this difficult.

My usual route is django, django admin, and django rest. With an haproxy in front for load balancing. Dead simple and easy to work with. It's passe sure, but KISS. The alternative here is an api and a frontend. Several more projects to maintain. Tuning the projects to meet lambda size requirements/standards. The return on investment is minimal to me. If you can't automate managing a fleet of containers or vps instances then why're you here?

The vendor lock-in, is insane to me. You're pretty much at the beck and whim of the provider. They raise the prices, what're you going to do. You either go with the price increase or do a rewrite.

As I was sitting in these architecture meetings on moving too lambda. I was hearing several new packages/repos. New CI/CD, and configuration to maintain. During the meeting I scratched out a POC using EC2, Load Balancer, RDS and django to do what they were saying with half the code. But nope gotta be lambda.

Re:The hidden costs of serverless by ceejayoz on Wednesday January 17, 2018 @10:55PM (#16174573)
> They raise the prices, what're you going to do.

In the 11 year history of AWS, I don't think they've ever increased prices for anything. I'm pretty comfortable with their ability to avoid it in the future.

Re:The hidden costs of serverless by hueving on Wednesday January 17, 2018 @11:21PM (#16174670)
An 11 year history is hardly worth betting what could be the future of your company on. Especially for something just slightly more convenient than what can be built in-house.
Re:The hidden costs of serverless by vageli on Wednesday January 17, 2018 @11:26PM (#16174701)
> An 11 year history is hardly worth betting what could be the future of your company on. Especially for something just slightly more convenient than what can be built in-house.

So you can build a globally distributed, redundant, eventually consistent object store with high availability easily and conveniently and without allocating developer time that could be better used building..oh I don't know, the actual business logic? Not to mention ongoing maintenance and its expense.

It's ridiculous to suggest that the entirety of the AWS offering is something that is just slightly more convenient than what could be built in house.

Re:The hidden costs of serverless by toomuchtodo on Wednesday January 17, 2018 @11:33PM (#16174723)
S3 is not globally distributed. Each region is fully independent of each other. If Virgina is nuked, you lose anything in us-east-1. I’ve confirmed this with AWS staff because of a prior HN discussion :)

The ease through which Amazon provides the ability to architect incredibly globally redundant applications is unmatched. But your business probably can’t afford to implement at that scale, Amazon or otherwise (geographically load balanced DNS, multiple primary databases across regions and their associated followers, replicating S3 objects from all primary region buckets to secondary regions, instances for each application running multi-AZ in multiple regions, etc).

Re:The hidden costs of serverless by DarronWyke on Thursday January 18, 2018 @12:17AM (#16174887)
Of course, if a S3 region gets nuked, it can have repercussions in other zones too. Remember the S3 outage?
Re:The hidden costs of serverless by toomuchtodo on Thursday January 18, 2018 @11:47AM (#16178538)
Coming from an tech|infra|dev/ops background, I remember all AWS outages painfully ;)
Re:The hidden costs of serverless by mrobins on Thursday January 18, 2018 @12:23AM (#16174899)
Not speaking about S3 specifically but overall I disagree. Assuming there’s a business case that requires multi-AZ or multi-region redundancy of multiple services it’s hard to match AWS in terms of price and simplicity.
Re:The hidden costs of serverless by ceejayoz on Thursday January 18, 2018 @08:27AM (#16176883)
S3 is optionally globally distributed.

https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html

> Cross-region replication is a bucket-level configuration that enables automatic, asynchronous copying of objects across buckets in different AWS Regions. We refer to these buckets as source bucket and destination bucket. These buckets can be owned by different AWS accounts.

Re:The hidden costs of serverless by kevan on Wednesday January 17, 2018 @11:41PM (#16174754)
Casually underestimating the effort to build something by at least one order of magnitude is a favorite pastime on HN. The Dropbox thread is the canonical example.
Re:The hidden costs of serverless by hueving on Thursday January 18, 2018 @08:41PM (#16183406)
This statement would hold water if the primary source of revenue wasn't EC2.
Re:The hidden costs of serverless by DrScump on Thursday January 18, 2018 @01:20AM (#16175120)
I wouldn't expect meaningful price increases (in real dollar terms) as long as competition survives.
Re:The hidden costs of serverless by tanilama on Wednesday January 17, 2018 @10:59PM (#16174588)
Fully serverless? Not trying to offend, but sounds like a really immature decision and company overall
Re:The hidden costs of serverless by soulnothing on Wednesday January 17, 2018 @11:08PM (#16174620)
Just for our component edited parent component properly.