This makes a "fan-out" model for any feed-type app pretty difficult. For example in an app with friends or followers, when a user posts something the app would perform inserts to add the post into the followers/friends feed tables. It's very bursty, and would be very expensive with this new pricing scheme.
Yes, but this assumes that all users are online with the app active at the same time and that the app is requesting the new info at the same time, right? How likely is that, really?
This actually has nothing to do with who is online or if the app is currently requesting info. An example:
You have a posts db table (or collection in the case of Parse, since they're using MongoDB) and a user_posts table. The user_posts table contains references to the posts to show in each user's personalized feed (fan out model). When a post is created, the app needs to perform x inserts into user_posts, where x is the number of users who's feed will include this post. EACH insert counts as a request in Parse, so if a user with 100 followers posts something that needs to be distributed to the 100 follower feeds, that'll require 100 requests/second.
Comments
This makes a "fan-out" model for any feed-type app pretty difficult. For example in an app with friends or followers, when a user posts something the app would perform inserts to add the post into the followers/friends feed tables. It's very bursty, and would be very expensive with this new pricing scheme.
Yes, but this assumes that all users are online with the app active at the same time and that the app is requesting the new info at the same time, right? How likely is that, really?
This actually has nothing to do with who is online or if the app is currently requesting info. An example:
You have a posts db table (or collection in the case of Parse, since they're using MongoDB) and a user_posts table. The user_posts table contains references to the posts to show in each user's personalized feed (fan out model). When a post is created, the app needs to perform x inserts into user_posts, where x is the number of users who's feed will include this post. EACH insert counts as a request in Parse, so if a user with 100 followers posts something that needs to be distributed to the 100 follower feeds, that'll require 100 requests/second.