Change DNS settings
if have a suggestion. I got a performance problem with the Twitter gem. Got a lot of timeouts.
After investigating the problem. I found out that the DNS servers Digital Ocean is using (/etc/resolv.conf) are the public Google ones. Those DNS services are rate limeted and slow down performance if you are using outbound traffic, like trying to access the api.twitter.com service. My suggestion is to use other DNS services that 4.4.4.4 and 8.8.8.8 or make it editable.
3
votes
Anonymous
shared this idea