Masutangu

也許我這一生 始終在追逐那顆九號球

Core dump 原理探究学习笔记(六)

本系列文章是读《coredump问题原理探究》的读书笔记。 Vector 1 2 3 4 5 6 7 8 9 10 #include <vector> int main() { std::vector<int> vec; vec.push_back(0xffeeffab); vec.push_back(0xabcdef01); vec.push_...

Core dump 原理探究学习笔记(五)

本系列文章是读《coredump问题原理探究》的读书笔记。 多继承 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57...

Core dump 原理探究学习笔记(四)

本系列文章是读《coredump问题原理探究》的读书笔记。 虚函数 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #include <stdio.h> class xuzhina_dump_c06_s3 { private: int m_a; public: xuzhina_dump_c06_s3...

Core dump 原理探究学习笔记(三)

本系列文章是读《coredump问题原理探究》的读书笔记。 基本数据类型 char 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #include <stdio.h> int main() { char c1 = 'a'; char c2 = 'b'; char c3 = 'c'; printf("addresses o...

Druid 学习笔记

数据类型 Druid 每行包括三种类型的数据: Timestamp 每行数据必须包括 timestamp,数据以 timestamp 进行分区。 Dimension Dimension 可以执行 filter 或者 grouped by。 Metrics Metrics 可以执行 aggregated ...

Designing Data-Intensive Applications 读书笔记(四)

Chapter 8. The Trouble with Distributed Systems Faults and Partial Failures In a distributed system, there may well be some parts of the system that are broken in some unpredictable way, even tho...

Designing Data-Intensive Applications 读书笔记(三)

Chapter 6. Partitioning For very large datasets, or very high query throughput, that is not sufficient: we need to break the data up into partitions, also known as sharding. The main reason for w...

Core dump 原理探究学习笔记(二)

本系列文章是读《coredump问题原理探究》的读书笔记。 函数逆向 这是将要逆向的样例源码: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 #include <stdio.h> #include <string.h> int main(int argc, char* argv[]) { f...

Core dump 原理探究学习笔记(一)

本系列文章是读《coredump问题原理探究》的读书笔记。 函数调用帧 先看一个例子 1 2 3 4 5 6 7 8 9 10 11 12 13 // test.cpp int func(int c, char* s, int off) { int a = 0x12345678; int *p = &a; int res = c + *(s + off); r...

Designing Data-Intensive Applications 读书笔记(二)

Chapter 4. Encoding and Evolution When a data format or schema changes, a corresponding change to application code often needs to happen. However, in a large application, code changes often cannot...