当前位置:网站首页>What is the core design of Dadi's performance advantage in the cache hit scenario?
What is the core design of Dadi's performance advantage in the cache hit scenario?
2022-04-21 22:43:00 【Alibaba cloud Q & A】
DADI Performance advantages in cache hit scenario , What is the core design ?
Take the answer 1:
1、 Short circuit reading , Read shared memory directly , Avoid passage IPC read ; 2、 Whether the cache hits the data structure , It's also in shared memory . adopt reference count, combination robust mutex To ensure the safety of multi thread data sharing ; 3、 Disk read ,100us,+ 27us About equal to the disk read itself rt,IPC go shm signal communication , No local socket signal communication . 4、 Very low resource use . Memory :DADI Service The memory used is 100~200M, The reason is based on shared memory IPC Realization ,hash Data structures such as tables , Avoid memory expansion under multi process architecture , Streamlined coding ,1 Memory pages 16k Corresponding 4byte Management structure ; CPU:Local DADI Service When the disk is full, the single core CPU Use 20% about .CPU Used in SDK here ,SDK And Local DADI Service There is little communication .
版权声明
本文为[Alibaba cloud Q & A]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211136312565.html
边栏推荐
- Database exercise
- 【中南林业科技大学】【陈】第六周创新题素数
- Algorithm -- merge K ascending linked lists (kotlin)
- Markdown代码块支持的语言
- Is it really safe to outsource model training? New research: outsourcers may implant backdoors to control bank lending
- openCV——直方图处理
- Logic control (example explanation)
- CC00000.ZABBIX———————————————
- 循环队列与扩容
- L1-057 PTA refreshed me (5 points)
猜你喜欢

Oracle database 22c insight:_ kgl_ Large_ heap_ assert_ Threshold automatic and manual adjustment

Software designer - Chapter 6: system security analysis and design

Collection of some websites
Event distribution mechanism Android, Android interview summary of large manufacturers, detailed answers

Outsourcing student management system detailed architecture design document

Recursive stack with the help of classical recursive tree

One plus two earphone products: charge for 10 minutes and listen to music for 20 hours

日撸代码300行学习笔记 Day 46

软件设计师——第六章:系统安全分析与设计

It is revealed that Xiaomi has new machines this month, and many of its products are ready to go
随机推荐
After learning the linked list, don't you find some classic examples to consolidate your knowledge? The five OJ classic examples of the linked list, can you? Let's have a look (knowledge analysis + gr
Raspberry pie 3B + installation mjpg streamer
Introduction to cyclone IV e series
Outsourcing student management system detailed architecture design document
Is it really safe to outsource model training? New research: outsourcers may implant backdoors to control bank lending
事件分发机制Android,大厂Android面试总结 详细解答
Oracle Database 22c 管窥:_kgl_large_heap_assert_threshold 自动和手动调节
日撸代码300行学习笔记 Day 46
Sorting methods (8 kinds) detailed explanation 7 - counting sorting
【matlab】matlab绘图操作技巧
[sdoi2012] Chandelier
L1-057 PTA使我精神焕发 (5 分)
一些网址的收藏
排序方式(8种)详解7—计数排序
Opencv -- geometric transformation
算法--合并K个升序链表(Kotlin)
L1-064 估值一亿的AI核心代码 (20 分)
黑盒测试-数据的读取与输出方式
CC10000. ZABBIX———————————————
2022 Intermediate Accounting Title Financial Management exercises and answers