Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7828163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:14:04+00:00 2026-06-02T10:14:04+00:00

Take Twitter for example, they say twitter.com as a client of their own API.

  • 0

Take Twitter for example, they say twitter.com as a client of their own API. Could this be one of the reason why Twitter is quite ‘slow’?

Reference: http://engineering.twitter.com/2010/09/tech-behind-new-twittercom.html

Would you recommend using your own API for you main website/app?

If using own API is OK, what are the ways to avoid performance issues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:14:15+00:00Added an answer on June 2, 2026 at 10:14 am

    Regarding using your own API: It’s about trade offs. In the twitter example by using their own API they were able to “allocate more resources to the API team.” That benefit for them outweighed a performance hit. There are other benefits not mentioned either, Like, being the first to vet your api and having a single unified entry point into the system. There are drawbacks as well that are mentioned in the link you posted.

    For your application you should look at the architectural qualities you want to achieve and balance that with the constraints you are given and make your own choice. If ultra high performance is at the top of the list then craft your solution to meet that goal.

    Regarding performance when using your own API: Again it depends. In the twitter case they knew they would be accessing the API in JavaScript. So the physical jumps are Browser –> Server –> DB. There is no way to get around these hops if you are doing client-server development. In the link you posted they talked about going directly to the DB. Yes that would be faster, but I’m not sure how to do that from a javascript client. I suppose if they had used websockets to a custom API then that would have been faster, but at what development cost.

    Summary So it’s not that they are using their own API that was the performance hit, it was that they wanted the client to be an HTTP hop away.
    Please note that none of these comments talk about what the server –> db calls look like or their caching strategy, or any of the other dozen things which could be a bottleneck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Twitter API to post tweets. At times this can take some time,
Take this for example: http://www.haskell.org/haskellwiki/99_questions/Solutions/32 (**) Determine the greatest common divisor of two positive
Take a look at the following url in chrome & firefox: http://dota2.herokuapp.com/accounts/login Could someone
Take this example: string1 = aaxadfxasdf string2 = asdfxadf string3 = sadfas i need
I am developing an open source desktop twitter client. I would like to take
Take for instance Yahoo Mail or Twitter. When someone signs up to use their
I want to take a Twitter text like this: s = Today 09/07 sunday
Is there an API that will take a twitter tweet and convert it to
Ok so I asked this yesterday: AutoLink @mentions in a twitter client I got
There are plenty of samples out there, especially for Twitter. This one seems to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.