RustBelt - Rust 的形式化语义模型Ownership & Mutable Borrow Examples • Rc Logics • Hoare Logic • Separation Logic Background ERC Project "RustBelt" 2015-2021 Unlike C/C++, Rust is a safe language But, like C/C++, Rust is also0 码力 | 21 页 | 2.63 MB | 1 年前3
Secure your microservices with istio step by step○ kubectl exec-c istio-proxy curl localhost:15000/config_dump #IstioCon Istio identity – check configuration result ● Result: cert generated automatically with Istio identity 1) Apply peer-authentication AuthorizationPolicy metadata: name: require-jwt namespace: istio-system spec: action: ALLOW rules: - from: - source: requestPrincipals: ["testing@secure.istio.io/testing@sec ure.istio "productpage-viewer" namespace: default spec: selector: matchLabels: app: productpage rules: - to: - operation: methods: ["GET"] apiVersion: "security.istio.io/v1beta1" kind: 0 码力 | 34 页 | 67.93 MB | 1 年前3
绕过conntrack,使用eBPF增强 IPVS优化K8s网络性能• Cons • O(N^2) in control plane / O(N) in data plane • Poor in scheduling algorithm • Iptables rules are difficult to debug IPVS mode • Services are organized in hash table • IPVS DNAT • conntrack/iptables Size limitation of BPF program is one million after Linux 5.2 Lessons from eBPF • Too strict check in eBPF verifier • Example: s64 bpf_csum_diff(__be32 * from, u32 from_size, __be32 * to, u32 to_size);0 码力 | 24 页 | 1.90 MB | 1 年前3
Автоматизация управления ClickHouse-кластерами в Kubernetesconfiguration: settings: compression/case/method: zstd ● Zoned deployment, Affinity rules ● AntiAffinity rules ● Service templates Operator Administration: ClickHouse defaults Можно собрать желаемую0 码力 | 44 页 | 2.24 MB | 1 年前3
新一代分布式高性能图数据库的构建 - 沈游人Logical Plan Logical Plan Optimized Logical Plan Physical Plan Program API Analysis rules Optimization rules: MATCH -> pushdown Planning Strategies Graph Execution Code Gen JIT Cost model Storage0 码力 | 38 页 | 24.68 MB | 1 年前3
Making Libraries Consumable for Non-C++ DevelopersCallingConv.h • Don’t throw exceptions across the boundary. Explicitly state/document memory ownership rules. • Consider accepting memory alloc/dealloc callbacks – recall previous recommendation. • Limit implicit0 码力 | 29 页 | 1.21 MB | 6 月前3
C++20: An (Almost) Complete Overvieworder of dynamic initializations ❌ Static variables with constant initializers ✔ Complex rules Non-trivial for a reader to know whether it’s constant initialization or dynamic initialization0 码力 | 85 页 | 512.18 KB | 6 月前3
Analyzing MySQL Logs with ClickHouse2018 Percona. 36 Anyone dumping a lot of data ? © 2018 Percona. 37 Want Processed Logs ? Check out Percona Monitoring and Management © 2018 Percona. 38 Need Help ? Percona - MySQL, MariaDB0 码力 | 43 页 | 2.70 MB | 1 年前3
hazard pointer synchronous reclamationGlobal Cleanup Implementation • Must collect all retired objects (including in private caches) • Must check all hazard pointers against collected objects • Must complete reclamation of all unprotected objects0 码力 | 31 页 | 856.38 KB | 6 月前3
C++23: An Overview of Almost All New and Updated Featuresstd::optional New members for std::optional to chain operations on an optional without having to check for them being empty transform(F) returns optional containing result of invoking F on *this0 码力 | 105 页 | 759.96 KB | 6 月前3
共 10 条
- 1













