Better HN
topnewbestaskshowjobs
Log inSign up

jgehrcke

256 karma · joined Aug 7, 2009 (17y ago) · 67 submissions

Physicist. Software engineer.

I love open source, I like collaboration more than competition.

At Mesosphere I worked at the forefront of the containerization ecosystem. I significantly contributed to DC/OS, especially to its security architecture.

Then I joined Opstrace as founding engineer. We built an observability distribution and got acquired by GitLab.

https://gehrcke.de https://github.com/jgehrcke https://twitter.com/gehrcke

Submissions

comment 10mo ago · link · parent

thought this might be about kim dotcom -- is he 50 yet?

comment 1y ago · link · parent

I'm sure you know what you're taking about -- yet, your response reminds me of https://youtu.be/aWfYxg-Ypm4

"drizzle works on the edge"

comment 1y ago · link · parent

Thank you for that comment, Mike :-) I was looking for that type of response here :-). As expressed many times: thank you for your work.

comment 1y ago · link · parent

Loving your work, as always!

comment 1y ago · link · parent

You have some really nice shots there, even with the rare wild dog!

Jumping on the shameless plug train here -- just a few days ago I decided to finally show some of my photography on Instagram (for those of you that still use it):

https://instagram.com/nowslice

I have a deep passion for photography but had so far not put effort into an online presence. Here I intend to publish only the besties from many years of putting myself out there with mostly a fixed focal lens at 135 mm (f/1.8).

comment 2y ago · link · parent

Thanks for the reference. Yeah, may also be entirely unrelated.

comment 2y ago · link · parent

Underwater cables seemingly got attacked; the Red Sea situation is likely related: https://apnews.com/article/red-sea-undersea-cables-yemen-hou...

comment 2y ago · link · parent

Might be related to this event?

> The cut lines include Asia-Africa-Europe 1, the Europe India Gateway, Seacom and TGN-Gulf, Hong Kong-based HGC Global Communications said. It described the cuts as affecting 25% of the traffic flowing through the Red Sea.

https://apnews.com/article/red-sea-undersea-cables-yemen-hou...

https://www.bbc.com/news/world-middle-east-68478828.amp

comment 3y ago · link · parent

Via Ukraine war footage I learned that "getting off the X" is an established military idiom (for leaving a dialed-in target area of e.g. artillery). Now it might find a newer even more popular meaning.

comment 3y ago · link · parent

I want to add that I have learned so much by following the nginx mailing list for more than a decade.

Can we give a huge round of applause to Maxim Dounin for community support and technical excellence?

Maxim and team are answering the deepest of technical questions patiently, to the point.

Every time I read into those threads I am impressed by Maxim. By his dry communication style, his precision, and his patience. It's inspiring.

When you get his reply (which is likely to be the case), you typically get the problem you presented described in his words: with precise language/terms. Very likely he provides a solution. Or a precise quote of reference docs or spec describing why something doesn't work, conceptually. Or a patch (he often replies with "here's a patch that should work", showing a clean diff).

So: https://mailman.nginx.org/pipermail/nginx/ -- highly recommended if you want to learn more about HTTP and web servers in general.

By the way: for forcing DNS re-resolution (mentioned in this thread here) in the open source version by the way there is a weird but extremely powerful workaround (which really works, we have used it in DC/OS successfully over years), also see https://github.com/dcos/dcos/tree/master/packages/adminroute....

It was of course Maxim who described this little trick in the mailing list in 2011 :-) https://forum.nginx.org/read.php?2,215830,215832#msg-215832

It's still highly relevant in 2023 for controlled dynamic service discovery with nginx.

11.

Show HN: GitHub Action for repository traffic reporting(github.com ↗)

3 points · by jgehrcke · 4y ago · discuss

comment 4y ago · link · parent

The login system of the Bahn app amd website is experiencing issues right now -- wonder if it has to do with HN peak traffic, hm :).

comment 4y ago · link · parent

I keep being impressed by this project. Has served me so well over the years, and the depth of the technologies is so exciting. Assembling ffmpeg command line arguments is a meditative exercise, with almost arbitrarily deep research allowed.

comment 4y ago · link · parent

Would you mind explaining? :-) I'm okay with potentially looking stupid here and ask for all of us who don't get this pun!

comment 5y ago · link · parent

By the way Mike I think https://techspot.zzzeek.org/2015/02/15/asynchronous-python-a... is still one of the best articles on the topic of "python and concurrency". So many important insights for real-world engineering.

Thanks for all your work in the Python ecosystem!

comment 5y ago · link · parent

This!

> gevent doesn't have good support for multiprocessing

This is where my little library https://github.com/jgehrcke/gipc might help! It's been working well for people since 2012 :)

By the way, gevent is huge for the Python ecosystem and I would love to acknowledge both Denis Bilenko and Jason Madden who have done a great job over the years. I am in particular impressed by Jason's maintenance work -- creating a new project is always exciting. Maintaining it over the years is sometimes just tedious, hard work. Jason has impressed me a lot with his one man show there.

Not sure if everybody knows, but gevent was for starters built on top of "only" libev -- another super impressive project built and maintained by practically a single person: Marc Lehmann. I learned a lot from his work, too. So so so many serious software projects build on top of libev.

Only 'recently' gevent included support for libuv, the event loop that originated from the NodeJS ecosystem.

I find it super interesting to see that CPython+gevent+libuv is highly similar to running NodeJS!

By the way, the LWN article is once again a wonderfully written piece by Jonathan Corbet. His way to doing technical writing is simply great, I have enjoyed it very much over the years and learned a lot.

comment 5y ago · link · parent

Love this part: "To allow myself this pace, I discover a tension between freedom and impatience, that is, in the slow, I find a fresh inventiveness and sovereignty from the relentless influence of our economic system. Though within this, I must temper and unlearn my own fixed haste at generating creative work at a rapid measure. I hear an internal voice telling me, write faster, go faster, you’re not doing it right, and it takes might and fortitude to reject this voice obsessed with speed. If I can suggest a slower methodology, then the practice is that of contemplation, deliberate reflection, slow thought, which results in intricate language, in a new kind of assembly as evidenced by the messiness of my hard drive, notebooks, diaries, and iPhone notes apps, of which there are many. I prefer the reprieve of the slow. I like writing more when performed at an adagio. It’s a relief. A sanctuary."

comment 5y ago · link · parent

There is real need, and there are solutions.

NodeJS has a built-in DNS resolution API which is fully async / libuv-cooperative: https://nodejs.org/api/dns.html#dns_dns_resolve_hostname_rrt...

Other async runtimes bundle libs like c-ares to implement non-threadpool-based async DNS.

quoting the nodejs docs: "These functions are implemented quite differently than dns.lookup(). They do not use getaddrinfo(3) and they always perform a DNS query on the network. This network communication is always done asynchronously, and does not use libuv's threadpool."

19.

State of QUIC and HTTP/3 in Nginx (with nice eBPF use case)(nginx.com ↗)

1 points · by jgehrcke · 5y ago · discuss

comment 5y ago · link · parent

Thanks for bringing this topic to this thread. I'm a physicist by heart and education myself and observe that in the software/observability industry we like to collect data much more than we're interested in properly processing and interpreting it.

> Understanding the distribution of your data (rather than just averages) is arguably the most important feature you want from a monitoring dashboard, so the weak support for quantiles is very limiting.

So much yes! It's a relief to see that we have people here in this thread (and industry) who understand this :-).

People that have a deep background and experience in experimentation, measurement, and quantification rightfully have to see the nature of the data distribution first before they feel in any way OK about proceeding with aggregates.

Parent commenter knows this, but for people reading along: using aggregates (such as mean, standard deviation, standard error, quantiles, ...) implies dropping information. Going from the full distribution to a simplified representation naturally implies that what we talk about is a lossy transformation of data. Of course, one wants to be smart about _which_ information to drop. It should be intuitive that one can only be smart about this choice when having knowledge about the underlying distribution. Often, data is not normally distributed, not Poisson-distributed, but instead somewhat uniquely distributed based on the use case -- in a way that deserves brief characterization (a quick look is often enough!); which then allows for making informed decisions about which aggregate parameters to look at -- and which pieces of information are fine to drop.

> Histograms require manually specifying the distribution of your data, which is time-consuming, lossy, and can introduce significant error bands around your quantile estimates.

Yes! Great point. Honestly, I was a little bit shocked when I saw how this works in the Prometheus ecosystem. I happen to have an example for this I think: we (Opstrace) have contributed a tiny patch to Cortex where we changed the parameterization of a specific histogram metric, because the upper band was super broad, leading to a blind spot (a lack of resolution) in the range of values that was most interesting to us -- see https://github.com/cortexproject/cortex/issues/2530 and https://github.com/cortexproject/cortex/pull/2540.

I feel like in our industry when people do the readout and perform some basic dashboarding they're often OK with using aggregates that have not been sanity-checked. That might sometimes be a fair approach. If a readout is not useful, after all one will learn about that very fact through incidents :).

> Veneur[2] addresses these use-cases for applications that use DogStatsD[3] by using clever data structures for approximate histograms[4] and approximate sets[5]

This is extremely interesting, thanks for sharing. We'll have a look!

Having performed many different kinds of data analyses in my science career, I'm rather convinced of the idea that there should be an easy way to perform advanced (yet standard) data analyses for irregular distributions in multi-dimensional data, such as clustering (hierarchical, k-means, DBSCAN, you name it), Principal Component Analysis (PCA), and the likes. I have ideas in this regime -- let's see what makes sense and how far we get with Opstrace!

Again, thanks for the links and for sharing your perspective.

comment 5y ago · link · parent

> cause I take myself offline way too often

Haha, the "ouch, what have I done again?" moment... :-).

One of the most interesting lessons from making mistakes is to appreciate the fact that we make mistakes even when we try so hard not to.

comment 5y ago · link · parent

I have also liked At Eternity's Gate https://en.m.wikipedia.org/wiki/At_Eternity%27s_Gate_(film) so so much. If you can, first watch this, and then "Loving Vincent". I did this coincidentally and was amazed at how these two films enrich each other, in that order.

comment 5y ago · link · parent

JP from Opstrace here. Great questions!

> Are you doing anything to improve log search versus an Elasticsearch cluster, for instance?

No. You're right, Loki is not designed for building up an index for full-text search. The premise here is that you won't typically need that and that in exchange for not having to build up that index, you get other advantages (such as being able to rely on an object store for both payload and index data!). If, on the other hand, in special situations, you need to "grep-search" your logs, this is absolutely doable with Loki! Loki does not neglect this use case. The opposite is true; everyone is already excited about the performance characteristics that Loki already has today when it comes to ad-hoc processing full text. For example, see https://twitter.com/Kuqd/status/1336722211604996098 and definitely have a look at https://grafana.com/blog/2020/12/08/how-to-create-fast-queri.... I'm sure Cyril is happy to answer your questions, too!

> how are you contributing to the upstream projects?

We're reporting issues and try to contribute as much as we can! Of course, this effort has only started. So far, we've contributed to Loki's Fluentd plugin (https://github.com/grafana/loki/pulls?q=is%3Apr+author%3Ajge...), and our testing efforts have helped reveal edge cases; see for example https://github.com/grafana/loki/issues/2124 and https://github.com/grafana/loki/issues/3085.

We're excited to substantially contribute to both Loki and Cortex in the future!

comment 5y ago · link · parent

Haha, sure. I suppose that for example AWS has little incentive for allowing for example Datadog to to offer a special per-AZ endpoint. But hey. Here we come into play :).

comment 5y ago · link · parent

I'd love to chime in, too, and say thank you for sharing this perspective. It's totally understandable, and this HN thread wouldn't be complete and genuine w/o this talking point. Based on your experience, we'd certainly appreciate for you to keep an eye on how our product evolves! Super interested in your expertise and opinions. Thanks again for not being afraid of being 'that guy'.

comment 5y ago · link · parent

Hey! JP from Opstrace here. Thanks for reading through things and for sharing your thoughts. The quick reply is that we still have to introduce a proper cluster config diff and mutation design.

An `apply` command might look innocent on the surface. But. Upgrades (including config changes) are hard. Super hard. If it's helping a bit: the entire current Opstrace team has dealt with super challenging platform upgrade scenarios in the most demanding customer environments in the past years. We try to not underestimate this challenge :).

We're super fast moving right now and didn't want to bother with in-place config changes (as you can imagine, we wouldn't really be able to provide solid guarantees around that). We'll work on that and make it nice when the time is right, and when we feel like we can can actually provide guarantees.

comment 5y ago · link · parent

Jan-Philip from Opstrace here. This is lovely feedback!

> is a royal pain in the neck.

It's fun to see how different people put the same unpleasant experience into words in this thread. Thanks for adding your personal touch. Every time we hear something like that, we're re-assured that we're on the right track.

> Even if `opstrace create` spawns them easily, the problem is running/maintaining them

Yes. You're right. While we can be proud of our setup/installation process already, we know that there's so much more to it. We don't underestimate that. Maybe also see https://news.ycombinator.com/item?id=25998587, where I just commented on the robustness topic.

> However, we are happy for you to be a custodian of that data.

Great.

> We want storage to be someone else's problem.

I share that perspective. We, of course, are happy to let S3/GCS do the actual job.

> We're happy for you to use a cloud platform like AWS/GCP and charge us a 50% markup.

That's great to hear, and I hope you can be enthusiastic about the fact that our markup is _not_ going to be relative to storage volume. It's going to be independent of that.

> Transparency, predictability of costs, open source --> all excellent.

Thanks for sharing. That's incredibly motivating.

Keep an eye on us, and we'd love to hear from you!

comment 5y ago · link · parent

Thanks for the correction! You linked to the right Cortex, not to be confused with https://github.com/TheHive-Project/Cortex, haha. https://github.com/cortexproject/cortex is what we talk about. Naming is hard.

comment 5y ago · link · parent

JP from Opstrace here.

Thanks for sharing this perspective, stressing the relative value of predictability.

Of course, when things go pear-shaped the last thing you want to discover is that your monitoring pipeline doesn't work as expected. We feel you.

Your skepticism is justified and I'm super happy to see that here. We know that our future users are (and should be) quite demanding with respect to robustness of the platform.

We're not naively assuming that it's easy to build a platform that is highly available, auto-scaling, and generally worry-free.

In fact, based on our experience, we really know that we'll have to invest an incredible amount of engineering effort in order to make things super reliable and predictable. On the other hand, by making some smart decisions we can get far with little effort. We have super strong building blocks that we can rely on (such as using a cloud-provided database for storing critical configuration state).

> If you folks believe I can achieve this functionality on a per-seat basis I'd be interested in saving those six figures.

The bet is on, but of course we need a bit of time :)

comment 5y ago · link · parent

Feels like we're nowhere and everywhere now!
123