Reactor design for homogeneous reactions