Multi Producer, Multi Consumer, Lock Free, Atomic Queue## +24 ## Multi Producer, Multi Consumer, Lock Free, Atomic Queue User API and Implementation ... ## EREZ STRAUSS ## Lockfree, MPMC Queue - Legal All Statements and representations are my own and do good average - Worst case scenario, as close as possible to average • Multi producers threads - on multiple cpu-cores • Multi consumers threads - on multiple cpu-cores C++17 - no need to support C++14 between publishers and consumers • bounded - no memory allocation, other than init time • Multi producer, multi consumer • Limited data size - up 12 bytes • Ownership transfer using unique_ptrwrapper 0 码力 | 54 页 | 886.12 KB | 1 年前3
2.4 Go 1.4 runtime### Go 1.4 runtime Gopher China 2015 1. Memory Allocator 2. Garbage Collector 3. Goroutine Scheduler  ### 1. Memory Allocator0 码力 | 29 页 | 608.57 KB | 2 年前3
Rust 异步 Runtime 的兼容层 - 施继成Rust 异步 Runtime 的兼容层 施继成 @ DatenLord ## [Table_CompanyName] 6.17-6.18 @Shanghai ## Table of Contents ## # Rust async runtime Introduce what's rust async runtime 2 ## #Async runtime binding Analyze the reason of runtime isolation 3 ## # Compatible layer Create a wheel used everywhere ## 1 # Rust async runtime ## Rust async runtime  During multithreading: definitions and use-cases Parallel APIs Sources of overhead and runtime design Minimum viable runtime plan in a weekend ## Understanding the design space Concurrency vs parallelism, hardware threads The same distinctions can be done at a multithreaded language or multithreading runtime level. ## The problem ## How to schedule M tasks on N hardware threads? ## Latency vs Throughput0 码力 | 37 页 | 556.64 KB | 1 年前3
多租户Kubernetes VM Solutions for Multi-Tenant Applications# Kubernetes VM Solutions for Multi-Tenant Applications Guangxu Li, Senior Software Engineer, ZTE li.guangxu@zte.com.cn ## Container and VM Ecosystem ## Container VM Kubernetes Docker Swarm Marathon vm (traditional vm app) Kata Container Focus : container security ## V irtlet is a Kubernetes runtime server which allows you to run VM workloads, based on QCOW2 images ## V irtlet compares with other commands)  docker (runtime) Cluster components KubeVirt component Kubernetes component ## KubeVirt Application Layout ##0 码力 | 33 页 | 3.34 MB | 1 年前3
2.1.4 PingCAP Go runtime related problems in TiDB production environment## Go runtime related problems in TiDB production environment ## About me Arthur Mao(毛康力), Senior Engineer@PingCAP • TiDB core developer (top3 contributor) • GitBook about golang internals (@tiancaiamao) ready => goroutine wake up == 4.3ms ☐ Sometime even 10ms+ latency here! ☐ The time spend on runtime schedule is not negligible - When CPU is overload, which goroutine should be given priority? ## client lib ## Conclusion - Under heavy workload, goroutines get longer to be scheduled - The runtime scheduling does not consider priority • CPU dense workload could affect IO latency ## Part II -0 码力 | 56 页 | 50.15 MB | 1 年前3
Scaling a Multi-Tenant k8s Cluster in a Telco## Scaling a Multi-Tenant k8s Cluster in a Telco Pablo Moncada eBPF Summit October 28, 2020 ## About MasMovil group • 4th telecom company in Spain - Provides voice and broadband services to +12M customers operational complexity  ## Multi-tenancy caveats - Single underlying infrastructure - Reduce operational complexity - Infrastructure0 码力 | 6 页 | 640.05 KB | 1 年前3
Techniques to Optimise Multi-threaded Data Building During Game Developmentof FlatMap or HashMap depends ## HashMap Faster O(1) lookup Higher per-cell cost - memory or runtime - depends on hashmap design ## FlatMap Slower O(logn) lookup No per-cell overhead Easier to gather contains given 3d coordinates Normalises 3d coordinates into indexes Combine indexes into one - like multi-dimensional array index ## CELL BOUNDS FROM INDEX struct GridDimensions { uint32_t cell_count; Negatively impacts compile performance - each file parses & evaluates tuple templates Also impacts runtime performance - in debug mostly - also in release ▶ Easiest fix - expand code manually Fixes compile0 码力 | 99 页 | 2.40 MB | 1 年前3
02. Service Mesh落地之后_为sidecar注入灵魂 - 周群力ments/b/0/b/9/b0b93d23684d3dbee9db7c3c447ce82a/p2_1.jpg) • Service Mesh 回顾 • Multi Runtime: 从 sidecar 到机甲 • Runtime API: 解决跨云部署和厂商绑定难题 • WebAssembly in sidecar: 让业务逻辑跑在sidecar里 • 展望2022:待解决的问题 • 2:异构语言接入成本高  ## Multi-Runtime  图片来源: https://www com/articles/multi-runtime-microservice-architecture/  Reference: https://www.infoq.com/articles/multi-runtime-microservice-architecture/0 码力 | 63 页 | 880.85 KB | 2 年前3
Nim - the first high performance language with full support for hot codereloading at runtime## Nim - the first high performance language with full support for hot codereloading at runtime by Viktor Kirilov ## Me, myself and I • my name is Viktor Kirilov - from Bulgaria • creator of doctest raises an `FieldError` exception, because # n.kind's value does not fit: n.strVal = "" ## Multi methods type Thing = ref object of RootObj Unit = ref object of Thing x: int method collide(a currency? • coroutines & closures • switch & pattern matching • dynamic dispatch & multi-methods - converters - explicit (for implicit conversions) • effect system (transitive) • extensible0 码力 | 63 页 | 2.91 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













