You are an enterprise application developer. You are creating a component that will be used to analyze various data sources. The component performs the following tasks in sequence: It accepts data from multiple online sources.It analyzes the data from each source.It returns a computed aggregate value. The types of data sources can change over the life of the component. You need to design the component to improve scalability. You also need to ensure that the component design allows for addition of data sources in future and also for modifications in the existing data sources.
What should you do?
A.
Create a separate instance of the component for each data source.
B.
Create a component that sequentially processes the data from each source.
C.
Create a component that creates a thread for each data source and aggregates the values that are returned.
D.
Create a component that creates a separate process for each data source and aggregates the values that are returned.