1
Datastore 설명서에 따르면 엔티티 그룹에 대한 최대 쓰기 속도는 초당 1입니다.Google Cloud Datastore의 엔티티 그룹 한도에 대한 쓰기로 간주되는 것
https://cloud.google.com/datastore/docs/concepts/limits
나는이 시나리오는 하나 또는 여러 개의 쿼리로 그 한계를 향해 카운트 있는지 알고 싶습니다.
스택 오버플로에 대해서도 비슷한 질문이 있지만, 은 일 수 있습니다.
- 사용자/1
- 사용자 2
/가 그런 다음 2 개 코멘트 기관, 각 미만을 저장
const datastore = require('@google-cloud/datastore')();
const key1 = datastore.key(['Users', 1, 'Comments']);
const comment1 = {
userId: 1,
commentBody: '...',
ts: new Date(),
};
const key2 = datastore.key(['Users', 2, 'Comments']);
const comment2 = {
userId: 2,
commentBody: '...',
ts: new Date(),
};
datastore.save({
key: key1,
data: comment1
}, (err) => {
//
});
datastore.save({
key: key2,
data: comment2
}, (err) => {
//
});
나는 그렇게 바랬다! Dan 감사합니다. –