Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 692637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:40:17+00:00 2026-05-14T02:40:17+00:00

We want to implement a News feed where a user can see messages broadcasted

  • 0

We want to implement a “News feed” where a user can see messages
broadcasted by her friends, sorted with newest message first. But the
feed should reflect changes in her friends list
. (If she adds new
friends, messages from those should be included in the feed, and if
she removes friends their messages should not be included.) If we use
the pubsub-test example and attach a recipient list to each message
this means a lot of manipulation of the message recipients lists when users
connect and disconnect friends.

We first modeled publish-subscribe “fan out” using conventional RDBMS
thinking. It seemed to work at first, but then, since the IN operator
works the way it does, we quickly realized we couldn’t continue on
that path. We found Brett Slatkin’s presentation from last years
Google I/O
and we have now watched it a few times but it isn’t clear to
us how to do it with “dynamic” recipient lists.

What we need are some hints on how to “think” when modeling this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T02:40:17+00:00Added an answer on May 14, 2026 at 2:40 am

    Pasting the answer I got for this question in the Google Group for Google App Engine http://groups.google.com/group/google-appengine/browse_thread/thread/09a05c5f41163b4d# By Ikai L (Google)

    A couple of thoughts here:

    • is removing of friends a common event? similarly, is adding of
      friends a common event? (All relative,
      relative to “reads” of the news feed)

    • From what I remember, the only way to make heavy reads scale is to write
      the data multiple times in peoples’
      streams. Twitter does this, from what
      I remember, using a “eventually
      consistent” model. This is why your
      feed will not update for several
      minutes when they are under heavy
      load. The general consensus, though,
      is that a relational, normalized
      model simply will not work.

    • the Jaiku engine is open source for your study:
      http://code.google.com/p/jaikuengine.
      This runs on App Engine Hope these
      help when you’re considering a design.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to implement an application which will work as a parser. User will
I want implement a program that can do a a Vision-based Page Segmentation. I
When using gmail or greader, you can go from one message/news to the next/previous
I want to implement AJAX like facebook, so my sites can be really fast
I want to implement a two-pass cache system: The first pass generates a PHP
I want to implement blog\news application with ability to: show all posts at root:
I want to implement a relevancy based text search on News text. Here is
I want implement in my software solution an VBA editor but in c# 3.0.
i starter in jqgrid, i want implement inline edit in jqgrid i have this
given this class definition: public class Frame { IFrameStream CapturedFrom; } I want implement

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.