Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. There is a comparison that can be made between ActivityPub and Event-Sourcing.

There is a comparison that can be made between ActivityPub and Event-Sourcing.

Scheduled Pinned Locked Moved Uncategorized
fedidevactivitypubactivitystreamseventsourcing
4 Posts 1 Posters 7 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • reiver@mastodon.socialR This user is from outside of this forum
    reiver@mastodon.socialR This user is from outside of this forum
    reiver@mastodon.social
    wrote last edited by
    #1

    There is a comparison that can be made between ActivityPub and Event-Sourcing.

    1/

    With Event-Sourcing, your source-of-truth is an append-only series of events.

    Ex: USER_REGISTERED, EMAIL_ADDRESS_VERIFIED, PASSWORD_CHANGED, etc.

    In ActivityPub, this is similar to the inbox, outbox, etc being an append-only series of Activity.

    Ex: Create, Like, Undo, etc.

    #ActivityPub #ActivityStreams #EventSourcing #FediDev

    reiver@mastodon.socialR 1 Reply Last reply
    1
    0
    • R relay@relay.mycrowd.ca shared this topic
    • reiver@mastodon.socialR reiver@mastodon.social

      There is a comparison that can be made between ActivityPub and Event-Sourcing.

      1/

      With Event-Sourcing, your source-of-truth is an append-only series of events.

      Ex: USER_REGISTERED, EMAIL_ADDRESS_VERIFIED, PASSWORD_CHANGED, etc.

      In ActivityPub, this is similar to the inbox, outbox, etc being an append-only series of Activity.

      Ex: Create, Like, Undo, etc.

      #ActivityPub #ActivityStreams #EventSourcing #FediDev

      reiver@mastodon.socialR This user is from outside of this forum
      reiver@mastodon.socialR This user is from outside of this forum
      reiver@mastodon.social
      wrote last edited by
      #2

      There is a comparison that can be made between ActivityPub and Event-Sourcing.

      2/

      With Event-Sourcing, you can "project" the events to get another (often more peformant) view of the data in the events.

      Without having to incur the cost of having to read all the events to figure out the final state.

      ...

      #ActivityPub #ActivityStreams #EventSourcing #FediDev

      reiver@mastodon.socialR 1 Reply Last reply
      0
      • reiver@mastodon.socialR reiver@mastodon.social

        There is a comparison that can be made between ActivityPub and Event-Sourcing.

        2/

        With Event-Sourcing, you can "project" the events to get another (often more peformant) view of the data in the events.

        Without having to incur the cost of having to read all the events to figure out the final state.

        ...

        #ActivityPub #ActivityStreams #EventSourcing #FediDev

        reiver@mastodon.socialR This user is from outside of this forum
        reiver@mastodon.socialR This user is from outside of this forum
        reiver@mastodon.social
        wrote last edited by
        #3

        There is a comparison that can be made between ActivityPub and Event-Sourcing.

        3/

        With ActivityPub, Activities are often applied to an object. That object gets assigned an ID in the form of a URL.

        (And, by URL I mean URL, URI, IRI, etc.)

        One doesn't have to read through all the Activities in an inbox, outbox, etc to get the final state of an object.

        One can just get the JSON-LD document from the object's ID URL to get the final state.

        #ActivityPub #ActivityStreams #EventSourcing #FediDev

        reiver@mastodon.socialR 1 Reply Last reply
        0
        • reiver@mastodon.socialR reiver@mastodon.social

          There is a comparison that can be made between ActivityPub and Event-Sourcing.

          3/

          With ActivityPub, Activities are often applied to an object. That object gets assigned an ID in the form of a URL.

          (And, by URL I mean URL, URI, IRI, etc.)

          One doesn't have to read through all the Activities in an inbox, outbox, etc to get the final state of an object.

          One can just get the JSON-LD document from the object's ID URL to get the final state.

          #ActivityPub #ActivityStreams #EventSourcing #FediDev

          reiver@mastodon.socialR This user is from outside of this forum
          reiver@mastodon.socialR This user is from outside of this forum
          reiver@mastodon.social
          wrote last edited by
          #4

          RE: https://mastodon.social/@reiver/114002434643920102

          4/

          Related (in quote-boost).

          #ActivityPub #ActivityStreams #FediDev

          1 Reply Last reply
          1
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups