Better HN
topnewbestaskshowjobs
Log inSign up

sfg75

181 karma · joined Mar 27, 2017 (9y ago) · 18 submissions

Submissions

1.

Attribute-Based Access Control (ABAC) Implementation in 130 Lines of Code(github.com ↗)

8 points · by sfg75 · 3y ago · discuss

2.

Moving K8s Communication to gRPC(blog.cloudflare.com ↗)

2 points · by sfg75 · 5y ago · discuss

3.

Enabling Developer Velocity(cord.com ↗)

1 points · by sfg75 · 5y ago · discuss

4.

Algolia New Pricing(blog.algolia.com ↗)

3 points · by sfg75 · 6y ago · discuss

5.

Algolia May 30 SSL incident(blog.algolia.com ↗)

3 points · by sfg75 · 6y ago · discuss

6.

Post Mortem on Salt Incident(blog.algolia.com ↗)

118 points · by sfg75 · 6y ago · 65 comments

comment 6y ago · link · parent

> Plus you get 11x9's of availability (99.999999999% availability).

Note that those 9s are for durability

From https://aws.amazon.com/s3/faqs/#How_durable_is_Amazon_S3:

"This durability level corresponds to an average annual expected loss of 0.000000001% of objects. For example, if you store 10,000,000 objects with Amazon S3, you can on average expect to incur a loss of a single object once every 10,000 years"

8.

Petabyte-Scale Analytics with Postgres on Azure with Citus Extension(techcommunity.microsoft.com ↗)

1 points · by sfg75 · 7y ago · discuss

9.

Algolia raises $110M for its search-as-a-service(techcrunch.com ↗)

318 points · by sfg75 · 7y ago · 106 comments

10.

Operationalizing your PostgreSQL database health checks using SQL Notebooks(azure.microsoft.com ↗)

2 points · by sfg75 · 7y ago · discuss

11.

Why the RDBMS is the future of distributed databases, ft. Postgres and Citus(citusdata.com ↗)

4 points · by sfg75 · 7y ago · discuss

12.

Stacked Diffs versus Pull Requests(jg.gg ↗)

3 points · by sfg75 · 8y ago · discuss

13.

Fun with SQL: Common Table Expressions for More Readable Queries(citusdata.com ↗)

3 points · by sfg75 · 8y ago · discuss

comment 8y ago · link · parent

That's a fair point. Indeed we started looking at doing aggregations across raw events, before realizing this was probably ill fated.

It's very possible we could have done the same with RedShift but it didn't seem obvious how. With Citus offering extensions like topn and hll we however quickly saw how that could work for us.

Thanks for the link btw!

comment 8y ago · link · parent

Pretty much automatic. With the exception of our search engine which is in C++ (as performance is paramount there), Go is becoming our language of choice for most of our backend services. We found in Go a great balance in terms of productivity and performance.

After building the aggregation and ingestion services in Go, sticking with this language for the API sounded like a good idea as well since Go makes it trivial to build an http server and the logic of the API is simple enough that we didn’t see the need for any web framework.

comment 8y ago · link · parent

Hey, sorry if that wasn't clear enough (author here).

We decided not to go with ClickHouse because we were mostly looking for a SaaS solution. That's pretty much why we also didn't spend too much time on Druid either.

Choosing Citus meant we could leverage a technology that we already had a bit of experience with (Postgres) and not have to really care about the infrastructure underneath it. We're still a fairly small team and those are meaningful factor to us.

At the end of day I'm sure all those systems would do the job fine (ClickHouse or Druid), we just went for what seemed the easiest to implement and scale.

comment 8y ago · link · parent

We've been using this extension for a while now at Algolia, great to see that it's now open sourced!

We heavily rely on this to power our analytics API. We use it precompute tops for billions of daily events. We can then fetch tops across specific time range usually in the order of the milliseconds on the fly. This was a game changer for us :)

comment 8y ago · link · parent

Great article. We use Citus and have a very similar approach :)

The article mentions HLL, but there are even more useful extensions (e.g topn to handle tops through the jsonb format).