Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

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

@insanitybit
Submissions

comment 6y ago · link · parent

> But most web services are IO-bound

Node's still relatively slow for those workloads.

https://www.techempower.com/benchmarks/#section=data-r18&hw=...

See how far down in each section you have to scroll to find node, even for workloads that are purely "accept a request and respond with a static string". You'll see lots of Java and Go on your way down.

And most services will have far more compute than just shoving bytes in between services. There's request parsing, response encoding, usually at least a tiny bit of data manipulation.

comment 6y ago · link · parent

> Grapl looks quite interesting though the lack of documentation is a stumbling block.

Totally. I intend to change this once things stabilize - right now the docs would be changing so fast that I'd be spending all of my time updating them (though things are slowing down a lot).

> Is the primary Grapl use case AWS log analysis? Or, can it be setup and run for an on-prem linux system?

Grapl runs in AWS, but it can analyze any log that it can parse - currently that's just sysmon, or anything that fits into its generic (and unstable) format. There will be an AWS Plugin in the future that will allow you to send various AWS sourcetypes, as well as various linux oriented plugins such as for audit or osquery.

> Could it also be setup to analyze logs from several VM's (e.g. running win/ubuntu-server/debian)?

Absolutely.

> More detailed deployment instructions for a variety of scenarios (installation and usage) would be helpful!

Noted - this is going to be a top priority very soon.

comment 6y ago · link · parent

It hardly feels sneaky... it's right on their blog. And they list a lot of projects alongside theirs. And their product is built off a popular open source D&R system.

So this feels pretty much fine I think.

comment 6y ago · link · parent

Turns out it's a lot of work haha but the payoff is, in my opinion, huge - and Grapl does the hard work for you.

comment 6y ago · link · parent

Wow, thanks for the mention alongside such a solid list of tools.

I'm the author of Grapl and I'd be happy to answer any questions. Grapl's under active development (I'm working full time on it, and others are joining), and there's lots of exciting stuff on the way.

comment 6y ago · link · parent

Pretty cool that single boxes have > 10 terabytes of RAM.

I would definitely imagine that most workloads rarely need more than a few to a few hundred TB in memory, since you may have petabytes of data but you probably touch very little of it.

comment 6y ago · link · parent

I worry that I may regret asking, but what qualifies as a big deal?

comment 6y ago · link · parent

But it actually is just garbage collection.

comment 6y ago · link · parent

Makes sense for sure.

comment 6y ago · link · parent

Oh, yeah I'm OK with Firefox including some blobs from the platform provider.

comment 6y ago · link · parent

Sorry, what's the excellent reason?

comment 6y ago · link · parent

A) They had spent a lot of time optimizing the Go service

B) They weren't allocating a lot, and Go was enforcing a GC sweep every 2 minutes, and it was spending a lot of time on their LRU cache. To "reduce allocations" they had to cut their cache down, which negatively impacted latency.

comment 6y ago · link · parent

I'm confused. Build a special allocator for Go you mean? That feels like going well beyond typical "own your tooling".

comment 6y ago · link · parent

All the time?

edit: To your post-edited comment, yes, it's a strategy game. There are lots of ways to avoid getting ousted as a CEO.

comment 6y ago · link · parent

There are legal protections for minority shareholders and boards of directors. Owning > 50% of the stock buys you lots of control, but not total control. Boards do remove CEOs all the time.

comment 6y ago · link · parent

I see. Sorry for the misunderstanding.

comment 6y ago · link · parent

I think my response to all of that is "Who cares?". It's a totally fine and reasonable UI change and it's incredibly unreasonable to think "Ah, this minor UI change might lead to a buffer overflow because we code like it's 98".

comment 6y ago · link · parent

That's a ridiculous statement. Most of Linux isn't reviewed by security experts either... and the codebase for linux absolutely dwarfs redox, and every line of Linux is C.

comment 6y ago · link · parent

Seems super reasonable tbh.

comment 6y ago · link · parent

> As far as I can tell most of the people complaining about Rust having painfully long compile times are just parroting second hand information and don't actually know.

My experience is the opposite. Most rust devs don't work on very large projects from what I can tell, so compile times tend to stay manageable. It's a small percentage that work on projects large enough to hit this problem, and when you hit it it hurts.

comment 6y ago · link · parent

I did this. I built a big service microservice first, with the single caveat that I wrote a local Python version that did everything with fake data in memory first, just to test it out.

I'm very happy with this approach.

> Splitting up your application in many services requires a lot of thinking and designing.

In my experience, you spend a bit of time asking "What does my project do, and how do I decompose it?" and that's about it. The same thing you'd do with a single binary that you decompose into modules.

> Challenges with syncing, communication etc are not always easy to deal with.

Depends on what you're doing certainly. For me, I'm basically doing an ETL and analytics pipeline, so I have no issues there.

I have found it much easier to reason about code and boundaries. I did a ton of experimentation with code and services (I didn't know how to build it when I started, so there was tons of iterationt) and the ability to just rewrite any service fairly trivially helped a ton.

I haven't had to do any "splitting". Merging services is trivial, splitting is not. I'd much rather say "Ah, the synchronization here is too hard, I'll shove it into one process" than "How the hell am I going to scale these two modules separately with all of this shared memory between them?".

I've gone through a "We have to start splitting things for reliability/performance/conway's law" and it's years of very difficult, dangerous work.

It's really a "to each their own" but I don't think I overengineered things at all. Microservices just make sense for my use case.

comment 6y ago · link · parent

Would these chips be reasonable for something like an i3en class?

comment 6y ago · link · parent

I'm reluctant to use non-standard settings that the intellij team may not be optimizing for.

comment 6y ago · link · parent

> drugs (defined by the simple macromolecules we know them to be today) can supplement your body in doing only what it is already capable of.

Lots of drugs do things that your body is not capable of, and many drugs augment the way your body works in a way that is not possible without an external compound.

comment 6y ago · link · parent

Workers have goals, and they can accomplish those goals while macro goals like 'company success' fail.

The ceo is responsible for those macro goals. Those macro goals are failing, ergo while most works should be receiving increases in comp, the CEO should be seeing a decrease.

comment 6y ago · link · parent

But Mozilla is doing worse than last year, not better, no?

comment 6y ago · link · parent

Or just let the company tank, take a raise, and fire 70 people to make up the difference?
1
125126127
164