RedHatEnterprise6.5环境下使用eAccelerator优化网站性能第一步:在做优化之前,首先对网站服务器的硬件做一下检测1,内存信息:2G内存,swap容量为4G[root@linuxcast~]#free-mtotalusedfreesharedbufferscachedMem:18701228642047435-/+buffers/cache:7441125Swap:4095040952..
                            
                            
                                分类:
Web程序   时间:
2014-08-08 18:31:27   
                                阅读次数:
413
                             
                         
                    
                        
                            
                            
                                http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed4fece763105392230e54f73b6f93834c28c3933fc23904564711b2e73a7650598f832b3b57b2111df7f03471360022b791d5...
                            
                            
                                分类:
Web程序   时间:
2014-08-08 17:51:36   
                                阅读次数:
239
                             
                         
                    
                        
                            
                            
                                #!/bin/sh#authbyyx20140808#purgenginxcacheCACHE_DIR="/data/web/cache"FILE="$*"if[$#-eq0];thenecho"pleaserun\"sh$0index.htmlindex.jsp....\""exitfiforiin`echo$FILE`dogrep-ra$i${CACHE_DIR}|awk-F":"‘{print$1}‘>./cache_list.txtforjin`cat./cache_list.txt`do	rm..
                            
                            
                                分类:
其他好文   时间:
2014-08-08 16:33:27   
                                阅读次数:
197
                             
                         
                    
                        
                            
                            
                                /// /// 获取数据缓存/// /// 键public static object GetCache(string CacheKey){ System.Web.Caching.Cache objCache = HttpRuntime.Cache; return objCache[CacheKey...
                            
                            
                                分类:
其他好文   时间:
2014-08-08 09:37:45   
                                阅读次数:
215
                             
                         
                    
                        
                            
                            
                                在html页面head标签之间添加以下标识可以避免大多数浏览器缓存: <meta?http-equiv="Pragma"?content="no-cache"?/>???
<meta?http-equiv="Cache-Control"?content="no-cache"?/>
<meta?http-equiv="E...
                            
                            
                                分类:
Web程序   时间:
2014-08-07 19:28:10   
                                阅读次数:
249
                             
                         
                    
                        
                            
                            
                                缓存是:当第一次查询时,会将已查询到的数据保存在缓存区,当再次查询符合条件的内容时,会首先从缓存中查找,如果找不到,在从数据库中加载。
本例中Department类、Employee类、SessionFactoryTools类与4中的相同。
Department.hbm.xml文件配置:
	
		<!-- 指定当前类要使用二级缓存 ,但不主张使用该方法,
			  主张在主配置文件中设...
                            
                            
                                分类:
系统相关   时间:
2014-08-07 13:08:20   
                                阅读次数:
290
                             
                         
                    
                        
                            
                            
                                用户有一个需要用txt更新表数据的功能,用lookup实现,步骤:循环文件夹的txt文件用Lookup全部cache目标表数据,比对txt数据和目标表数据3.如果有match的数据用txt更新目标表但是执行每次Match的数据都是0,而txt中确实存在匹配的数据。翻了一下微软的BOL,有一句话很重要:Ifth..
                            
                            
                                分类:
其他好文   时间:
2014-08-07 07:36:30   
                                阅读次数:
254
                             
                         
                    
                        
                            
                            
                                RHEL6.5---查看服务器的内存:[root@linuxcast/]#free-mtotalusedfreesharedbufferscachedMem:1870179476062862-/+buffers/cache:8681001Swap:409504095---查看服务器cpu信息[root@linuxcast/]#lscpuArchitecture:x86_64CPUop-mode(s):32-bit,64-bitByteOrder:LittleEndianCPU(..
                            
                            
                                分类:
Web程序   时间:
2014-08-07 07:31:30   
                                阅读次数:
263
                             
                         
                    
                        
                            
                            
                                In one embodiment, the present invention includes a directory to aid in maintaining control of a cache coherency protocol. The directory can be couple...
                            
                            
                                分类:
数据库   时间:
2014-08-07 00:42:27   
                                阅读次数:
496
                             
                         
                    
                        
                            
                            
                                基于缓存的存储器层次结构   
通用高速缓存存储器结构         
高速缓存的映射     
Core i7的高速缓存特性           
几种cache方式
                            
                            
                                分类:
其他好文   时间:
2014-08-07 00:33:57   
                                阅读次数:
337