Swift/Testing the cluster

From Wikitech
Jump to: navigation, search
This project is active.
Swift
RT: 1384
Due: 2012-04-01

Contents

overview

When testing Swift, there are several ways to get at the data, and choosing the right one requires an understanding of how data flows into and out of swift. Here's the short version, specific to thumbnails:

requesting an image

  • a user calls a upload.wikimedia.org URL
  • it hits LVS and flows through to squid
  • on a cache miss, squid sends it to ms-fe.pmtpa.wmnet (held by another LVS server)
  • ms-fe passes the request to ms-fe1 or ms-fe2.pmtpa.wmnet
  • The swift frontend looks it up in the container, returns the object
  • if the object doesn't exist, it calls out to ms5.pmtpa.wmnet
  • ms5 returns the object if it has it
  • if the object doesn't exist, it calls out to the rendering.pmtpa.wmnet cluster (held by LVS)
  • the render LVS passes the request to an apache running mediawiki

renaming or purging

retrieve a file from the cluster

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox