title: Monolithic to Microservice
body: <p>I have a monolothic application which I am trying to convert to micro service based apps.</p>
  <p><strong>Approach 1:-</strong></p>
  <ol>
  <li>Database still remain same, but there will be multiple micro services connecting to the same db</li>
  </ol>
  <p><strong>Approach 2:-</strong></p>
  <p>Different micro service for different module and each micro service will have its own database.
  But, each module need user data( Table -&gt; user).</p>
  <p>Say, We are breaking into 4 modules. Admin module, Billing module, Appointment module, Inventory module</p>
  <p>Here, For Ex:- Admin module, Appointment module &amp; Billing module needs user data. For appointment module,  certain appointment queries needs to be joined with user table which is there in other DB.</p>
  <p>How to go with this?</p>