Queue written with ets used by trail