3 ms·
Only question I can think of that I didn’t see an answer for is: is he running one postgres db, which is shared between the web and api services? Multiple servi
by ydnaclementine 7y ago
Only question I can think of that I didn’t see an answer for is: is he running one postgres db, which is shared between the web and api services? Multiple services with only one db gets hairy fast with questions like: who owns the migrations? does the migration owning service have to restart the other service so the other service gets the new db column/table? etc
Unless the web also uses the API service to get its data. Really great article
- aprdm 7y agoLikely the web app uses the API to get its data, it hints at it when he says he uses the same APIs the customers do from his frontend.