title: Backend Server fetching data vs UI fetching data
body: <p>I have an architecture question.</p>
  
  <p>I am currently working on a system architecture for an Employee information system which will show all the employee information. But the information what needs to be shown to user is currently stored in two systems. But on UI for user we need to show the data in consolidated view. We have two option to approach this.</p>
  
  <p>Option#1:</p>
  
  <p>One backend server which fetches both the data from the two systems and then send it UI to display.</p>
  
  <p>Option#2:</p>
  
  <p>One backend server sends the data from one system and links to get the data from other system.UI then fetches the data from other system to display it on UI.</p>
  
  <p>According to me the Option#2 is better since the data is fetched by UI as and when needed. But the concern with this approach is UI needs to make repeated calls to system2 which makes lot of HTTP requests. </p>
  
  <p>Can I get suggestions on which option is better and why?</p>