Working with Asynchrony Generically: A Tour of C++ Executors
// Type-erased receiver waiting for a keyclick: struct pending_completion { virtual void complete(char) = 0; virtual ~pending_completion() {} }; // Global registration of next completion: std::a 3: Model Ctrl-C as a sender103 struct ctrl_c_handler { struct pending { virtual void complete() = 0; virtual ~pending() {} }; static inline std::atomicpending_{nullptr}; static pending_completion { virtual void complete(char) = 0; virtual ~pending_completion() {} }; struct pending_completion { virtual void complete(char) = 0; virtual void cancel() = 0; virtual ~pending_completion() 0 码力 | 121 页 | 7.73 MB | 5 月前3基于Rust-vmm实现Kubernetes运行时
love Rust-VMM? Rust-VMM is an open-source project that empowers the community to build custom Virtual Machine Monitors (VMMs) and hypervisors. It abstracts the common virtualization components which and safety, especially safe concurrency. empty • vmm-vcpu: a hypervisor-agnostic abstraction for Virtual CPUs (vCPUs). rust-vmm • event-manager: abstractions for implementing event based systems. • linux-loader: FFI bindings to virtio kernel headers generated using bindgen. • vm-memory: abstractions over a virtual machine's memory. • vmm-sys-util: collection of modules providing helpers and utilities for building0 码力 | 27 页 | 34.17 MB | 1 年前3Secure your microservices with istio step by step
productpage-credential 3) Define a gateway which specifying above secret and define corresponding virtual service which configuring traffic routes Secure ingress gateway via TLS terminating Using ingress productpage-credential 3) Define a gateway which specifying above secret and define corresponding virtual service which configuring traffic routes Secure ingress gateway via TLS terminating https http terminate TLS in gateway using istio cert ● PASSTHROUGH: pass through the TLS traffic using SNI and virtual Service ● AUTO_PASSTHROUGH: pass through the TLS traffic purely using SNI without VS apiVersion:0 码力 | 34 页 | 67.93 MB | 1 年前3C++20: An (Almost) Complete Overview
Capture Templated Lambda Expressions Pack Expansion in Lambda Captures constexpr Changes virtual functions union, try/catch, dynamic_cast, typeid allocations constexpr string & vector args...); }; } Allowed in C++20 // ✔ well- formed:constexpr Changes32 constexpr constexpr virtual functions constexpr functions can now: use dynamic_cast() and typeid do dynamic memory allocations Capture Templated Lambda Expressions Pack Expansion in Lambda Captures constexpr Changes virtual functions union, try/catch, dynamic_cast, typeid allocations constexpr string & vector0 码力 | 85 页 | 512.18 KB | 5 月前3Making Libraries Consumable for Non-C++ Developers
*/ data_t get_data_from(size_t dev); class dev_t { public: /* Get data from this device. */ virtual data_t get_data_from() = 0; }; Assuming callee cleanup and focusing on data_t, is its return location0 码力 | 29 页 | 1.21 MB | 5 月前3THE FIRST EXPLORATION OF PROJECT SPARROW
html 1.5 Renode Overview I. Background https://renode.io/ Antmicro's virtual development framework for complex embedded systems. https://github.com/lowrisc I0 码力 | 68 页 | 13.14 MB | 1 年前3C++20 STL Features: 1 Year of Development on GitHub
for associative • Avoids potential confusion41 Continuous Integration • Scripts prepare Azure Virtual Machine Scale Sets • Currently up to 12 VMs, each with 16 cores • VMs install VS (with Clang, CMake0 码力 | 45 页 | 702.09 KB | 5 月前3C++高性能并行编程与优化 - 课件 - 性能优化之无分支编程 Branchless Programming
(*func)(int x); 则对他的调用 (*func)(42); 会得到: • mov edi, 42 • call [func] 热知识: C++ 的虚函数就是函数指针 • 通过 virtual 关键字给类定义一个虚函数,他其实就是在类成员里加了一个函数指针。 • 而在构造函数里,会把当前类重载过的虚函数,赋予给那个函数指针,实现多态。 • 虚函数是 C++ 的语法糖,纯 C 的 Linux0 码力 | 47 页 | 8.45 MB | 1 年前3sync clickhouse with mysql mongodb
Can’t update/delete table frequently in Clickhouse Possible Solutions 2. MySQL Engine Not suitable for big tables Not suitable for MongoDB Possible Solutions 3. Reinit whole table every day…… Possible PTS Key Features ● Only one config file needed for a new Clickhouse table ● Init and keep syncing data in one app for a table ● Sync multiple data source to Clickhouse in minutes PTS Provider Transform Listen: binlog, // binlog, kafka DataSource: user:pass@tcp(example.com:3306)/user, Table: user, QueryKeys: [ // usually primary key id ], Pairs:0 码力 | 38 页 | 2.25 MB | 1 年前3谈谈MYSQL那点事
不支持一些数据库特性,比如 事务、外键约束等 不支持一些数据库特性,比如 事务、外键约束等 • Table level lock Table level lock ,性能稍差,更适合读取多的操作 ,性能稍差,更适合读取多的操作 InnoDB InnoDB 特点 特点 •使用 使用 Table Space Table Space 的方式来进行数据存储 的方式来进行数据存储 (ibdata1, ib_logfile0) order by , group by 起作用 record_buffer 128K 64M 每个进行一个顺序扫描的线程为其扫描的每 张表分配这个大小的一个缓冲区,可以设置 为 2M 以上 table_cache 64 1024 为所有线程打开表的数量。增加该值能增加 mysqld 要求的文件描述符的数量。 MySQL 对每个唯一打开的表需要 2 个文件描述符。 服务优化 服务优化 MyISAM 、 、 SHOW SHOW STATUS STATUS 、 、 SHOW ENGINES SHOW ENGINES 使用 使用 DESC TABLE xxx DESC TABLE xxx 来查看表结构,使用 来查看表结构,使用 SHOW SHOW INDEX INDEX FROM xxx FROM xxx 来查看表索引 来查看表索引0 码力 | 38 页 | 2.04 MB | 1 年前3
共 19 条
- 1
- 2
相关搜索词
WorkingwithAsynchronyGenericallyTourofC++Executors基于Rustvmm实现Kubernetes运行Secureyourmicroservicesistiostepby20AnAlmostCompleteOverviewMakingLibrariesConsumableforNonDevelopers李枫2023RustChinaConf__SparrowFengLi20230614aofficialtemplateSTLFeaturesYearDevelopmentonGitHub高性性能高性能并行编程优化课件syncclickhousemysqlmongodbMySQL