Skip to content

2024

Go Context Implementation(2)

In the blog about symbol table, we discuss the context implementation for variables storage and the symbol table due to they are similar. In this blog, I will discuss the remaining parts about the context implementation.

Besides the value storage, context provides the cancel, timeout and deadline features. In this article, we focus on how the sub contexts are notified by the parent one while children context doesn't affect their parents.

Monitoring System Keynotes

This blog introduces some keynotes about the monitoring system, which is consisted by grafana, prometheus and so forth. In this blog, we focus on the outlines of them about the concepts and some internal details.

By the way, the blog share some interesting implementation details which are nice to know.

Rust Async Brief

As I tried to write a demo by rust wasm, I was thinking about what should be a better signature to export by rust for wasm. In the demo, I exported the process function as a promise:

pub async fn process(input: &[u8]) -> js_sys::Promise

This blog discusses my understanding of async concept in rust and discussion whether returning a promise is a good choice.