<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Perlbal talks to your webserver, then your webserver talks to your tracker<br>(mogilefsd) or memcached (which has the results of get_paths), and your
<br>webserver replies to Perlbal with the locations of the files in MogileFS<br>mogstored node(s), optionally telling Perlbal to cache that mapping<br>internally (Perlbal can internally cache a URL -> @locations for 'n'
<div>Could you give an example of this? I'm a bit confused.</div>
<div>Say user Bob uploads a photo. The web server receives the file and sends it to MogileFS, which then stores it somewhere. I'm guessing MogileFS returns and gives the application some file ID?</div>
<div>Next Bob is forwarded to a page where he now sees his uploaded photo linked to a web page. To get the image URL, the application would need to figure out the URL of that file ID. It tells the web app this URL:</div>
<div>The web app then passes that to Perlbal, and Perlbal translates that into:</div>
<div>Is that how it works? I'm just guessing here.</div>