Skip to content

Library Implementation Goals

Konstantin Gredeskoul edited this page Aug 12, 2017 · 3 revisions

What are the design goals of the library?

  • To define a minimalistic API for a typical event-based simple feed, without tying it to any concrete provider implementation

  • To make it easy to implement and plug in a new type of provider, eg. using Couchbase or MongoDB

  • To provide a scalable default provider implementation using Redis, which can support millions of users via data sharding by user

  • To support multiple simple feeds within the same application, but used for different purposes, eg. simple feed of my followers, versus simple feed of my own actions.

  • To support per-user read and unread counts that can be shown in user's "new messages" widgets