07 2015 档案

摘要:酷壳 http://coolshell.cn 老赵点滴- 追求编程之美 http://blog.zhaojie.me/ Pixel-In-Gene Blog 阅读全文
posted @ 2015-07-28 10:35 东风125 阅读(177) 评论(0) 推荐(0)
摘要:时常,来自不同连接的线程会对同一张表进行读/更新操作,这种并发操作会导致阻塞,同时SQL Server会自动处理以防止脏读。然而,有种情景很常见,那就是每个连接要读/更新的行互相排斥,换句话说,就是各个连接读/更新的行没有交集。在这片文章中,将像大家展示如何恰当地使用索引来降低阻塞的发生,以便多个读/更新能够同时操作同一张表。 创建TEST表如下: SET ANSI_NULLS ON GO... 阅读全文
posted @ 2015-07-25 11:23 东风125 阅读(222) 评论(0) 推荐(0)
摘要:一、并发问题的产生 多线程/进程同时操作(读/写)同一数据 二、并发问题的种类 丢失更新(lost update) 第一类更新丢失(回滚丢失): 当2个事务更新相同的数据源,如果第一个事务被提交,而另外一个事务却被撤销,那么会连同第一个事务所做的跟新也被撤销。也就是说第一个事务做的跟新丢失了。 第二类更新丢失(覆盖丢失): 第二类更新丢失实在实际应用中经常遇到的并发问题,他和... 阅读全文
posted @ 2015-07-25 11:11 东风125 阅读(270) 评论(0) 推荐(0)
摘要:Web service standards: SOAP, REST, OData, and moreSo far, we've covered the components of aweb service, the messaging format and transport protocols.B... 阅读全文
posted @ 2015-07-23 17:52 东风125 阅读(400) 评论(0) 推荐(0)
摘要:In my opinion, if you are using WPF or Silverlight you should be using the MVVM design pattern. It is perfectly suited to the technology and allows yo... 阅读全文
posted @ 2015-07-20 09:18 东风125 阅读(331) 评论(0) 推荐(0)
摘要:Fromhttp://geekswithblogs.net/akraus1/archive/2012/07/25/150301.aspxI have written already some time ago how big a .NET object is. John Skeet as also ... 阅读全文
posted @ 2015-07-11 15:54 东风125 阅读(291) 评论(0) 推荐(0)
摘要:pingback :http://java.sys-con.com/node/84633?page=0,1Object-oriented design is like an alloy consisting of a solid grounding in the object-oriented (O... 阅读全文
posted @ 2015-07-08 16:41 东风125 阅读(429) 评论(0) 推荐(0)