Автоматизация управления ClickHouse-кластерами в KubernetesExamples - clickhouse-operator docs ClickHouse operator – начало • Хочу во всем разобраться Get files from github repo: git clone https://github.com/Altinity/clickhouse-operator Install the operator: Single-node “cluster” apiVersion: "clickhouse.altinity.com/v1" kind: "ClickHouseInstallation" metadata: name: "demo-01" spec: configuration: clusters: - name: "demo" Здесь нет storage Еще 1 37s Sharding apiVersion: "clickhouse.altinity.com/v1" kind: "ClickHouseInstallation" metadata: name: "demo-01" spec: configuration: clusters: - name: "demo" layout:0 码力 | 44 页 | 2.24 MB | 1 年前3
基于Rust-vmm实现Kubernetes运行时Seccomp, AppArmor, Capabilities, Cgroup 3. Intrusion Detection - Monitor suspicious read/write to host files. For example, containerd-shim/busybox/docker-runc , /usr/bin/docker-runc /bin/bash /bad_init /proc/self/fd/ create container start agent cat << EOT | tee nginx-untrusted.yaml apiVersion: v1 kind: Pod metadata: name: nginx-untrusted annotations: io.kubernetes.cri.untrusted-workload: "true" spec:0 码力 | 27 页 | 34.17 MB | 1 年前3
Secure your microservices with istio step by stepdefault to PERMISSIVE if no set apiVersion: "security.istio.io/v1beta1“ kind: "PeerAuthentication“ metadata: name: "demo-peer-policy“ namespace: "default“ spec: selector: matchLabels: app: to TLS with service outside mesh apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: reviews spec: host: reviews trafficPolicy: tls: mode: ISTIO_MUTUAL 1) Generate TLS traffic purely using SNI without VS apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: name: bookinfo-gateway spec: selector: istio: ingressgateway # use istio default controller0 码力 | 34 页 | 67.93 MB | 1 年前3
基于 Rust Arrow Flight 的物联网和时序数据传输及转换工具 霍琳贺https://crates.io/crates/zstd • Async Hashmap:https://crates.io/crates/dashmap Arrow • Schema with metadata • RecordBatch • IPC Stream Tonic + Arrow Flight • 以流为中心的 RPC 框架 Tokio - Future and .abort()0 码力 | 29 页 | 2.26 MB | 1 年前3
谈谈MYSQL那点事I/O 越少,一般是内存的一半,不超过 2G , 否则系统会崩溃,这个参数非常重要 innodb_additional_mem _pool_size 2M 512M InnoDB 用来保存 metadata 信息 , 如果内存是 16G ,最好本值超 1024M innodb_flush_log_at_trx _commit 1 0 0 代表日志只大约每秒写入日志文件并且日志文件 刷新到磁盘0 码力 | 38 页 | 2.04 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 16 现代 CMake 模块化项目管理指南h>|lib*|share)/*/cmake/ • 其中 是变量 ${CMAKE_PREFIX_PATH} , Windows 平台默认为 C:/Program Files 。 • 是你在 find_package( REQUIRED) 命令中指定的包名。 • 是系统的架构名。 https://zhuanlan.zhihu 会依次搜索: • C:/Program Files/Qt5Config.cmake • C:/Program Files/cmake/Qt5Config.cmake • C:/Program Files/Qt5/Qt5Config.cmake • C:/Program Files/Qt5/cmake/Qt5Config.cmake • C:/Program Files/Qt5/lib/cmake/Qt5/Qt5Config C:/Program Files/Qt5/lib/x86_64-windows-gnu/cmake/Qt5/Qt5Config.cmake • C:/Program Files/Qt5/share/cmake/Qt5/Qt5Config.cmake • C:/Program Files/Qt5/lib/Qt5/Qt5Config.cmake • C:/Program Files/Qt5/lib/ 0 码力 | 56 页 | 6.87 MB | 1 年前3
whats new in visual studioVisual Studio Build Debug Edit Developer inner-loop Developer inner-loop Build Debug Edit Find in Files 1.8x faster 1 2 0 5 10 15 20 25 30 35 40 45 50 47 27 Series1 Open C++ File 2.4x faster 1 2 0 0.5 ms/18xfaster Performance of Visual Studio Developer inner-loop Build Debug Edit Find in Files 1.8x faster Open C++ File 2.4x faster IntelliSense Ready* 1.9x faster *) Colorization + Member Performance of Visual Studio At CppCon last year Developer inner-loop Build Debug Edit Find in Files 1.8x faster Open C++ File 2.4x faster IntelliSense Ready* 1.9x faster *) Colorization + Member0 码力 | 42 页 | 19.02 MB | 6 月前3
C++20: An (Almost) Complete OverviewAdvantages Replace header files Modules explicitly state what should be exported (e.g. classes, functions, …) Separation into module interface files and module implementation files is possible but not Improves build throughput;will be processed only once Comparable to precompiled header files (PCH) Custom headers can also be made importable, but how to is compiler dependent “How C++20 0 码力 | 85 页 | 512.18 KB | 6 月前3
C++高性能并行编程与优化 - 课件 - 11 现代 CMake 进阶指南中添加一个可执行文件作为构建目标 另一种方式:先创建目标,稍后再添加源文件 如果有多个源文件呢? 逐个添加即可 使用变量来存储 建议把头文件也加上,这样在 VS 里可以出现在“ Header Files” 一栏 使用 GLOB 自动查找当前目录下指定扩展名的文件,实现批量添加源文件 启用 CONFIGURE_DEPENDS 选项,当添加新文件时,自动更新变量 如果源码放在子文件夹里怎么办? Python 的 os.path.join(x, ‘bin’) 一样的效果。 毕竟大多数操作系统都是 Unix-like 嘛……就 Windows 喜欢搞特殊 。 cd /d C:\\Program\ Files\ \(x86\)\\Microsoft\ Visual\ Studio\\2019\\ 怎么路径里动不动夹杂几个转移符、空格、特殊符号?这谁顶得住啊 。 高情商: Windows 是最适合练习你 没加引号会怎样?会把列表里的字符串当成他的关键字 结论:除非确实需要列表,建议始终在你不确定的地方加上引号,例如: set(sources “main.cpp” “mylib.cpp” “C:/Program Files/a.cpp”) message(“${sources}”) 第 7 章:变量与缓存 重复执行 cmake -B build 会有什么区别? 可以看到第二次的输出少了很多,这是因为 CMake0 码力 | 166 页 | 6.54 MB | 1 年前3
Analyzing MySQL Logs with ClickHouse© 2018 Percona. 7 Clickhouse Answers • 10x+ times space reduction compared to Raw Text Log Files High Compression (column store + LZ4) • Typically 100x faster than MySQL on Single Server0 码力 | 43 页 | 2.70 MB | 1 年前3
共 14 条
- 1
- 2













