...
Service | Standalone (Yes/No) | Preview (Yes/No) | Description | |
---|---|---|---|---|
userInterfaceService | Yes | No | We don't want to run UI separately. | |
trackerAppCreationService | Yes | No | Tracker app is for exploring meta data, this should be on real data (standalone) and not preview data. | |
router | Yes | No | ||
streamService | Yes | No | ||
exploreExecutorService | Yes | No | ||
exploreClientwe don't want to run another router, existing router should be able to discover and router to preview service. | ||||
streamService | Yes | No | ||
metadataServiceexploreExecutorService | Yes | No ( since we use remote dataset framework for datasets in user namespace, they should have metadata by default) serviceStore (set/get service instances) | No requirement to explore data in preview | |
exploreClient | Yes | NoappFabricServer | Yes | No |
previewServer | No | Yes | ||
datasetService | Yes | Yes | ||
No requirement to explore data in preview | ||||
metadataService | Yes | No | Metadata service just starts a service with Metadata and Lineage handler. which is used by user to add user-level meta data. CDAP System uses Metadata Store to emit system level metadata. since we use remote dataset framework for system level dataset, we need to check if that will be enough to emit metadata in system dataset or do we need to share meta data store. | |
serviceStore (set/get service instances) | Yes | No | Preview service runs as a single instance and works on small input set, doesn't need many instances, so we wouldn't need a serviceStore to increase/decrease preview instances. | |
appFabricServer | Yes | No | AppFabric has many services which we wouldn't need, PreviewServer can include just the required services. | |
previewServer | No | Yes | New addition | |
datasetService | Yes | Yes | We have a new shared dataset framework, need dataset service to handle dataset requests. | |
metricsQueryService | Yes | No ( | Can call user MetricStore query)to query directly, as our requirement for metrics is straightforward. we will return all metrics emitted by a preview-id | |
txService | Yes | No (can use standalone's tx service) | ||
externalAuthenticationServer (if security enabled) | Yes | No | ||
logAppenderInitializer | Yes | Yes | ||
kafkaClient(if audit enabled) | Yes | No | ||
zkClient (if audit enabled) | Yes | No | ||
authorizerInstantiator (started by default) | Yes | No |
AppFabricServer vs PreviewServer :
...