Skip to content

Architecture

High Level Diagram

Pinka Components

Data Model

The model is based on Activity Streams (AS) 2.0 and Activity Pub (AP).

Collections

Per AS Actor

  • Outbox
    • Lists the activities of an actor.
      • Each activity contains or references other AS objects.
      • Can be served from Raft followers with read-committed consistency.
  • Inbox
    • Virtually contains all activities received by an AS actor.
      • Activities POSTed to the inbox is added to the Raft leader's log.
  • Followers
  • Following
  • Liked

Per AS Object

Indexed by object id Optionally index by actor id?

  • Likes
  • Shares

References