ztkmkoo / dss

Asynchronous distributed server system (dss)
MIT License
19 stars 13 forks source link

Feature/118 redesign actor interface #126

Closed ztkmkoo closed 4 years ago

ztkmkoo commented 4 years ago

motivation

I think akka actor design is too complex(?) and not intuitive.

job

Design the main actors interface.

use case

image

@startuml
:Master: as Master <<Actor>>
Network <<Actor>>
Resolver <<Actor>>
Service <<Actor>>
Exception <<Actor>>
Client <<User>> #blue

Master --|> Network: listen
Network <- Client: req
Network --> Resolver: req
Resolver -> Service: req
Network <-- Service: res
Service -> Exception: exception
Network <-- Exception: res

Master . Network: child
Master . Resolver: child
Master . Service: child
Master . Exception: child
@enduml
ztkmkoo commented 4 years ago

@Alencion @RulLu16 @Doyuni I open new one.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.8%) to 86.058% when pulling fe144ce8b712b10ca67ea5e574d91ff1de877319 on feature/118_redesign_actor_interface into f689f7d297f598c7be2adeb516c9f277d7610838 on develop-0.5.

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication