HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sunng

no profile record

Submissions

We built Postgres compatibility for our database and made it reusable libraries

greptime.com
3 points·by sunng·3 months ago·0 comments

Project ideas of pgwire, a Postgres wire protocol library

github.com
3 points·by sunng·2 years ago·0 comments

comments

sunng
·4 months ago·discuss
Emacs is like a minecraft of lisp expressions.
sunng
·7 months ago·discuss
Is this from the original sqlite team?
sunng
·7 months ago·discuss
I just terminated my 8-years O'Reilly subscription this year. I was at $400/year and realized I cannot make full use of it recently.

But I just joined Manning subscription this winter to see if it helps.
sunng
·11 months ago·discuss
According to StackExchange, Emacs is not even a code editor
sunng
·last year·discuss
The async process sounds promising but unfortunately eglot doesn't work with it. I got a message from reddit that tramp 2.8.0-pre has fixed that issue but until last time I compiled HEAD from tramp repo it still doesn't work.

I just applied other configurations from the article and it seems faster than the default settings. Thank you author for sharing this!
sunng
·last year·discuss
Isn't recent Tramp versions using this by default?
sunng
·last year·discuss
Sure you still need to code but instead of concrete metrics one by one, you instrument the context and the state. The opentelemetry trace API can save you a lot of work. But I agree there is still potential to improve the auto instrument.
sunng
·last year·discuss
Yes, this is a common confusing point between structured logging and wide event. The Wide Event 101 article I referenced has clear explanation:

> Structured logs could be wide events, but not all structured logs are wide events. A structured log with 5 fields is not a wide event. A structured log with no context is not a wide event.

And these also why it requires no code changes to extract more metrics from wide event. The context can carry enough information and you just write a new query to retrieve it. In current metrics tooling, you will make code change to define new labels or add new metrics for that.
sunng
·last year·discuss
Author here. Thanks @todsacerdoti for posting this.

I am big fan of the idea to have original data and context as much as possible. With previous metrics system, we lost too much information by pre-aggregation and eventually run into the high-cardinality metrics issue by overwhelming the labels. For those teams own hundreds of millions to billions time series, this o11y 2.0/wide event approach is really worth it. And we are determined to build an open-source database that can deal with challenges of wide events for users from small team or large organization.

Of course, database is not the only issue. We need full tooling from instrument to data transport. We already have opentelemetry-arrow project for larger scale transmission that may work for wide events. We will continue to work in this ecosystem.