By Corey Goldberg | Article Rating: |
|
August 4, 2008 01:00 PM EDT | Reads: |
19,400 |

Corey Goldberg's Blog
I've noticed the Twitter API is very slow and unreliable. Requests often take 10+ seconds to return. Sometimes they timeout with no response at all.
I put together some monitoring tools to see exactly how slow and unreliable the API really is (when it is even available!). This is obviously not a very scientific test; just a ballpark idea of performance. The monitoring tools are built with Python and RRDTool. To start with, I used a modified version of my rrdpy suite of tools (http://code.google.com/p/rrdpy).
I ran a test for 2 hours, hitting the API's Test Method every 30 seconds. The tools generated the following time-series graph of server response times:
The average response was 2.53 seconds, and we see a *lot* of variance in the data samples.
In comparison, here is the same test run against the Yahoo Search REST API:

Notice the small variance and the average server response time of 0.186 secs!
I would be interested in running these tests again in a few months to see if Twitter's API has become faster and more reliable.
Published August 4, 2008 Reads 19,400
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Corey Goldberg
Corey Goldberg is a software engineer living in Boston.
Apr. 21, 2018 09:15 AM EDT Reads: 2,041 |
By Yeshim Deniz Apr. 21, 2018 09:00 AM EDT Reads: 1,552 |
By Pat Romanski Apr. 21, 2018 09:00 AM EDT Reads: 2,220 |
By Liz McMillan Apr. 21, 2018 08:45 AM EDT Reads: 2,511 |
By Elizabeth White ![]() Apr. 21, 2018 08:45 AM EDT Reads: 5,981 |
By Yeshim Deniz Apr. 21, 2018 08:45 AM EDT Reads: 2,635 |
By Yeshim Deniz Apr. 21, 2018 08:30 AM EDT Reads: 3,061 |
By Pat Romanski ![]() Apr. 21, 2018 08:30 AM EDT Reads: 8,217 |
By Liz McMillan ![]() Apr. 21, 2018 07:30 AM EDT Reads: 2,052 |
By Pat Romanski Apr. 21, 2018 05:45 AM EDT Reads: 1,745 |
By Elizabeth White ![]() Apr. 21, 2018 05:00 AM EDT Reads: 6,156 |
By Yeshim Deniz ![]() Apr. 21, 2018 03:30 AM EDT Reads: 1,913 |
By Elizabeth White ![]() Apr. 21, 2018 01:30 AM EDT Reads: 6,531 |
By Liz McMillan Apr. 21, 2018 12:00 AM EDT Reads: 2,534 |
By Liz McMillan ![]() Apr. 20, 2018 11:30 PM EDT Reads: 13,165 |
By Yeshim Deniz Apr. 20, 2018 11:15 PM EDT Reads: 2,351 |
By Elizabeth White ![]() Apr. 20, 2018 11:00 PM EDT Reads: 3,548 |
By Liz McMillan ![]() Apr. 20, 2018 10:30 PM EDT Reads: 22,441 |
By Elizabeth White ![]() Apr. 20, 2018 10:15 PM EDT Reads: 6,222 |
By Elizabeth White ![]() Apr. 20, 2018 09:15 PM EDT Reads: 3,610 |