Simple queueing patterns by examples