Analyzing MySQL Logs with ClickHouse• clicktail –c /etc/clicktail/clicktail.conf • To See how it works • service clicktail start • To run as a service © 2018 Percona. 15 MySQL Logs Primer General Query Log Binary Log 22 MySQL Slow Query Logs to ClickHouse © 2018 Percona. 23 When to use Slow Query Logs ? Everything Else Performance Analyses Debugging © 2018 Percona. 24 Slow Log Record Example © 2018 Percona –server pmm.your-domain.com • pmm-admin add linux:metrics • pmm-admin add external:service clickhouse --interval 10s --service-port=9116 © 2018 Percona. 40 Use Advanced Data Exploration Dashboard © 20180 码力 | 43 页 | 2.70 MB | 1 年前3
Making Libraries Consumable for Non-C++ Developersdisparate entities to work together.Why interoperability? No language or platform is good for everything. Fast inner loop Makes UX easy Has tooling for workload High performance Avoids costly abstractions nint DoTheThing(BlubT b); to nint DoTheThing(in BlubT b); Result: Windows – everything passed. Linux – everything failed. Why?Making Libraries Consumable for Non-C++ Developers Aaron R Robinson0 码力 | 29 页 | 1.21 MB | 6 月前3
Performance Lets dive into Performance issuesPerformance Lets dive into Performance issues. • Everything in JavaScript defaults to being on the same thread. Too much work on main thread • Android nested layouts • Functions and objects defined Native Engine information • Object class modifications. Threading • In NativeScript by default everything runs on the main thread. This design has both pro’s and cons • Pros: Easy access to anything0 码力 | 15 页 | 1.71 MB | 1 年前3
C++20 STL Features: 1 Year of Development on GitHubnumbers • Part 0: Overview • What's happened in the last year • Part 1: C++20 STL Features • Everything here is Standard, except as noted • Part 2: GitHub Development • For contributors and observers3 class T> constexpr bool in_range(T t) noexcept;11 constexpr Algorithms12 C++20 constexpr Everything • constexpr enables compile-time programming without arcane templates • Algorithms: • P0202R30 码力 | 45 页 | 702.09 KB | 6 月前3
C++20: An (Almost) Complete OverviewLibrary in bigger modules But, all C++ headers are “importable”, e.g. import; Everything in is exported, including macros Improves build throughput; will be processed inch * 25.4; } const double const_inch { 6 }; const auto mm1 { InchToMm(const_inch) }; // Fine, everything is constant ✔ double dynamic_inch { 8 }; const auto mm2 { InchToMm(dynamic_inch) }; // Compilation 0 码力 | 85 页 | 512.18 KB | 6 月前3
C++23: An Overview of Almost All New and Updated Featuresimport std; Imports everything from std namespace from C++ headers (e.g. std::sort()) C wrapper headers (e.g. std::fopen()) import std.compat; Imports everything std imports + global0 码力 | 105 页 | 759.96 KB | 6 月前3
NativeScript 101Wrapper • Plugins created with JS/TypeScript • Angular Support (or not ?) • 100% Day 0 API Access • Everything Runs on UI Thread* • Plugins created with native code • React Support • API Access via Native0 码力 | 90 页 | 40.11 MB | 1 年前3
Автоматизация управления ClickHouse-кластерами в KubernetesZookeeper-2 Zookeeper-1 Replica Service Load Balancer Service Shard 1 Replica 2 Shard 2 Replica 1 Shard 2 Replica 2 Replica Service Replica Service Replica Service User Config Map Common Config Running NAME TYPE CLUSTER-IP service/chi-demo-01-demo-0-0 ClusterIP None service/clickhouse-demo-01 LoadBalancer 10.98.143.187 NAME TYPE CLUSTER-IP service/chi-demo-01-demo-0-0 ClusterIP None service/chi-demo-01-demo-1-0 ClusterIP None service/clickhouse-demo-01 LoadBalancer 10.98.1430 码力 | 44 页 | 2.24 MB | 1 年前3
Secure your microservices with istio step by step#IstioCon Security Architecture #IstioCon Bookinfo architecture without service mesh ● Reviews-v1 ○ doesn’t call the ratings service. ● Reviews-v2 ○ calls ratings, black stars ● Reviews-v3 ○ calls services with istio sidecar without reviews-v2 2) Deploy bookinfo gateway 3) Deploy reviews-v2 service without istio sidecar ( kubectl label namespace default istio-injection=disabled/enabled ) Initializing services with istio sidecar without reviews-v2 2) Deploy bookinfo gateway 3) Deploy reviews-v2 service without istio sidecar ( kubectl label namespace default istio-injection=disabled/enabled ) http0 码力 | 34 页 | 67.93 MB | 1 年前3
绕过conntrack,使用eBPF增强 IPVS优化K8s网络性能Zhiguohong (honkiko@github) Bypassing conntrack: Optimizing K8s Service By Enhancing IPVS with eBPF Agenda 目录 01 Problems with K8s Service How to optimize 02 Comparison with industry Performance measurement measurement 03 04 Future work 05 06 Lessons from eBPF What is K8s Service • It exposes a set of pods via VIP using a load balancer • Two types • ClusterIP provides in-cluster access • NodePort not use DPDK? • DPDK performs busy polling even when network is idle. • Why not use a pure eBPF service? • Not mature enough eBPF brief • Write C • Compile into eBPF assembly code • Inject to kernel0 码力 | 24 页 | 1.90 MB | 1 年前3
共 19 条
- 1
- 2













