tweetypie/server/README.md
Tweetypie is the core Tweet service that handles the reading and writing of Tweet data. It is called by the Twitter clients (through GraphQL), as well as various internal Twitter services, to fetch, create, delete, and edit Tweets. Tweetypie calls several backends to hydrate Tweet related data to return to callers.
The next sections describe the layers involved in the read and create paths for Tweets.
In the read path, Tweetypie fetches the Tweet data from Manhattan or Twemcache, and hydrates data about the Tweet from various other backend services.
get_tweets, one of the endpoints used to fetch Tweets.At a high level, the path a get_tweets request takes is as follows.
The write path follows different patterns to the read path, but reuses some of the code.
post_tweet endpoint. Modules define which stores they call, and stores define which modules they handle.The path a post_tweet request takes is as follows.