Skip to content

reader-factory: (deferred) AppsActor read factory #61

Description

@disconsented

Deferred / conditional. Factory-ise the read messages of AppsActor only if benchmarks justify it.

Context

AppsActor (src/db/apps_actor.rs:15) mixes reads (List / Get / ListAvailable, :80) and admin writes (Upsert / Remove, :63) that also poke the download actor. Apps reads are low-volume and cheap compared to item detail, so the win is marginal.

Options if pursued

  1. Split into a read factory (List/Get/ListAvailable) + a single writer actor for Upsert/Remove (kept coordinated with the download actor).
  2. Leave as-is.

Recommendation

Defer until the ItemActor benchmark data shows apps reads are actually a bottleneck.

Depends on

Parent: #51

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions