News for hackers. Stuff that matters.

gobwas

Re:Show HN: Bema: Work messaging built for humans on Friday November 06, 2026 @01:11PM (#50396038)
Congrats on launch (if it is it actually). It reminds me of https://pace.dev, which was the same lovely idea which, however, I haven't heard of much after it was acquired. Have you compared your product with similar products and why yours is better? :) Thanks!
Re:Show HN: Spooler – a simple, managed message queue on Wednesday November 04, 2026 @01:21PM (#50369488)
Thanks a bunch! Please reach out with any questions you have.
Re:Show HN: Spooler – a simple, managed message queue on Wednesday November 04, 2026 @11:34AM (#50368049)
Thanks, more than happy to answer questions if you have any! It's a production service, not a PoC. It has been running under a synthetic load from three different locations for a ~month, which helped with many bumps and bugs.
Re:Show HN: Spooler – a simple, managed message queue on Wednesday November 04, 2026 @11:27AM (#50367923)
Hey, thanks! Feel free to reach out if you have any questions!

Show HN: Spooler – a simple, managed message queue

https://spooler.sh/

Hi Folks,I'm Sergey, founder of Spooler (https://spooler.sh) -- a durable, fully managed message queue, inspired by the simplicity of Go channels.Why? Whenever I needed a queue for something, it often felt that adding one would be a bigger project than the solution. Existing systems offered far more than I needed, while using a relational database usually meant inventing queue semantics on the...

( Read More... | 6 comments | on HN )
Re:GPT-6.1 Terra on Monday October 26, 2026 @03:57PM (#50250009)
I am wondering if there is a site with a perf/efficiency chart of the models over time? I am wondering is the pace still speeding up?
Re:Show HN: TitleArt – Make text like it's 1997 on Monday October 26, 2026 @10:11AM (#50244044)
Thanks! Got my old-skulls cramped.
Re:Instrumentation in Go on Tuesday May 26, 2020 @01:35PM (#23314057)
I see your point that recording must be much cheaper than exporting, and I completely agree with it.

Anyway how will you collect that counters inside your component (to be observed later on demand)?

Re:Instrumentation in Go on Tuesday May 26, 2020 @12:26PM (#23313117)
I think all mentioned issues are related to the implementation of the user probes, not the pattern.

You mentioned an observation methods, but essentially they are absolutely the same as hooks, just inverted (with a bit less overhead on branching and hook call). E.g. your example with bytesReceived counter can be implemented with atomic operation and further export on demand by some other goroutine.

Re:Instrumentation in Go on Tuesday May 26, 2020 @10:08AM (#23311282)
Thats true that such approach also exists.

But it doesn't work well in Go by several reasons.

For example, you usually define interface not in the package where its implemented, but where its needed. Thus you must provide such wrappers in every place where some (subset) of the `Client`'s methods are used.

Another reason is that such thing rejects an ability to use your struct as is, without interfaces (and thus sometimes without heap allocation for your struct).

And, finally, if you want to adopt such approach in proprietary/internal software, where interfaces usually change more often than in libraries, you will change code in N places instead of 1 (in best case); where N is number of instrumentation methods you want to provide "as feature".

Re:Instrumentation in Go on Tuesday May 26, 2020 @09:11AM (#23310669)
Ah, cool! Thank you so much, didn't know about this parameter :D Will try it definitely.
Re:Instrumentation in Go on Tuesday May 26, 2020 @08:21AM (#23310201)
I have read this article before and I really like the idea of doing so. I would love to read more about how you guys modified the compiler!
Re:Instrumentation in Go on Tuesday May 26, 2020 @07:30AM (#23309768)
> Yes, because then the library developer can define all of the things that COULD be interesting, and leave it to the user of the library to decide WHAT to record (filters), and WHERE to record it (exporters).

I agree that this uppercase words can be called as somewhat purposes of the tracing API. I believe also that I was talking exactly about the same approach in the article. But I can't get how sticking to one particular library will help here? In other words, I think it will just greatly reduce the usage options.

What Im saying is that you can leave the generic hooks in the library (as it described in the article and gtrace) and then let the user choose which library to use inside what hooks.

Re:Instrumentation in Go on Tuesday May 26, 2020 @06:40AM (#23309416)
As a library developer, don't you need to define exactly the same trace points (hooks) in your code?

Am I understand it right, that you suggest instead of doing it in a generic way (any tracing method could be plugged in this way), to stick to one particular library?

Re:Instrumentation in Go on Tuesday May 26, 2020 @05:44AM (#23309024)
Tracing term is kind of overloaded. In this article its used not as _distributed tracing_, but as _instrumenting_. E.g., Linux's trace points, or any other tools such dtrace, strace and so on. So it doesn't relate to systems design decisions.
Re:C Is Not a Low-level Language (2018) on Friday December 27, 2019 @04:56AM (#21890297)
<joke>Why has no one mention Go yet?</joke>