rails i question that rails is a shared nothing architecture by default it has file based sessions as well as a single process runner which doesn't get reset between requests if you set a global variable in one request it'll be there in the next assuming you end up at the same backend