IntroductionThe purpose of this document is to share some ideas that I've developed over the years about how to develop a certain kind of application for which the term "server" is only
转载 精选 2013-07-02 09:46:14
445阅读
Concepts discrimination What is the realtionships among parallel computing, high-performance computing and supercomputing ? parallel computing: using multiple computing core to compute a job high-
原创 2023-11-11 22:22:16
211阅读
【代码】High-performance TCP mock server。
原创 7月前
55阅读
@[toc]头一次写这种文章,如果大家有啥好的意见和建议,欢迎私信或在评论区指出(❁´◡`❁)Information标题:DyGait: Exploiting Dynamic Representations for High-performance Gait Recognition出处:北交23年挂在arxiv上的一篇论文,网址:https://arxiv.org/abs/2303.14953v1
原创 2023-05-18 08:24:38
129阅读
Fast forward to Wi-Fi 6 era. Around the time of the introduction of the Wi-Fi 6, regulatory agencies around the world released new unlicensed spectrum in the 6GHz band which is more than dou
原创 2023-06-13 11:56:42
104阅读
Implementing a Key-Value Store – Part 10: High-Performance Networking: KingServer vs. Nginx This is Part 10 of the IKVS series, “Implementing a Key-Va
原创 2022-09-21 23:01:09
126阅读
Fast forward to Wi-Fi 6 era. Around the time of the introduction of the Wi-Fi 6, regulatory agencies around the world released new unlicensed spectrum in the 6GHz band which is more than dou
原创 2023-06-08 11:11:25
97阅读
用于保存一个server的副本,可以用于备份、测试、均衡查询负载(写需要好的设计) OverView 1. 两种方法:基于statement,基于row,都是将master的binary log中的改变在slave中重放 2. slave延迟时间不能保证,复杂查询可能会导致几小时的延迟 3. 版本向前兼容 4. slave对master的负载不大,会增加一些网络IO Topol
翻译 精选 2013-05-04 19:31:46
521阅读
Rule 1. Make Fewer HTTP RequestsRule 2. Use a Content Delivery NetworkRule 3. Add an Expires HeaderRule 4. Gizp ComponentsRule 5. Put Stylesheets at the TopRule 6. Put Scripts at the BottomRule 7. Avo
转载 精选 2009-12-25 14:36:01
948阅读
 Mysql Logic Architecture 1. Mysql最与众不同的特点是存储引擎结构,他的设计把查询处理和server的其他task与data的存取分离开来 2. mysql逻辑结构 connection manager 查询解析优化执行:优化器会询问StorageEngine的性能及某些操作的cost storage engine 3. cuncurre
原创 2011-10-27 17:28:43
617阅读
 Storing Code 1. trigger/stored procedure/stored function;job(events) 2. 优点 节省带宽 集中化业务规则、加强一致性、 减轻release policy和维护 安全上有优势 server缓存执行计划 适用于定时job、不需要第三方支持 应用和db的开发人员分开 3. 缺点 Mys
原创 2011-12-09 16:30:56
524阅读
 概述 1. 配置相关:硬件、数据大小、query类型、系统需求(响应时间、事务、一致性等等 2. 需要个性化配置:默认配置只是使server运行,考虑通用性、其他运行程序、不占用太多资源 3. 调整一个参数不可能获得较大性能提升,需要为一堆参数设置合理值,慢慢提升 4. 内存使用、IO、disc存储;基于负载的调试;需要特殊定制的query   配置基础 1.
原创 2011-12-11 17:09:01
1033阅读
 Tuning I/O 1. 影响同步数据到disc和恢复数据,因为涉及到了io,对性能影响非常大,其实是在性能与数据安全性上找一个平衡 2. MyISAM delay_key_write:延缓index写入disc OFF:除非table使用LOCK TABLE锁了,每次对key buffer的修改都flush到disc ON:可以延迟写,需要index建立时声明D
原创 2011-12-14 13:16:59
620阅读
第一章:The Big Picture作者开篇就提到大家总说 Django 性能不行,但是实际上 有很多高性能的站点是使用 Django 开发的。Django’s scaling success stories are almost too numerous to list at this point. It backs Disqus, Instagram, and Pinterest. Want
转载 2019-06-08 05:19:32
841阅读
In any optimization effort, it’s critical to profile current performance to identifywhere you can achieve the greatest improvements.It’s clear that the place to focus isfrontend performanc...
转载 2009-09-25 12:53:00
114阅读
2评论
Building High Performance HTML PagesThe Internet, in
转载 2022-10-13 21:55:18
53阅读
 两个原因分析查询慢的sql: 是否查询过多的行或列;是否分析了过多的行 1. 查询过多数据:查询全部只取10行(应该用LIMIT);多表连接查询全部列;select *, 会使许多优化无用(coving index,增加io,内测,cpu负担) 2. 查询时 检查的过多的数据: 几个可以作为参考的标准:执行时间;检查的行数;返回的行数 通过索引会更快,type=ref;ty
原创 2011-11-27 20:59:16
611阅读
​​​​  以下载到旧PC机
转载 2009-11-20 21:41:00
70阅读
2评论
Query Cache 1. 存储Query,并且存储result 2. cache会跟踪哪些table被使用了,是否被修改了, 3. 对应用程序透明 4. 使用hash去查找;任何大小写、空格、注释都会影响命中    结果需要是确定性的:now() current_user() current_date() result都不会被缓存 5. 会增加系统负载,一般不大
原创 2011-11-30 17:07:25
702阅读
 Load balance 1. 硬件或软件实现:web server做需要,常用的特性都是为http配置,其他配置只有一点点 Mysql Proxy:负载均衡和读写分离,Lua编写 虽然Mysql使用TCP/IP协议,使用普通HTTP 负载均衡策略对于Mysql的不足: 难以理解真正的负载:分布式查询等,一般均衡器认为查询的load是一样的 http sessio
原创 2012-01-04 17:37:56
432阅读
  • 1
  • 2
  • 3
  • 4
  • 5