摘要:
Aspect Oriented Programming with Spring 1. 简介 AOP是与OOP不同的一种程序结构。在OOP编程中,模块的单位是class(类);然而,在AOP编程中模块的单位是aspect(切面)。也就是说,OOP关注的是类,而AOP关注的是切面。 Spring AOP 阅读全文
摘要:
如何合理地估算线程池大小? 这个问题虽然看起来很小,却并不那么容易回答。大家如果有更好的方法欢迎赐教,先来一个天真的估算方法:假设要求一个系统的TPS(Transaction Per Second或者Task Per Second)至少为20,然后假设每个Transaction由一个线程完成,继续假 阅读全文
摘要:
Redis cluster tutorial Redis集群提供一种方式自动将数据分布在多个Redis节点上。 Redis Cluster provides a way to run a Redis installation where data is automatically sharded a 阅读全文
摘要:
搞互联网开发,压力测试必不可少。压力测试的工具很多,我用过ab和JMeter,今天主要讲ab的用法。 1、ab是什么 ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is 阅读全文
摘要:
1、plugins MyBatis官网对于plugins的描述是这样的: MyBatis allows you to intercept calls to at certain points within the execution of a mapped statement. By default 阅读全文