请问大规模的membership 关系, 如何存储和快速查询 和 删改? 例如, Discord/Slack channel 有哪些人, Netflix的某个Genre 有多少人喜欢。
我知道有些NoSql 可以支持set 或者 list 做为data type, 但是restriction很大, 例如Cassandra 只支持65536个 entry in a set。 DDB 只支持400KB per item。
SQL 倒是可以用bridge table: Many-to-Many Relationship in Database Design - DZone Database 这是不是最好的方法了?
希望大家能提供下industry 上是怎么处理这种情况的。
多谢!