Redis serialization methods String RedisSerializer, FastJson RedisSerializer, and KryoRedisSerializer

When our data is stored in Redis, our key s and value s are serialized to the database through the Serializer provided by Spring.RedisTemplate uses JdkSerializationRedisSerializer by default, StringRedisTemplate uses StringRedisSerializer by default. Spring Data JPA provides us with the following Serializers: GenericToStringSerializer, Jackson2 ...

Posted by JCF22Lyoko on Sun, 22 Sep 2019 00:59:04 -0700

Introduction to Druid (Spring Boot + Mybatis + Druid Data Source [Official start]

Introduction to Druid Druid is a very good database connection pool. In terms of function, performance and extensibility, it surpasses other database connection pools, including DBCP, C3P0, BoneCP, Proxool and JBoss Data Source. Druid has deployed more than 600 applications in Alibaba, after more than a year of rigorous deployment of large-scal ...

Posted by redarrow on Sat, 21 Sep 2019 03:00:02 -0700

What's the use of windows registry?

What is the registry? Registry is an important database in Microsoft Windows, which is used to store the setup information of system and application. As early as Windows 3.0 launched OLE technology, the registry has appeared. The subsequent Windows NT was the first operating system to make extensive u ...

Posted by camdenite on Sat, 21 Sep 2019 02:13:58 -0700

springBoot calls dynamic-datasource from multiple data sources

Introduction to 1 dynamic-datasource This framework only does the core thing of switching data sources and does not restrict your specific operations. Highly recommended in master-slave mode Follow the general rules so that others can understand your code more easily. The primary database recommends ...

Posted by dinno2 on Fri, 20 Sep 2019 18:08:41 -0700

Threads (asynchronous and multithreaded)

Task is. NET Framework 3.0. Threads are based on thread pools and then provide rich api s. Thread methods are very powerful, but they are too powerful and unrestricted. The DoSomething Long method is as follows: /// <summary> /// A more time-consuming and resource-consuming private approach /// </summary> /// <param na ...

Posted by spadmore on Fri, 20 Sep 2019 07:43:50 -0700

Chapter XVI. Primary Knowledge Database

Catalog Chapter XVI. Primary Knowledge Database I. Database II. Composition of database Classification of databases IV. Unloading database 5. Installation of databases 6. Connecting database 7. Viewing User Information 8. Basic operation of database 9. Basic ope ...

Posted by Akinraze on Fri, 20 Sep 2019 05:44:01 -0700

Redis database detailing and parameter tuning

Redis cluster configuration example:1. The difference between relational and non-relational databases: Redis database is a non-relational database, not the same type as oracle, mysql, sql server and other relational databases. NoSQL is the general name of non-relational databases. The mainstream NOSQL databases include redis, MongBD and so on. ...

Posted by chooseodie on Fri, 20 Sep 2019 04:11:29 -0700

Blog JWT Validation Practice

In the past, the authentication method of blog was session. Recently, I took some time to change it to jwt, and I learned about JWT by the way. The introduction of JWT can be seen Ruan Yifeng's Articles. jwt implementation process The figure above is the simplest jwt process. When token expires or fails, it will jump back to the login page. B ...

Posted by deansp2001 on Fri, 20 Sep 2019 00:11:14 -0700

Section IV Design of ipfs File Slices

ipfs slicing technology As we all know, the technology used in ipfs is based on the existing technical solutions, of course, not that the ipfs team technology is not good, but if you stand on the shoulders of giants, you can start looking further. About file slicing, git is very excellent. git was bo ...

Posted by liljim on Thu, 19 Sep 2019 19:33:56 -0700

Multithreaded programming learning eleven (ThreadPoolExecutor details).

1. Description of ThreadPoolExecutor parameters public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> workQueue, Thr ...

Posted by DotSPF on Thu, 19 Sep 2019 17:45:55 -0700