上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 65 下一页
摘要: from:http://www.cnblogs.com/mushroom/p/4659200.html 阅读目录: 介绍 为了防止网站意外暴增的流量比如活动、秒杀、攻击等,导致整个系统瘫痪,在前后端接口服务处进行流量限制是非常有必要的。本篇主要介绍下Net限流框架WebApiThrottle的使用。 阅读全文
posted @ 2016-10-17 13:56 94cool 阅读(993) 评论(0) 推荐(0)
摘要: from:http://www.infoq.com/cn/articles/ddd-evolving-architecture 领域驱动设计能非常容易地应用于稳定领域,其中的关键活动适合开发人员对用户脑海中的内容进行记录和建模。但在领域本身不断变化和发展的情况下,领域驱动 设计变得更具有挑战性。这在敏捷项目中很普遍,在业务本身试图演进的时候也会发生。本文分析了在反思、重建guardian.... 阅读全文
posted @ 2016-10-14 12:10 94cool 阅读(467) 评论(0) 推荐(0)
摘要: from:http://blog.chinaunix.net/uid-11572501-id-2868654.html Linux的I/O机制经历了一下几个阶段的演进: 1. 同步阻塞I/O: 用户进程进行I/O操作,一直阻塞到I/O操作完成为止。 2. 同步非阻塞I/O: 用户程序可以通过设置文件描述符的属性O_NONBLOCK,I/O操作可以立即返回,但是并不保证I/O操作... 阅读全文
posted @ 2016-10-12 15:02 94cool 阅读(17101) 评论(0) 推荐(1)
摘要: 配置Supervisor开机启动: 新建一个“supervisord.service”文件 # dservice for systemd (CentOS 7.0+) # by ET-CS (https://github.com/ET-CS) [Unit] Description=Supervisor daemon [Service] Type=forking E... 阅读全文
posted @ 2016-10-12 11:55 94cool 阅读(11926) 评论(2) 推荐(0)
摘要: 问题现象 ECS Windows系统服务器基于IIS搭建的网站由于IIS默认的配置,服务器最多只能处理5000个同时请求,访问量大时很容易导致报错: Error Summary: HTTP Error 503.2 - Service Unavailable The serverRuntime@appConcurrentRequestLimit setting is being exceed... 阅读全文
posted @ 2016-10-12 09:04 94cool 阅读(869) 评论(0) 推荐(0)
摘要: using (var client = new HttpClient()) { //方法1: CacheControlHeaderValue cacheControl = new CacheControlHeaderValue(); cacheControl.NoCac... 阅读全文
posted @ 2016-10-11 14:10 94cool 阅读(2548) 评论(0) 推荐(0)
摘要: 地址:http://localhost/waservice.html?id=17 获取参数id的值 app.config(['$locationProvider', function ($locationProvider) { $locationProvider.html5Mode({ enable 阅读全文
posted @ 2016-10-09 15:41 94cool 阅读(6954) 评论(0) 推荐(0)
摘要: /// /// 重试 /// public class RetryHandler : DelegatingHandler { private const int maxRetries = 3; /// /// 重试 ... 阅读全文
posted @ 2016-09-30 14:04 94cool 阅读(519) 评论(0) 推荐(0)
摘要: Process proc = Process.GetCurrentProcess(); Console.Write("专用工作集内存:"); Console.WriteLine(proc.PrivateMemorySize64 / 1024); Console.Write("工作集... 阅读全文
posted @ 2016-09-27 14:53 94cool 阅读(255) 评论(0) 推荐(0)
摘要: public class EntityBaseRepository : IEntityBaseRepository where T : class, IEntityBase, new() { private SchedulerContext _context; #region Properties public EntityBaseRepository(SchedulerContext ... 阅读全文
posted @ 2016-09-27 11:13 94cool 阅读(1534) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 65 下一页