Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 7y ago · link · parent

Keeping all of your feedback to yourself sounds like a great way to maintain a bias.

comment 7y ago · link · parent

I will not defend Obama's administration, or Bush's, but it's disingenuous to call out previous admins for new policies.

Here is Jeff Sessions' "zero-tolerance policy".

https://www.justice.gov/opa/pr/attorney-general-announces-ze...

This policy has been one source of the controversial separation of family members from one another. Whether you supported previous admin policy or not is not really relevant, this is easily the most widely discussed component of the existing controversy.

This is one way in which the current administration has departed from previous ones, in a concrete policy based manner, and there are others. You can find all of this information online quite easily, and I would encourage you to do so.

edit: I'm going to disengage, but for anyone saying "What about Obama?" did you watch the last Democratic primary debate? Biden was asked directly if he would apologize for the policies of that administration.

comment 7y ago · link · parent

> if serverless works for 80%, then why is that 80% not even remotely reflected in the sentiment here? HN is usually a pretty good gauge for how the wider engineering community feels about a particular technology.

Every time something sympathetic to a "hyped" technology is posted it's largely derided for being the "popular, hyped" option. MongoDB absolutely ruined the idea of NoSQL for years because everyone just meme'd about "webscale", without being willing to consider that maybe there's merit to the technology.

Are you seriously doubting that lots of people are moving towards serverless infrastructure?

Even internally at big companies they use "serverless-like" models eg:

* Lots of big companies have an internal FaaS

* Those FaaS are owned and managed by other internal teams, and are treated in much the same way as how you'd treat a 3rd party offering.

Serverless just outsources what those companies are doing already.

I leverage AWS lambdas almost exclusively. Yes I am paying a higher price for worse latency. That's OK. I'll pay money for that, if what I get in return is a managed hardware, os, and runtime environment - problems that generate billions of dollars in revenue for many different companies that are working on making it easier.

Performance is a problem I wish to address aggressively, but it's 3rd on the list. A rough approximation of my priorities might be:

1. Security

2. Complexity (including operational complexity)

3. Performance

Serverless gives me the tools to manage (1) and (2) in a way that has worked extremely well for me personally, and I have not found latency to be a problem for me.

Sadly, the site is down so I can not view the article and comment on things more concretely, however I saw the 8x figure and that's fine. 8x latency is fine for many workloads, but operational overhead isn't fine for mine.

edit: OK, so they just don't support HTTPS. It loads now. 8x cost, 15% performance. Cool.

Cool numbers and article, I appreciate what they're getting at. I don't see how you can walk away with "Serverless is all hype and never an option" from it, but whatever. I will once more point to the "Any time this comes up people bash it because 'hype bad'". The top voted comment currently is someone bashing serverless and contains literally no substance.

> Finally, I'm not trying to bash API Gateway, Lambda or serverless in general here, just showing that for some workloads they are a lot more expensive than boring old EC2 and Elastic Beanstalk

Really makes sense to me! Pick the right technology for your constraints. If serverless offerings like lambda could solve every use case AWS wouldn't need other services.

comment 7y ago · link · parent

I don't suppose you could give me an example that demonstrates the clunkiness? I have not worked with SPARQL myself, but I'm very curious as someone who's been leveraging a graph database (dgraph)

comment 7y ago · link · parent

I think linking to dgraph may actually support "has nothing to do with". DGraph's query language was inspired by graphql but it also explicitly diverged from it in order to make a more suitable db language.

comment 7y ago · link · parent

Same. I assume most people are just saving up to leave.

comment 7y ago · link · parent

Sorry, but no? There is no API. My service runs in a container. It knows literally nothing about Fargate.

I use an open source database on it. My clients use an open source client to talk to that database, and rely on DNS for service discovery.

The only AWS specific APIs I rely on are for my eventing system - S3 + SQS, which sit in a generic library that I could easily swap out for fsnotify, rabbitmq, etc. None of that has to do with Fargate.

comment 7y ago · link · parent

OSQuery was merely a strawman, I also mentioned the audit subsystem, but these are just implementation details.

I can not easily, in a supported fashion, track things like process executions or file interactions in a Fargate container. Maybe OSQuery could run as a sidecar, maybe auditd is actually exposed to the container, I honestly don't know.

The end result is that companies leveraging things like aws lambda or fargate are also likely giving up instrumentation that they would consider standard on EC2.

I don't think this is really controversial to say. You can absolutely justify to me that instrumentation is not worth 3rd party patch management and a nice ACL system etc.

comment 7y ago · link · parent

It's not that hard to imagine. Dropbox has talked about using Rust over Go for storage because cpu/memory efficiency was considerably better (4x if I recall) in Rust.

comment 7y ago · link · parent

What API am I coding against? I don't get it, I don't touch any Fargate API.

My Fargate cluster runs DGraph, an open source database, which my clients connect to the same way they would if it were on EC2.

comment 7y ago · link · parent

Attacker owns my service, spawns a shell. OSQuery will tell me that a new process is running. Fargate will not tell me anything, to my knowledge.

OSQuery as a sidecar might work, if you stuff it in the container, but I doubt it can access the audit subsystem and I'm unsure if it's really been tested in that sort of environment.

I'm not concerned about container escapes or the underlying host being owned.

comment 7y ago · link · parent

Interesting, thanks. I suppose it isn't necessarily part of a core curriculum (though I did not make it through the curriculum, which is why I was curious).

comment 7y ago · link · parent

I dropped out of a not very good program, but even in my time there we did learn that O(N^2) can (and almost certainly will) be faster than O(N) on most architectures due to data locality and large constants hidden by Big O notation.

I'm not asking this to be snarky, again I'm a dropout and don't have a ton of insight into this sort of thing - do most CS programs not cover this in at least some detail at some point?

comment 7y ago · link · parent

Fargate solves problems like patch management, but there are other issues. If an attacker were to compromise a Fargate service they'd have less to work with, but otherwise there are a lot of advantages they'd have over EC2.

On EC2 I can deploy monitoring tools like OSQuery, or rely on audit/ other OS subsystems to monitor for suspicious behavior. On Fargate I don't think anything like this is possible.

comment 7y ago · link · parent

What lock-in? I'm genuinely curious, I can't imagine it would be hard at all to move my service from Fargate to anything else. It's just docker containers and DNS, I haven't done anything Fargate specific.

comment 7y ago · link · parent

To be fair, Fargate today is a lot cheaper than Fargate at release. The work on Firecracker had a significant impact I believe.

Still, I'm with you. I use Fargate for my open source project but I fully expect teams using it to eventually move to EC2 and manage the cluster directly in order to save money. It is easily, by far, the most expensive part of my pipeline.

comment 7y ago · link · parent

Wait, why "don't do this" ? I have done that many times, though I have never had anything burst into flames.

comment 7y ago · link · parent

What do you run docker on?

comment 7y ago · link · parent

Oath doesn't even exist anymore, and is now Verizon Media, right? I imagine that may delay things.

comment 7y ago · link · parent

I have no affiliation with Google or Justin.

comment 7y ago · link · parent

Justin is a trustworthy guy and, while unfortunate, I believe the Chrome security team was acting in good faith with the manifest v3 changes.

comment 7y ago · link · parent

Sure,yeah.

comment 7y ago · link · parent

Read a newspaper?

comment 7y ago · link · parent

Lots of things are cost centers. SRE is a cost center. OPS is a cost center. Companies still pay a fortune for services that optimize these areas.

Hell, why do you think Splunk has 1 billion dollars to burn?

1
131132133
164