准备安装:(wget -O - pi.dk/3 || curl pi.dk/3/) | bash查看手册:man parallel生成abc-file:parallel -k echo ::: A B C > abc-file生成def-file:parallel -k echo ::: D E F...
分类:
系统相关 时间:
2014-11-15 18:19:13
阅读次数:
291
在Hibernate中使用JDBC事务Hibernate对JDBC进行了轻量级的封装,它本身在设计时并不具备事务处理功能。Hibernate将底层的JDBCTransaction或JTATransaction进行了封装,再在外面套上Transaction和Session的外壳,其实是通过委托底层的J...
分类:
数据库 时间:
2014-11-14 15:29:02
阅读次数:
228
在.net 4.0中,微软给我们提供了一个新的命名空间:System.Threading.Tasks。 一:?Parallel的使用 在Parallel下面有三个常用的方法invoke,for和forEach。 1: ?Parallel.Invoke ? ? 这是最简单,最简洁的将串...
分类:
其他好文 时间:
2014-11-14 14:25:18
阅读次数:
225
Spring Batch_Parallel Steps_使用并行的Step spring 官方文档:http://docs.spring.io/spring-batch/trunk/reference/html/scalability.html#scalabilityParallelSteps As long as the application logic that n...
分类:
编程语言 时间:
2014-11-14 12:45:44
阅读次数:
324
Spring Batch_Multi-threaded Step_使用多线程的Step spring官方文档:http://docs.spring.io/spring-batch/trunk/reference/html/scalability.html The simplest way to start parallel processing is to add a ...
分类:
编程语言 时间:
2014-11-13 22:40:22
阅读次数:
416
数据库事务:数据库事务(Database Transaction)是指作为单个逻辑工作单元执行的一系列操作。事务处理可以确保除非事务性单元内的所有操作都成功完成,否则不会永久更新面向数据的资源。设想网上购物的一次交易,其付款过程至少包括以下几步数据库操作:更新客户所购商品的库存信息保存客户付款信息-...
分类:
数据库 时间:
2014-11-13 20:44:27
阅读次数:
288
这篇文章和《struts1&&Hibernate Demo1》基本类似,我这里只是拷贝代码了。最核心的代码:LoginAction.javapackage action;import org.hibernate.Session;import org.hibernate.Transaction;imp...
分类:
Web程序 时间:
2014-11-12 22:33:57
阅读次数:
276
从系统架构来看,目前的商用服务器大体可以分为三类,即对称多处理器结构 (SMP : Symmetric Multi-Processor) ,非一致存储访问结构 (NUMA : Non-Uniform Memory Access) ,以及海量并行处理结构 (MPP : Massive Parallel...
分类:
其他好文 时间:
2014-11-12 19:45:42
阅读次数:
303
Background
Trees are fundamental in many branches of computer science. Current state-of-the art parallel computers such as Thinking Machines' CM-5 are based on
fat trees. Quad- and octal-trees are f...
分类:
其他好文 时间:
2014-11-11 22:56:41
阅读次数:
239
一、术语session在我的经验里,session这个词被滥用的程度大概仅次于transaction,更加有趣的是transaction与session在某些语境下的含义是相同的。session,中文经常翻译为会话,其本来的含义是指有始有终的一系列动作/消息,比如打电话时从拿起电话拨号到挂断电话这中...
分类:
其他好文 时间:
2014-11-11 12:19:36
阅读次数:
214