CS Architecture

    Restful Responsibilities:

    Scheduler Responsibilities:

    Service Responsibilities:

    Vertical Division

    Vertically divided into 4 modules: Listener, History, ContextId, Context:

    Listener responsibilities:

    1. Responsible for the registration and binding of the client side (write to the database and register in the CallbackEngine)

    2. Heartbeat interface, return Array[ListenerCallback] through CallbackEngine

    History Responsibilities:

    ContextId Responsibilities:

    Mainly docking with Persistence for ContextId creation, update and removal, etc.

    Context responsibility:

    1. Encapsulate the query condition and go to the ContextSearch module to obtain the corresponding ContextKeyValue data

    Need to ensure that Restful’s thread pool is not filled

    CS Architecture - 图3