8
16
Fork 22

WIP: Experiment: extract Searcher into an Actor #807

Geschlossen
igalic möchte 2 Commits von igalic/Plume:refactor/extract-searcher nach main mergen
igalic hat vor 4 Jahren kommentiert
Besitzer

The goal of this pull request is to remove Searcher from PlumeRocket, as described in #799.
The strategy in this pull request is to use a riker actor and

  • Wrap Searcher & DbPool into an actor
  • create messages for add, delete, update
  • initialize actor system in main()
  • manage "actor system, so we have easy access to it
  • RequestGuard on ActorSystem, to allow access to it
  • instead of using &PlumeRocket.Searcher, use ActorSystem to send a message to our SearcherActor
The goal of this pull request is to remove `Searcher` from `PlumeRocket`, as described in #799. The strategy in this pull request is to use a riker actor and - Wrap Searcher & DbPool into an actor - create messages for add, delete, update - initialize actor system in `main()` - manage "actor system, so we have easy access to it - RequestGuard on ActorSystem, to allow access to it - instead of using `&PlumeRocket.Searcher`, use ActorSystem to send a message to our SearcherActor
igalic hat 2 Commits vor 4 Jahren hinzugefügt
ae4ec4f9bd
Add an SearcherActor, wrapping Searcher & DbPool
and implement AddDocument message!
This code compiles, but hasn't been put to use yet.
igalic hat vor 4 Jahren kommentiert
Ersteller
Besitzer

closing in favour of #813

closing in favour of #813
igalic hat diesen Pull-Request vor 4 Jahren geschlossen
Bitte diesen Pull-Request wieder öffnen, um zu mergen.
Anmelden, um an der Diskussion teilzunehmen.
Keine Reviewer
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Nachrichten
Fällig am
Das Fälligkeitsdatum ist ungültig oder außerhalb des zulässigen Bereichs. Bitte verwende das Format „jjjj-mm-tt“.

Kein Fälligkeitsdatum gesetzt.

Abhängigkeiten

Keine Abhängigkeiten gesetzt.

Referenz: Plume/Plume#807
Laden…
Hier gibt es bis jetzt noch keinen Inhalt.