[TOC] 笔者前段时间在学习数据结构时,恰好听说了 LSM Tree,于是试着通过 LSM Tree 的设计思想,自己实现一个简单的 KV 数据库。 代码已开源,代码仓库地址:https://github.com/whuanle/lsm 笔者使用 Go 语言来实现 LSM Tree 数据库,因为[......] 继续阅读

2022年5月22日 1条评论 2717点热度 1人点赞 痴者工良 阅读全文
 />            </a>
        </div>
        <div class=

[TOC] A while ago, I came across the concept of LSM Tree while studying data structures, which prompted me to attempt building a simple KV database ba[......] 继续阅读

2022年5月22日 1条评论 170点热度 1人点赞 痴者工良 阅读全文

scanme.nmap.org is the domain or IP address to be scanned. package main import ( "fmt" "net" "sort" ) func main() {[......]继续阅读

2021年11月17日 0条评论 112点热度 0人点赞 痴者工良 阅读全文

scanme.nmap.org 是要扫描的域名或 IP 地址。 package main import ( "fmt" "net" "sort" ) func main() { ports := make(chan int, 100) results :=[......]继续阅读

2021年11月17日 0条评论 2336点热度 0人点赞 痴者工良 阅读全文

reflect.Type.Elem() can return the type of the element, for example, for pointer types, it returns the type without the pointer. reflect.Value.Elem()[......] 继续阅读

2021年11月16日 0条评论 84点热度 0人点赞 痴者工良 阅读全文

reflect.Type.Elem() 可以返回元素的类型,例如指针类型,返回不带指针的类型。 reflect.Value.Elem() 是获取指向值的引用。 type name struct { } func (n name) Print(str string) { } func main([......]继续阅读

2021年11月16日 0条评论 2602点热度 0人点赞 痴者工良 阅读全文

In the context of Linux, here's how to invoke a command-line program in Go, with the example code as follows: package main import ( "log&quo[......]继续阅读

2021年10月5日 0条评论 3079点热度 2人点赞 痴者工良 阅读全文

以 Linux 为例,在 Go 中调用一个命令行程序,其代码示例如下: package main import ( "log" "os" "os/exec" ) func main() { cmd := exec.Command("top") cmd.S[......]继续阅读

2021年10月5日 0条评论 3081点热度 2人点赞 痴者工良 阅读全文

Getting Started Jaeger Deploying Jaeger Understanding Jaeger Client Go through an Example Understanding trace and span Tracer Configuration Sampler C[......] 继续阅读

2021年3月30日 0条评论 132点热度 0人点赞 痴者工良 阅读全文

从何说起 Jaeger 部署 Jaeger 从示例了解 Jaeger Client Go 了解 trace、span tracer 配置 Sampler 配置 Reporter 配置 分布式系统与span 怎么调、怎么传 HTTP,跨进程追踪 客户端 Web 服务端 Tag 、 Log 和 R[......] 继续阅读

2021年3月30日 0条评论 4022点热度 0人点赞 痴者工良 阅读全文

Go GRPC Introduction Go GRPC Introduction 1. Installation Packages 2. gRPC Server 3. gRPC Client 4. Compile and Run 5. Others GRPC Protobuf Buff[......] 继续阅读

2021年3月28日 0条评论 142点热度 0人点赞 痴者工良 阅读全文

Go GRPC 入门 Go GRPC 入门 1,安装包 2,gRPC 服务端 3,gRPC 客户端 4,编译运行 5,其它 GRPC Protobuf buffer 字段类型 字段规则 Protobuf gRPC 四种服务方法 编译 proto 1,安装包 grpc gola[......] 继续阅读

2021年3月28日 0条评论 3209点热度 0人点赞 痴者工良 阅读全文

In Go language, when we need to import a package, we can use import: import ( "io" ) For standard libraries such as bufio, time, net, etc.[......] 继续阅读

2021年3月27日 0条评论 4661点热度 2人点赞 痴者工良 阅读全文

在 Go 语言中,当我们需要引入一个包时,可以使用 import: import ( "io" ) 对于标准库,如 bufio、time、net 等,只需要一个名字即可引入,就像 C 语言的 #include 。 如果我们要引入自己编写的包或第三方源码,则会有些细节需要留[......] 继续阅读

2021年3月27日 0条评论 4604点热度 2人点赞 痴者工良 阅读全文

Parallelism through simple threads Every year, parallelism and concurrency become more important as processors tend to have more and more physical cor[......] 继续阅读

2020年11月23日 0条评论 3032点热度 0人点赞 痴者工良 阅读全文

Parallelism through simple threads Every year, parallelism and concurrency become more important as processors tend to have more and more physical cor[......] 继续阅读

2020年11月23日 0条评论 110点热度 0人点赞 痴者工良 阅读全文

Using the builder pattern Sometimes you need something between the customization of the constructor and the implicitness of the default implementation[......] 继续阅读

2020年11月23日 0条评论 128点热度 0人点赞 痴者工良 阅读全文

Using the builder pattern Sometimes you need something between the customization of the constructor and the implicitness of the default implementation[......] 继续阅读

2020年11月23日 0条评论 3048点热度 0人点赞 痴者工良 阅读全文

Using the constructor pattern You may have asked yourself how to idiomatically initialize complex structs in Rust, considering it doesn't have constru[......] 继续阅读

2020年11月23日 0条评论 118点热度 0人点赞 痴者工良 阅读全文

Using the constructor pattern You may have asked yourself how to idiomatically initialize complex structs in Rust, considering it doesn't have constru[......] 继续阅读

2020年11月23日 0条评论 2693点热度 0人点赞 痴者工良 阅读全文