Ajax basic and typical case analysis