简体   繁体   English

里兹模式

[英]Reids Patterns

Can any one list out the patterns for redis like as TDG (table data gateway)? 谁能列出Redis的模式,例如TDG(表数据网关)? Actually I tried with TDG, but I am not satisfied. 其实我尝试过TDG,但并不满意。

Table data gateway describes an object being used as an interface or gateway to a table in a database. 表数据网关描述了用作数据库表的接口或网关的对象。 Redis alone would be the equivalent to the database store and so you would need an object, maybe created with ruby or php for example, to act as an interface to a key or group of keys within the redis dataset. 仅Redis就相当于数据库存储,因此您需要一个对象(例如,使用ruby或php创建)作为Redis数据集中某个键或一组键的接口。

The closest model would be an object acting as an interface to a key holding a collection of data, such as a set or list. 最接近的模型将是一个对象,该对象充当与保存一组数据(例如集合或列表)的键的接口。

Hope that helps. 希望能有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM