I have a droplet on 512Mb. Is there a website where the main burden is through api. Site is written in php + redis. Recently, I started getting error 502, 504. Changed the configuration. I would like to find out how my configuration is optimal. In the second comes up to 15 requests to the api. Api used ~ 150 users.
all config: http://pastebin.com/SGuceqUw
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.