码迷,mamicode.com
首页 >  
搜索关键字:system cpu spike    ( 71961个结果
缓存的几种不同的实现方法?
一、1、文件缓存所谓文件缓存,就是根据逻辑判断,一段时间内某个asp的特定执行将不会很大的变动,因因而将内容以静态html的形式存放,然后以web的重定向技术让客户端访问静态文件,以达到减少CPU、数据库资源等的需求。这样的应用很多,譬如很多论坛就是在回复帖子的时候将整个帖子重新生成一个静态文件,然...
分类:其他好文   时间:2014-05-19 21:29:31    阅读次数:419
c#学习5,处理异常
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 异常1{ class Program { static void Main(string[...
分类:其他好文   时间:2014-05-19 20:39:32    阅读次数:309
C# 过滤html标签
public static string checkStr(string html) { System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex...
分类:Web程序   时间:2014-05-19 20:31:20    阅读次数:385
.NET Remoting 入门实例
1.创建服务端Class:ProxyServerRemoting 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using Inscription.Manadal.EmrPlugIn.NetMes...
分类:Web程序   时间:2014-05-19 11:49:35    阅读次数:347
Http操作类
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Net; 6 using System.IO; 7 8 nam...
分类:其他好文   时间:2014-05-19 11:14:32    阅读次数:369
svn签出单个文件
if (System.IO.Directory.Exists(System.IO.Path.GetDirectoryName(this.Asset.LocalPath)) && System.IO.Directory.GetFiles(System.IO.Path.GetDirectoryName(...
分类:其他好文   时间:2014-05-19 11:04:02    阅读次数:217
vs2013内置IISExpress相关问题
问题描述,以前做的程序迁移到vs2013后出现500.22问题。HTTP 错误 500.22 - Internal Server Error 检测到在集成的托管管道模式下不适用的 ASP.NET 设置。最可能的原因: 此应用程序在 system.web/httpModules 节中定义配置。可尝试的...
分类:其他好文   时间:2014-05-19 10:38:58    阅读次数:276
c#学习5,静态字段,静态函数,静态类
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace 静态成员{ class Program { static void Main(string...
分类:其他好文   时间:2014-05-19 10:38:16    阅读次数:263
Linux epoll模型
定义: epoll是Linux内核为处理大批句柄而作改进的poll,是Linux下多路复用IO接口select/poll的增强版本,它能显著的减少程序在大量并发连接中只有少量活跃的情况下的系统CPU利用率。因为它会复用文件描述符集合来传递结果而不是迫使开发者每次等待事件之前都必须重新准备要被侦听的....
分类:系统相关   时间:2014-05-19 10:13:07    阅读次数:485
Windows Socket 最大连接数
Socket 编程时,单机最多可以建立多少个 TCP 连接,受到操作系统的影响。Windows 下单机的TCP连接数受多个参数影响:最大TCP连接数[HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \Tcpip \Parameters]...
分类:Windows程序   时间:2014-05-17 17:51:05    阅读次数:405
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!