You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/07/21 12:49:39 UTC

[GitHub] [skywalking] wu-sheng commented on issue #5142: SW_CORE_ROLE how to use in production

wu-sheng commented on issue #5142:
URL: https://github.com/apache/skywalking/issues/5142#issuecomment-661839274


   I think this is fully described in the comments.
   ```
       /**
        * OAP server could work in different roles.
        */
       public enum Role {
           /**
            * Default role. OAP works as the {@link #Receiver} and {@link #Aggregator}
            */
           Mixed,
           /**
            * Receiver mode OAP open the service to the agents, analysis and aggregate the results and forward the results
            * to {@link #Mixed} and {@link #Aggregator} roles OAP. The only exception is for {@link
            * org.apache.skywalking.oap.server.core.analysis.record.Record}, they don't require 2nd round distributed
            * aggregation, is being pushed into the storage from the receiver OAP directly.
            */
           Receiver,
           /**
            * Aggregator mode OAP receives data from {@link #Mixed} and {@link #Aggregator} OAP nodes, and do 2nd round
            * aggregation. Then save the final result to the storage.
            */
           Aggregator
       }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org