Distributed lock generally has three implementation methods: 1. Database optimistic lock; 2. 2. Distributed lock based on Redis; 3. Distributed lock based on ZooKeeper. This...
This paper will start from the basic characteristics of Redis, through the introduction of Redis data structure and main commands to the basic capabilities of...
Today under the share recently encountered a case, I believe you have made similar frequency limit, we have similar business scenario, an interface or function...
In the process of learning, you need to understand the whole picture of the whole knowledge at the beginning, and then summarize your own understanding...
OpenResty is an excellent open source project by Yichun Zhang. The official website is http://openresty.org/en/. This is the second time I've used it for a...
Redis is an open source (BSD-licensed), in-memory data structure storage system that can be used as a database, cache, and messaging middleware. It supports many...
Sequence in this paper, we study the redisson distributed lock maven example source code parsing RedissonLock. TryLockredisson - 3.8.1 - sources. The jar! /org/redisson/Rediss
Redis provides a very rich instruction set, but users are still not satisfied with it. They hope to customize and expand several instructions to complete...
Lua: A lightweight language written in standard C that is small and fast to start. Lua has a concurrent JIT project that provides just-in-time compilation...
Write a new article to commemorate the minefields explored during the creation and debugging of the LuaJIT Bridging PATCH in famine. This article has been...
We know that distributed locks are exclusive, deadlock-free, and highly available. Distributed locks can be implemented by optimistic locks (by version number) or pessimistic locks...
This blog uses the third-party open source component Jedis to implement the Redis client, and only consider the Redis server standalone deployment scenario. Distributed lock...
This paper continues to discuss the application of current limiting above. The flow limiting scheme discussed earlier only works for a single JVM, i.e. standalone...
As a scripting language (interpreted language), Lua claims to be the highest performance scripting language, and is widely used in many performance-demanding areas, such as...
Currently, most games, mobile Internet and H5 clients are logically developed by JavaScript, Lua, C#, C++ and other languages, and their main communication scheme is...
This article shares the types and arithmetic operations of number in Lua, as well as the rules followed in arithmetic operations and their special cases....
I installed Apisix version 1.5 on macOS source code. Etcd and other services are deployed with Docker-compose. Apisix has docker deployment tutorials. Environment deployment is...
While learning Lua recently, I discovered that there is no built-in regular expression function in Lua. Instead, I invented a kind of regular expression rule...
Not all applications require configuration files; Many applications can start over every time they start. Simple utilities, for example, rarely require continuous preferences or Settings...
Pain points and requirements - relatively high cost: advertising campaign platform has always been a thing with the most changes and manpower consumption, and every...
(if you don't write code, you can use my demo: https://github.com/karminski/Package-C-Library-for-Luajit-the-FFI-Method) don't panic, lazy is a virtue. See some students say Lua library is less,...