Redis installation use and possible algorithmic practices

Source: Internet
Author: User

Layout:post
Title:2017-12-05-redis Getting Started
Tags
-Redis
-Real-time features
-UCB, Tompson sampling
---

What is Redis?

Redis is an open source API that is written in ANSI C, supports the web, can be persisted in memory, key-value databases, and provides multiple languages.
--Quote from Baidu Encyclopedia

How does Redis work? Installation
  1. Source access, can be downloaded directly from the official website, can also be pulled from GitHub;
  2. The installation can be done directly at the root of the project, or in the Readme to make other, if only normal use, made enough. It will prompt you to make test;
  3. The result of make above is that the code and executable program and the intermediate target file are in a directory src, very uncomfortable. Separate, build bin (binary file), conf (redis.conf);
  4. Start, if you don't have anything special to configure, run directly in the bin./redis-server. /conf/redis.conf can
  5. To shut down, run the./redis-cli shutdown in the bin.
Operation

Operations are typically done through the client, command-line client./REDIS-CLI, if the Java operation, you need to use the Java client Jedis or Sharedjedis to operate, I believe other languages will have a corresponding client

code example

Redis installation use and possible algorithmic practices

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.