Easily configure a performant, secure, and stable NGINX server.Learn More
Two servers to communicating with each other to reduce latency
I’m planning to create an API which will be hosted on one droplet and a website access point on another droplet. What I want is that the website will use the API to do everything it needs.
So for example, if my API has the “create post” code, when a user attempts to create a post using the website, it will send a HTTP request to the API to create that post.
I wonder if there is maybe some way to make those 2 droplet communicate with each other without the public network latency, just like 2 computers communicating each other when sitting on the same network.