Environmental preparedness
1, prepare a nginx server ip192.168.1.133 port 81
Installation process:
Prepare a Tomcat server, prepare the Java environment First, install JDK steps to omit
Then install 3 Tomcat server IP addresses separately:
Introduction to list types
The list type is also a type that we use very long. For example, we send a blog, to use the blog list. If there is no list we can only traverse the key to get all articles or a part of the article, this syntax is the keys,
A distributed lock is a very useful primitive in many environments, and it is the only way to share resources between mutually exclusive operations of a process. There are a number of development libraries and blogs that describe how to implement
1.Redis Introduction
Redis is a key-value storage system. Like memcached, it supports a relatively larger number of stored value types, including string (string), list (linked list), set (set), and Zset (ordered set). These data types support
In the server development process, the general use of MySQL and other relational database as the ultimate storage engine, Redis can also be used as a key-value pairs of database, but in some real-world scenarios, especially relational structure is
First, MySQLMySQL small high-availability architectureScenario: MySQL dual master, master-slave + keepalived master-Slave automatic switch server resources: Two PC server advantages: Simple architecture, save resources disadvantage: Unable to
"Editor's note" the author of this article is Xinyu Liu, and the first part of the article focuses on the features of Redis in all its aspects. In the second part, the detailed use cases are described. The article is a domestic ITOM management
to use Redis as a MySQL database cache, 2 issues must be resolved. First, you should determine what data structure is used to store your MySQL-based information, and after determining the data structure, consider what identity is used as the key to
I haven't updated my blog for a long time, I hope I can continue to write in the future, and now I find this is a great process. The use and introduction of the cache has been sorted out very early, and now it is posted as a personal note:memecached
I. PHP installation Redis extensions 1. Use the Phpinfo () function to view PHP version information, which will determine the extension file version2. According to the PHP version number, the compiler version number and CPU architecture,Choose
The principles of Redis cluster implementation refer to a minimum of 3 nodes for the Http://www.tuicool.com/articles/VvIZje cluster environment. It is recommended to use 6 node configurations, which are 3 primary nodes and 3 slave nodes. Create a
Redis's network disk under Windows: Http://pan.baidu.com/s/1c0yeIDM
Redis-server.exe: Service Program
Redis-check-dump.exe: Local Database check
Redis-check-aof.exe: Update log check
Redis-benchmark.exe: Performance test to
Redis Performance Metrics monitoring commandsIn the process of learning, we must learn to use help frequently to understand the specific use of commands.1.info (monitoring typically uses this command to read data)127.0.0.1:6379> Help InfoINFO
Five types of Redis structure1, StringIt can be a string, an integer or a floating-point number, perform an operation on the entire string or part of a string, perform a self-increment (increment) or decrement (decrement) operation on the whole
First, overview:The string type is the most basic type of data storage in Redis, which is binary safe in Redis, which means that the type can accept data in any format, such as JPEG image data or JSON object description information. The value of the
Redis data typesThe most commonly used data types are five kinds: String, Hash, List, set, and SortedSet. Within Redis, a Redisobject object is used to represent all keys and value. The main information of Redisobject is as follows:The type
Several conceptsThe 1:key object database stores the key of a key-value pair, always a string object.The 2:value object database stores the value of a key-value pair, which can be a string object, a list object, a hash object, a set object, and a
Install php redis in the latest versionInstall the redis service The code is as follows:Copy code Sudo apt-get install redis-server php5-dev build-essential plugin tprocRedis-server: install the redis servicePhp5-dev: used to dynamically compile
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.