1.5 Badger_ Fast Key-Value DB in GoRecruiters loved it! For jobs in the same company. ’ alt=‘OCR图片’/> Design Two common Trees LSM trees B+ trees Compaction continues creating fewer, larger and larger files More levels High Fewer levels Low write throughput Low read latency Example: BoltDB Badger is based on LSM trees. Memtable (64 MB) L0(256MB) $$ \square \square \square \square $$ $$ \mathrm {L 1 (2 5 6 M B)} \square \square \square \square \square $$ Writes in LSM trees: Memtable to L0 ’ alt=‘OCR图片’/> Writes in LSM trees: L0 to L1 ’ alt=‘OCR图片’/> Writes in LSM trees: Li to Li+1 ’ alt=‘OCR图片’/> What makes Badger0 码力 | 74 页 | 1.70 MB | 3 月前3
Await-Tree Async Rust 可观测性的灵丹妙药 - 赵梓淇RUST CHINA CONF 2023 第三届中国 Rust 开发者大会 6.17-6.18 @Shanghai ## Await-Tree Async Rust 可观测性的灵丹妙药 赵梓淇 Bugen Zhao RisingWave ## Await-Tree Async Rust 可观测性的灵丹妙药   Await-Tree 的应用与真实案例 的应用与真实案例 ## Await-Tree Async Rust 可观测性的灵丹妙药 1 回顾 Async Rust 的设计与痛点  Await-Tree 的设计原理与实现  with policy enforcement (LSM probes) ▶ Rapid prototyping ▶ Safe production deployment of new security solutions We have an opportunity Implementation ▶ Userspace daemon using the Python3 bcc framework ▶ Kernelspace components are all eBPF ▶ LSM probes (KRSI), kprobes, uprobes, tracepoints ▶ Under 2000 source lines of kernelspace code Thanks0 码力 | 8 页 | 528.12 KB | 2 年前3
Typescript, Angular, 和移动端的跨平台开发emit onTurnDone event. - ApplicationRef - Triggered by onTurnDone and checks the whole component tree for change detections. - ChangeDetectorRef - checks only the current component and its children. component has a change detector. - Change detector propagates bindings from top to leaves. ☐ Directed tree: More performant, predictable, and debuggable than cycles. - Hundred of thousands of checks per few application. - Detect template errors early. • Used by Mobile Frameworks: Ionic & NativeScript. - Tree Shaking: Remove any dead code not used in final bundle by WebPack. ## Angular Universal - Pre-compiles0 码力 | 60 页 | 1.05 MB | 2 年前3
Что нужно знать об архитектуре ClickHouse, чтобы его эффективно использоватьпервичному ключу! MergeTree: поддерживаем небольшое количество упорядоченных кусков Идея та же, что и в LSM-дереве   ☐ A Signal Tree (which has as many leaf nodes as there are work contracts in the group) • Threads are brought to Contracts  ## The Signal Tree: • Lock Free with most operations also wait free ☐ Allows MT traversal without locks and therefore Fairness|0.25|0.15|0.04|0.01| ## Where is this improvement coming from? Signal Trees ## The Signal Tree: • Lock Free with most operations also wait free: ○ Allows MT traversal without locks and therefore0 码力 | 142 页 | 2.80 MB | 1 年前3
Nim 2.0.8 Manualexecutable. The compiler parses Nim source code into an internal data structure called the abstract syntax tree (AST). Then, before executing the code or compiling it into the executable, it transforms the AST are tokens; they are only allowed at certain places in the input file as they belong to the syntax tree. ## Multiline comments Starting with version 0.13.0 of the language Nim supports multiline comments types (ADTs) as found in other languages. An example: # This is an example of how an abstract syntax tree could be modelled in Nim type NodeKind = enum # the different node types nkInt, # a leaf0 码力 | 132 页 | 5.73 MB | 2 年前3
《玩转webpack》第五章 进阶篇: webpack 构建速度和体积优化策略tinypng:也是将24位png文件转化为更小有索引的8位图片,同时所有非必要的metadata也会被剥离掉 ## tree shaking(摇树优化)复习 概念:1 个模块可能有多个方法,只要其中的某个方法使用到了,则整个文件都会被打到 bundle 里面去,tree shaking 就是只把用到的方法打入 bundle,没用到的方法会在 uglify 阶段被擦除掉。 使用:webpack com/polyfill_service/v2/polyfill.min.js?unknown=polyfill&features=Promise,Map,Set ## 体积优化策略总结 Scope Hoisting Tree-shaking 公共资源分离 图片压缩 动态 Polyfill ## ☐ ☐ ☐ ☐ ## 扫码试看/订阅 《玩转webpack》0 码力 | 36 页 | 8.13 MB | 2 年前3
peewee Documentation Release 3.1.0source-code [https://github.com/coleifer/peewee/tree/master/examples/twitter] on github. There is also an example blog app [https://github.com/coleifer/peewee/tree/master/examples/blog] if that’s more to your com/coleifer/peewee/blob/master/examples/] $ , including: Example blog app [https://github.com/coleifer/peewee/tree/master/examples/blog] using Flask and peewee. Also see accompanying blog.post [http://charlesleifer th-python/] you might enjoy as well. - Analytics web-service [https://github.com/coleifer/peewee/tree/master/examples/analytics] (like a lite version of Google Analytics). Also check out the companion0 码力 | 332 页 | 370.77 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Badgerkey-value DBLSM treevalue logGoAwait-TreeRust异步编程观测性调试工具eBPFKRSILSM探针kprobesuprobesTypeScriptAngular跨平台开发IonicTree ShakingClickHouseDistributed tablesreplicated merge treeshardingmaterialized viewsrm commandcp commandmv commandtree commandls commandTask Based ConcurrencyTask QueuesWork ContractsSignal TreeLock FreeNimabstract syntax treestatic typedynamic typeUTF-8WebpackBundleAnalyzerPluginspeed-measure-webpack-pluginTree-shakingScope HoistingORMPeeweeDatabaseSQLModel













