Автоматизация управления ClickHouse-кластерами в Kubernetes
Replica 2 Shard 2 Replica 1 Shard 2 Replica 2 Replica Service Replica Service Replica Service User Config Map Common Config Map Stateful Set Pod Persistent Volume Claim Persistent Volume operator: kubectl apply -f clickhouse-operator-install.yaml • Хочу просто попробовать Quick Start Guide kubectl apply -f https://raw.githubusercontent.com/Altinity/clickhouse-operator/master/manifests/oper0 码力 | 44 页 | 2.24 MB | 1 年前3Bringing Existing Code to CUDA Using constexpr and std::pmr
on the device, • Callable from the device only. https://docs.nvidia.com/cuda/cuda-c-programming-guide/ index.html#function-declaration-specifiers 36 |The __host__ execution space specifier declares case the function is compiled for the host only. https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#host Execution Space Specifiers 37 |__host__ __device__ void _add(std::size_t n, float0 码力 | 51 页 | 3.68 MB | 5 月前3C++高性能并行编程与优化 - 课件 - 07 深入浅出访存优化
这样就可以和标准库优化过的 memset 一 样快了。 Intel Intrinsics Guide • _mm 系列指令出自头文件。 • 指令的文档可以看这个网站: • https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html • 里面有详细说明每个指令对应的汇编,方便理解的伪代码,延迟和花费的时钟周期等。 0 码力 | 147 页 | 18.88 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 08 CUDA 开启的 GPU 编程
add_executable 里直接加你 的 .cu 文件,和 .cpp 一样。 https://www.nvidia.cn/docs/IO/51635/NVIDIA_CUDA_Programming_Guide_1.1_chs.pdf CUDA 编译器兼容 C++17 • CUDA 的语法,基本完全兼容 C++ 。包括 C+ +17 新特性,都可以用。甚至可以把任何一个 C++ 项目的文件后缀名全部改成 , acosf , fmodf , fabsf , fminf , fmax f 。 https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/index.html#math-libraries 稍微快一些,但不完全精确的 __sinf • 两个下划线的 __sinf 是 GPU intrinstics ,精度相当于 GLSL 里的那种。0 码力 | 142 页 | 13.52 MB | 1 年前3Coaching Agile Teams
experienceCoaching JourneyCoaching“I don’t do anything!”Coach • Bulldozer – Remove impediments • Shepherd – Guide back to agile principles • Servant Leader – Serve the team, not you • Performance Guardian – Facilitate0 码力 | 15 页 | 608.54 KB | 5 月前3C++高性能并行编程与优化 - 课件 - 09 CUDA C++ 流体仿真实战
https://github.com/parallel101/course CUDA 纹理对象 https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#texture-and-surface-memory CUDA 多维数组:封装 • cudaMalloc3DArray 用于分配一个三维数组。 各维度上的大小通过 cudaExtent0 码力 | 58 页 | 14.90 MB | 1 年前3whats new in visual studio
pace 💡 Side-by-side minor Visual Studio 2022 toolsets (14.30, 14.31, etc.) Porting and Upgrading Guide: https://aka.ms/cpp/upgrade Visual Studio Agenda 1. Conformance 2. Code Safety 3. Cross-platform0 码力 | 42 页 | 19.02 MB | 5 月前3hazard pointer synchronous reclamation
Fast (low nanoseconds) and scalable protection. • Supports arbitrary protection duration (e.g., the user-defined fn is allowed to block or take long time) Asynchronous Reclamation • Asynchronous reclamation when A is reclaimed. • User removes A (implicitly removing B) • A has no more inbound links. A is automatically retired. • User removes all objects with dependence on resource X. • User calls hazard_pointer_clean_up before invoking global cleanup. • Repeat as needed if the indicator is set. • Problem: Where is user code? In User Code • Integrated link counting. • Automatically repeat global cleanup if dependent retirement0 码力 | 31 页 | 856.38 KB | 5 月前3Analyzing MySQL Logs with ClickHouse
summaries from Raw Events You can’t recover Raw Events from Summaries Audit Trace Application/User Path © 2018 Percona. 6 Why Not ? Generating Full Query Logs can be Expensive Logs can Consume Logs Audit Database Access Have Limited Level of Details Allows extensive filtering by Object, User Account etc Has information about Connection Events Available in MySQL Enterprise, Percona Server "sqltext":"SELECT SUM(k) FROM sbtest1 WHERE id BETWEEN 3 AND 102","user":"sbtest[sbtest] @ localhost []","host":"localhost","os_user":"","ip":"","db":"sbtest"}} © 2018 Percona. 19 Percona Server Configuration0 码力 | 43 页 | 2.70 MB | 1 年前3唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023
model has been at the end. A New Proposal: Open Data Application The Road to Open Web ➔ From the user side, it looks like just the traditional Internet app ➔ But everyone have the chance to download/sync app 1 app 2 app 3 app n Every app has its own backend and frontend implementations. General User Text Persistence protocol https://github.com/eightfish-org/gutp A Case: GUTP MeBlog is a blog platform attract more parties to run steady and persistent nodes for this platform? Two Major Problems ➔ End user drives, no security (or token fund) drives. ➔ Network is like a living creature, it will evolve –0 码力 | 30 页 | 2.53 MB | 1 年前3
共 15 条
- 1
- 2