I'm looking in core for where the global $post object is being initially set but I'm not sure where or where the logic would be that would handle concurrent users. I'm assuming this creates multiple global $post objects for various requests and perhaps tie that to some $_SESSION variable.
I'm trying to understand how WordPress gets away with using global variables in its application and being able to scale.