-
Notifications
You must be signed in to change notification settings - Fork 0
cache_pyml
G-Art edited this page Jan 5, 2021
·
4 revisions
@startuml actor "Query initiator" as QI participant SearchService as SS participant QueryTransformationService as QTS participant QueryExecutor as QE participant CacheService as CS database DB
QI -> SS : send search query SS -> QTS : perform query transformation QTS -> SS : return query context SS -> QE: execute query
QE -> CS : cache request alt cache exist CS -> QE : return cached query result
else cache computation CS -> CS: determine segment\n for query context CS -> QE: execute query request QE -> DB: perform query DB -> QE: return result set QE -> QE: extract result data QE -> CS: return extracted result data CS -> QE : return cached query result end
QE -> SS : return query result SS -> QI : receive search result
@enduml