spring boot integrated redis
It is convenient to integrate common NO SQL with Springboot following the principle of "convention is greater than configuration". This example makes a simple demo with redis, using Redis's set and get commands.
Introduce dependency packages for redis.
<dependency>
<groupId>or ...
Posted by dcj1978 on Sun, 05 Jul 2020 09:08:30 -0700
spring boot integrated redis
It is convenient to integrate common NO SQL with Springboot following the principle of "convention is greater than configuration". This example makes a simple demo with redis, using Redis's set and get commands.
Introduce dependency packages for redis.
<dependency>
<groupId>or ...
Posted by neverett on Sun, 05 Jul 2020 09:08:33 -0700
Node.js With ProtoBuffer, realize a redis from zero
Write at the beginning
If you want to learn the wheel making technology, you can see my previous collection of original articles: https://mp.weixin.qq.com/s/RsvI5AFzbp3rm6sOlTmiYQ
If you want to get 3700G of free learning materials or join the technology exchange group (no advertising), you can use the end of the article + my wechat to focus ...
Posted by wutanggrenade on Sun, 28 Jun 2020 18:08:35 -0700
Short link service practice
Article catalog
Business scenario
Practice mode
The first way
The second way
code implementation
Function extension
Distributed high availability
other
target
Realize the change from ordinary website to short website
reference resources:Design short URL system
How are short links designed? Get ...
Posted by smarlowe on Sat, 27 Jun 2020 21:53:43 -0700
Problems encountered in SpringBoot 2.3.5 Integrating redis cache custom JSON serialization.
Currently, I am learning springboot from teacher Lei Fengyang in Silicon Valley.
The springboot version used in the teacher's course is 1.5, while I use 2.3.5.
The difference between the 2.x and 1.x versions of springboot is quite significant, with many of the underlying code changed and quite a bit cha ...
Posted by rantsh on Wed, 24 Jun 2020 18:31:20 -0700
Push system of message (e-mail, SMS, websocket, app) based on nest and redis
system function
summary
In order to avoid redundant code, the function of message push is taken as an independent platform. Each subsystem generates tasks through common RESTful interface or message (kafka).Push function can be email, SMS, WebSocket or App. Tasks can be executed immediately or regularly. In order to meet the function of multip ...
Posted by rarebit on Sun, 21 Jun 2020 01:35:41 -0700
Redis based distributed lock implementation
From
1, Distributed lock overview
In the multithreaded environment, in order to ensure that a code block can only be accessed by one thread at a time, we can generally use the synchronized syntax and ReetrantLock in Java to ensure that this is actually the way of local locking. But now companies are a ...
Posted by hillbilly928 on Fri, 19 Jun 2020 00:04:48 -0700
Spring boot integrates redis trampling diary
In addition to providing excellent automatic testing for common relational databases, spring boot also provides automatic configuration support for many NoSQL databases, including redis, mongodb, elastic search, Solr and Cassandra.
01 integrate redis
Redis is a very fast non relational database. It can store the mapping between key and five di ...
Posted by carrotcake1029 on Tue, 16 Jun 2020 21:16:33 -0700
Flink flow processing API code details, including a variety of Source, Transform, Sink cases, Flink learn
Hello, everyone, I am later, I will share my learning and work in the drips, hope that I have an opportunity to help you some articles, all articles will be launched in the official account, welcome to my official account "later X big data", thank you for your support and recognition.
It's another week without change. I went back to Y ...
Posted by GamingWarrior on Tue, 16 Jun 2020 20:35:17 -0700
HashSet expansion mechanism wastes much more time and space than you think
One: Background
1. Storytelling
Since this pure memory project entered the big client, I am now very sensitive to memory and CPU, run a little bit of data memory up and down a few G s, especially insecure, always want to grab a few dump s with windbg to see which one is caused, is my code or my colleague's code?Many old friends who have read my ...
Posted by kulin on Tue, 16 Jun 2020 18:09:34 -0700