摘要: 单向好友关系 双向好友关系。 so what kind of db should we choose? SQL or NoSQL?... 阅读全文
posted @ 2020-10-20 04:32 EvanMeetTheWorld 阅读(7) 评论(0) 推荐(0)
摘要: 单向好友关系 双向好友关系。 so what kind of db should we choose? SQL or NoSQL?... 阅读全文
posted @ 2020-10-20 04:32 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要: Principle1: For most cases, SQL and NoSQL are both good. Principle... 阅读全文
posted @ 2020-10-20 04:30 EvanMeetTheWorld 阅读(9) 评论(0) 推荐(0)
摘要: Principle1: For most cases, SQL and NoSQL are both good. Principle... 阅读全文
posted @ 2020-10-20 04:30 EvanMeetTheWorld 阅读(15) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-20 04:29 EvanMeetTheWorld 阅读(8) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-10-20 04:29 EvanMeetTheWorld 阅读(10) 评论(0) 推荐(0)
摘要: Cassandra 是一个三层结构的NoSQL数据库 如果我们想往此数据库中插入数据 应该是:insert(row_key, col... 阅读全文
posted @ 2020-10-20 04:28 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要: Cassandra 是一个三层结构的NoSQL数据库 如果我们想往此数据库中插入数据 应该是:insert(row_key, col... 阅读全文
posted @ 2020-10-20 04:28 EvanMeetTheWorld 阅读(17) 评论(0) 推荐(0)
摘要: 把一个object或者hash序列化为一个String. 序列化(Serialization)是将对象的状态信息转化为可以存储或者传... 阅读全文
posted @ 2020-10-20 04:22 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要: 把一个object或者hash序列化为一个String. 序列化(Serialization)是将对象的状态信息转化为可以存储或者传... 阅读全文
posted @ 2020-10-20 04:22 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)
摘要: there are both contains anth related information. session exist in... 阅读全文
posted @ 2020-10-20 03:35 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要: there are both contains anth related information. session exist in... 阅读全文
posted @ 2020-10-20 03:35 EvanMeetTheWorld 阅读(11) 评论(0) 推荐(0)
摘要: cache aside: cache through: 阅读全文
posted @ 2020-10-20 03:30 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)
摘要: cache aside: cache through: 阅读全文
posted @ 2020-10-20 03:30 EvanMeetTheWorld 阅读(7) 评论(0) 推荐(0)
摘要: So what storage of system we can choose? Three: SQL – MySQL, Postg... 阅读全文
posted @ 2020-10-20 03:18 EvanMeetTheWorld 阅读(15) 评论(0) 推荐(0)
摘要: So what storage of system we can choose? Three: SQL – MySQL, Postg... 阅读全文
posted @ 2020-10-20 03:18 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要: we will have a table called session table to manage that. somethin... 阅读全文
posted @ 2020-10-20 03:14 EvanMeetTheWorld 阅读(10) 评论(0) 推荐(0)
摘要: we will have a table called session table to manage that. somethin... 阅读全文
posted @ 2020-10-20 03:14 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)
摘要: class UserService: def getUser(self, user_id): key = "user::%s... 阅读全文
posted @ 2020-10-20 02:30 EvanMeetTheWorld 阅读(18) 评论(0) 推荐(0)
摘要: class UserService: def getUser(self, user_id): key = "user::%s... 阅读全文
posted @ 2020-10-20 02:30 EvanMeetTheWorld 阅读(18) 评论(0) 推荐(0)
摘要: Cache is a k-v structured thing. and it store results that can ans... 阅读全文
posted @ 2020-10-20 00:00 EvanMeetTheWorld 阅读(10) 评论(0) 推荐(0)
摘要: Cache is a k-v structured thing. and it store results that can ans... 阅读全文
posted @ 2020-10-20 00:00 EvanMeetTheWorld 阅读(22) 评论(0) 推荐(0)