As Mallory, one of her best friends, approached, Cassandra hoped that their conversation wouldn't take too long—she was already racing against the clock.

In this sentence from "Forgetting Mallory," the phrase racing against the clock means that Cassandra was

feeling pressed for time and worried about running out of time.