I'm building a system with news feed style broadcasting. there won't
be millions of users, probably just 100k and interesting feed would go
to inbox of ~10k users.

everyone's recommend the method to solve fan-out proposed by Brett,
and i really like it, works something like this:

class Feed(db.Model)
   content = db.TextProperty()

class Receivers(db.Model)
  IDs = db.ListProperty(int)

say an interesting Feed has five children of Receivers each with 2000
IDs in the list, i like how it solves my problem, but I did the math
on billing:

that's 2000 * 5 * 2 writes = 20k low-level writes right there on
creation, and cleaning up cost another 20k low-level writes. 40k low-
level writes = $0.04 for a news feed. Am I doing the math wrong,
missing something, missing the best way to handle this problem, or
this seems a reasonable cost?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to