autoload-cache-2.4 released

Here are the updates for each version:

2.4 Jedis updated to 2.8

2.3 AdminServlet adds login user name and password;

2.2 Solve the problem that Hessian2 cannot serialize BigDecimal correctly

2.1 Test Kryo and find that there are many problems, so Kryo support is deleted, and users can implement the ISerializer interface according to their own situation. Optimize HessianSerializer, improve performance, and use HessianSerializer as the default serializer and deserializer.

2.0 added Hessian2 and Kryo serialization support, or use the processing method that comes with JDK. The modification method is as follows:

Although Kryo is more efficient, there are many problems when using Kryo, so it should be used with caution. If the system is frequently maintained, it is not suitable for use. After testing, changing the attribute name, or deleting the intermediate attributes may be reversed. Wrong value, so if you encounter a reduction or modification, you should clear the cache in time. If the attribute is added, the deserialization will fail, which is exactly what we want.

1.9 Added namespace to avoid cache conflicts between different systems

For detailed usage, please refer to: UserDAO in https://github.com/qiujiayu/cache-example .

github open source code

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324164604&siteId=291194637