I have searched well before asking this question, and some of the questions look like what I need here, but none of the gave a clear answer to my question.
I am writing a web application (in PHP if that matters) that is separated into multiple sub-applications (e.g. Auth, Database, Session, ...etc)
Each of of these sub-applications is deployed to a separate server, and some are deployed on the same server, but not for too long, eventually they will be deployed to their own servers.
Now, my question is simple. What is the standard/correct way of communication between these parts?
I am not sure, but consuming the APIs of these applications over HTTP/HTTPS sounds a bad idea.
Maybe Messaging protocols? Sockets? I am not sure! As I said, I only want to know what is the standard way to handle such cases?