How chain restaurants feed millions of diners at scale