API protocol for internal servers
I have two Rails servers, one for web server, and the other for backend
processes.
Two servers access to the same PostgreSQL database. I need to notify
backend server to do analytics when a new user sign up with web server,
then notify web server the resulted analytics once it's done. I think the
best way to handle this is via an API to backend server.
Since my backend will only be accessed my my web server, what would be the
simplest solution to secure access? Is DoorKeeper an overkill?
No comments:
Post a Comment