1. A light-emitting device, comprising:an electron blocking layer;
a hole blocking layer, at least a portion of the hole blocking layer having a compressive strain; and
an active layer disposed between the hole blocking layer and the electron blocking layer, the active layer including:
a first barrier layer having a first tensile strain,
a second barrier layer having a second tensile strain,
a first well layer disposed between the first barrier layer and the second barrier layer,
a first unstrained barrier layer,
a second unstrained barrier layer, and
a second well layer disposed between the first unstrained barrier layer and the second unstrained barrier layer.