`

Keeping data safe and ensuring performance

 
阅读更多

Persistence options

Within Redis, there are two different ways of persisting data to disk. One is a method called snapshotting that takes the data as it exists at one moment in time and writes it to disk. The other method is called AOF, or append-only file, and it works by copying incoming write commands to disk as they happen. These methods can be used together, separately, or not at all in some circumstances. Which to choose will depend on your data and your application.



 

 Replication

Replication is a method by which other servers receive a continuously updated copy of the data as it’s being written, so that the replicas can service read queries. In the relational database world, it’s not uncommon for a single master database to send writes out to multiple slaves, with the slaves performing all of the read queries. Redis has adopted this method of replication as a way of helping to scale.

 

After receiving an initial copy of the data from the master, slaves are kept up to date in real time as clients write data to the master. With a master/slave setup, instead of connecting to the master for reading data, clients will connect to one of the slaves to read their data (typically choosing them in a random fashion to try to balance the load).

 



 

 

 

 

 

 

 

 

 

  • 大小: 41.8 KB
  • 大小: 66.2 KB
  • 大小: 27.9 KB
  • 大小: 33.2 KB
分享到:
评论

相关推荐

    redis实战的英文原版

    - **第4章: 保障数据安全与确保性能 (Keeping data safe and ensuring performance)** - **主要内容**: - 数据安全性: 如何设置访问控制、加密传输等。 - 数据持久化: RDB快照和AOF日志两种持久化方式的原理及...

    redis实战教程

    这部分内容基于“Keeping data safe and ensuring performance”章节,主要讲述了如何通过合理的配置和优化策略来保障Redis服务的安全性和性能: - **安全性**:设置密码认证、限制访问权限、使用SSL加密连接等措施...

    Web Operations: Keeping the Data On Time

    ### Web Operations: Keeping the Data On Time #### 一、引言 《Web Operations: Keeping the Data On Time》这本书由John Allspaw和Jesse Robbins编辑,由O'Reilly Media出版,于2010年首次发行。本书汇集了一...

    Exam Ref 70-778 Analyzing and V - Daniil Maslyuk.pdf

    The 70-778 exam focuses on using Microsoft Power BI for data analysis and visualization. About one fourth of the exam covers data acquisition ...configuring security, and keeping your reports up to date

    sap术语表-SAP (Systems, Applications and Products in Data Processing)

    It provides integration for separate R/3 systems, keeping full interaction. This makes possible distributed enterprise applications. Application server The application server is used to run the ...

    Advances and Open Problems in Federated Learning.pdf

    provider), while keeping the training data decentralized. FL embodies the principles of focused data collection and minimization, and can mitigate many of the systemic privacy risks and costs ...

    Java EE 8 High Performance

    A balancing act between easily implementing complex applications and keeping their performance optimal is a present-day need. In this book, we explore how to achieve this crucial balance while ...

    MS.Azure.Planning.Deploying.and.Managing.Your.Data.Center.in.the.Clou

    as-a-service (IaaS) and platform-as-a-service (PaaS) models with your existing business infrastructure while maximizing availability, ensuring continuity and safety of your data, and keeping costs to ...

    Pro iOS Security and Forensics--2018

    What You’ll Learn Review communicating policies and requirements for use of iPhones Keep your iPhone safe in the... Explore strategies for keeping your data safe including backing up and screen locks

    Windows Azure Succinctly(Syncfusion,2014)

     Storage: Most software applications and the businesses they support are highly dependent on the storage of data and in keeping that data safe from loss and unauthorized disclosure. Management tasks...

    基于微信小程序的宝宝成长记录系统的设计与实现 论文.docx

    It supports structured data and provides features like ACID transactions, ensuring data integrity and reliability. The B/S (Browser/Server) architecture adopted in this system means that users can ...

Global site tag (gtag.js) - Google Analytics