Stateless frontend and stateful middle-tier