From Wikipedia:

Outside of established traditions, particularly in the avant-garde, writers have produced a variety of work under more severe constraints; this is often what the term “constrained writing” is specifically applied to. For example:

The Oulipo group is a gathering of writers who use such techniques. The Outrapo group uses theatrical constraints.

There are a number of constrained writing forms that are restricted by length, including: