Edge computing for POS systems