在架构上也不一样,Meteor基于LiveQuery和MongoDB's oplog,它不能高效地处理大量操作。 但是RethinkDB的LiveQuery功能是在数据库中的,这使得我们由更丰富的流处理,扩展起来也更加方便,因为数据库层面就有所有必要信息。
process.env.SERVER_URL || 'http://0.0.0.0:1337/parse', // Don't forget to change to https if needed liveQuery
serverURL: 'http://公网ip或域名:1337/parse', // Don't forget to change to https if needed liveQuery: {
让我们更多地关注 Live Connection 和 DirectQuery 之间的区别; 例如,DirectQuery 是与上面列出的数据源的直接连接;SQL Server、甲骨文、IBM……LiveQuery