Forge custom entities query rate limit

Hi Team,

Has anybody used Forge custom entities? We’ve encountered a rate limit issue. The documentation is a bit unclear for me. According to the (storage quota limit documentation), it states that:

Read operations: 1000 - Maximum number of read operations per 20 seconds.

Does one entity count as one read operation? Otherwise, we shouldn’t have a rate limit.

I also have some feature requests. I would like to know how many entities I have in that ‘table.’

Best regards, Istvan

1 Like

Hi. I use custom entities in my Forge app and I haven’t encountered that limit. The way I interpret the docs is that one read operation equals to one of these but I could be wrong:

await storage.entity("example-entity").get('example-key');

For your second query, an app can only have a maximum of 20 entities.

1 Like