码迷,mamicode.com
首页 >  
搜索关键字:squid cache    ( 9092个结果
文件流
try { //从指定文件中引入程序的 输入流 FileInputStream fins = new FileInputStream(fileName); //缓存空间 byte[] cache = new byte[fins.available()]; //文件...
分类:其他好文   时间:2014-07-10 10:08:30    阅读次数:233
linux概念之cache
cache客户端CACHE客户端CACHE,包括浏览器本身的缓存、FLASH存储等,用于存储一些临时的文件或者变化不大或无变化的数据:1.如浏览器自动将用户浏览的网页存储在用户的硬盘上,下次再浏览相同的网站的时候,系统会自动从硬盘中调出该网页,既节省了时间也减少了网络的交换;2.还有就是相同的数据需...
分类:系统相关   时间:2014-07-10 00:47:58    阅读次数:397
flashcache中内存与磁盘,磁盘与磁盘的io
flashcache中跟磁盘相关的读写分为以下两类:1)磁盘跟内存的交互2)磁盘跟磁盘之前的交互比如说读不命中时就是直接从磁盘读,属于第1种情况,那读命中呢?也是属于第1种情况,不过这时候是从SSD读。磁盘跟磁盘之间交互是用于写脏数据,将SSD中脏cache块拷贝到磁盘上去。现在介绍下两种情况使用的...
分类:其他好文   时间:2014-07-07 18:31:45    阅读次数:253
html禁止缓存
HTML: ASP response.expires=0 response.addHeader("pragma","no-cache") response.addHeader("Cache-Control","no-store, must-revalidate") PHP header("E...
分类:Web程序   时间:2014-07-07 17:48:45    阅读次数:267
android图片缓存框架Android-Universal-Image-Loader(二)
这篇打算直接告诉大家怎么用吧,其实这个也不是很难的框架,大致使用过程如下: // 获取缓存图片目录 File cacheDir = StorageUtils.getOwnCacheDirectory(activity, "imageloader/Cache"); ImageLoaderConfiguration config = new ImageLoaderConfigur...
分类:移动开发   时间:2014-06-30 08:13:12    阅读次数:289
Linux下Nginx的安装步骤
Linux下Nginx的安装 如果出现:error: 'ngx_http_file_cache_node_t' has no member named 'length'异常,可能是ngx_cache_purge-2.1.tar.gz版本太旧导致...
分类:系统相关   时间:2014-06-30 00:11:43    阅读次数:401
当前一种先进实用的架构设计
这是一个先进实用的架构,采用了haproxy、lvs、keeplived进行负载均衡,使用couchbase、squid进行缓存,使用mysql数据库主从方式,使用lucene搜索等技术,提供了HA、HP的服务性能,值得采纳。对用JAVA开发的项目来说,根据“成熟稳定、先进科学、实用可靠“的原则,可以使用这样一种架构,采用多个集群来保证系统的高性能、高可靠性、伸缩性、可维护性和安全的需要,服务器可以线性扩展,使用开源免费软件和廉价服务器,提供极高的性价比。...
分类:其他好文   时间:2014-06-29 23:11:10    阅读次数:729
LeetCode: LRU Cache [146]
【题目】 Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive) of the key if the key exists in the cache, otherwise return -1. se...
分类:其他好文   时间:2014-06-29 22:45:26    阅读次数:358
[转] KVM storage performance and cache settings on Red Hat Enterprise Linux 6.2
Almost one year ago, I checked how different cache settings affected KVM storage subsystem performance. Results were very clear: to obtain good I/O sp...
分类:系统相关   时间:2014-06-29 19:47:59    阅读次数:448
[转] KVM scalability and consolidation ratio: cache none vs cache writeback
http://www.ilsistemista.net/index.php/virtualization/43-kvm-scalability-and-consolidation-ratio-cache-none-vs-cache-writeback.html?limitstart=0 In the...
分类:其他好文   时间:2014-06-29 19:37:42    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!