0. Introduction to MyBatis
1) MyBatis is an open source Apache project iBatis, which was migrated to Google Code by Apache Software Foundation in June 2010. As the development team moved to Google Code, iBatis 3.x was officially renamed MyBatis and the code was migrated to Github in November 2013
2) The term iBatis comes from a combination of ...
Posted by nsantos on Fri, 14 Feb 2020 10:12:52 -0800
You are studying on the first day of the New Year!Don't learn what to do, fight the landlords... people are not together.Learn, study makes me happy!In addition to the responsibility of poems and distant places, I also want to be responsible, but concubines can not do it. What should I do?What do you say? Why can someone else not do it ...
Posted by smith.james0 on Fri, 24 Jan 2020 22:45:11 -0800
J2Cache is a two-level caching framework currently being used by OSChina. First level cache usage Ehcache , second level cache uses Redis . Because a large number of cache reads will cause L2 network to become the bottleneck of the whole system, the goal of L1 is to reduce the number of L2 reads. This caching framework is mainly used in ...
Posted by yuan on Sun, 03 Nov 2019 11:52:51 -0800
Links to the original text: https://my.oschina.net/u/2400661/blog/596247
ehcache is a distributed caching framework.
In order to improve system concurrency, our ...
Posted by jstarkey on Mon, 07 Oct 2019 10:05:51 -0700
<bean id="securityManager" class="org.apache.shiro.web.mgt.DefaultWebSecurityManager">
<property name="realm" ref="userRealm"/>
<property name="cacheManager" ref="ehCacheManager"/>
<bean id="ehCacheManager" class="org.apache.shiro.cache.ehcache.EhCach ...
Posted by nigeledge on Mon, 30 Sep 2019 07:21:24 -0700
We know that the bottleneck of a program is the database. We also know that the speed of memory is much faster than that of hard disk. When we need to retrieve the same data repeatedly, we request database or remote service again and again, which leads to a large amount of time spent on database query or remote method invocation, resulting in d ...
Posted by $SuperString on Wed, 05 Jun 2019 15:41:48 -0700
<!-- ehcache -->
Posted by satyricon on Tue, 21 May 2019 16:39:49 -0700
We know that the bottleneck of a program is the database. We also know that the speed of memory is much faster than that of hard disk. When we need to retrieve the same data repeatedly, we request database or remote service again and again, which leads to a large amount of time consuming in data query or remote method invocation ...
Posted by tempa on Sat, 04 May 2019 01:10:38 -0700
This article describes how to use the default spring cache in spring boot.
Spring defines the CacheManager and Cache interfaces to unify different caching technologies. For example, JCache, EhCache, Hazelcast, Guava, Redis, etc. When using Spring to integrate Cache, we need to register the Bean of the Cache Manager implem ...
Posted by wezalmighty on Mon, 18 Mar 2019 19:06:27 -0700
Spring Boot provides spring-boot-starter-cache, which supports multiple cache implementations, such as EHCache, Redis, GUAVA etc. Here we take lightweight GUAVA as an example:
I. Basic Use
0. First, you need to add dependencies. Versions are specified according to your needs.
Posted by bubblocity on Wed, 13 Feb 2019 03:57:18 -0800