Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Redis,memcached

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Redis can be distributed.

Memcached can't.

Mangodb is a distributed database, which can store json strings and is of nosql type.

Redis is a cache server, but it is used as a database server

Because it is placed in memory, so the memory consumption is relatively large, generally 128g of 256g of memory

Redis reads up to 110000 / s, writes 80, 000 / s, and data 256K

Redis can speed up the reading speed. You can watch the newly released Weibo and the products at the time of second kill, all of which are stored in redis.

Port 6379

Php-redis needs to be installed

REDIS can be used as keepalived high availability cluster.

Can do read-write separation, using codis

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report