3

Which are the limitations of free plan in getstream? I have 8 members and 5 administrators following each others feed and I always get an email from GetStream alerting the rate limit when I make them follow.

Now I have an issue when updating activities. Perhaps I have reached my update limit, because sometimes when I try to create an activity, I get a ERROR TIMEDOUT.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Ismael
  • 31
  • 1

1 Answers1

3

We send out two rate limit messages: one for API calls, and one for feed updates. Our API call rate limit is about 2000 activities per minute, but feed updates are more like 50-100 per minute on the free plan. Setting up a follow relationship will trigger some feed updates as old activities get copied from other feeds to the new follower's feed.

When you do hit a rate limit, we don't stop your incoming traffic, but we de-prioritize slightly it so it takes a little longer to catch up. Our API v2 coming out soon will report rate limit information in API calls so you'll have more visibility into how close you are to hitting those limits before getting emails.

Regarding timeouts, which region is your app in (us-east, us-west, eu-central) and where are you located related to that area? We're going to be rolling out multi-region support later this year to minimize latencies there as well.

iandouglas
  • 4,146
  • 2
  • 33
  • 33
  • My app is located in EU Central. – Ismael Jun 29 '17 at 16:28
  • My app is located in EU Central. Im developing the community in node. Everytime someone posts an activity there is a connection like: var client = stream.connect(KEY, SECRET, APPID); And then, the activity is added in the users feed: feed.addActivity(activity) .then(onSuccess) .catch(onError); Feed example: var feed = client.feed('memberPost', '123-100'); And activity: { "actor": "memberPost:123-100", "foreign_id": "memberPost:123-100", "likesCount": 0, "object": "memberPost:1231381-100-14", "text": "hi", "time": "2017-06-29T16:38:31.608000", "verb": "post" } – Ismael Jun 29 '17 at 16:45
  • I have also problems when doing get (activities)! there is a timeout when adding activities and getting activities – Ismael Jun 29 '17 at 16:47