Skip to content

Commit

Permalink
adding a note about a performance issue regarding DNS settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniël van Gils committed Jul 3, 2014
1 parent 7e30640 commit 42bd422
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@ After configuration, requests can be made like so:
client.update("I'm tweeting with @gem!")
```

**Performance/DNS settings issue**

When you are using the gem in production (running for example in a DigitalOcean VPS) be aware that DNS settings on the server can affect outbound traffic performance with `Twitter::Error::RequestTimeout` as a result. Don't use the public Google DNS services (4.4.4.4 / 8.8.8.8) they are rate-limited and have very bad response times. Use a DNS service close to your data-center.

## Usage Examples
All examples require an authenticated Twitter client. See the section on <a
href="#configuration">configuration</a>.
Expand Down

0 comments on commit 42bd422

Please sign in to comment.