1. A light-emitting device, comprising:an electron blocking layer, wherein at least a portion of the electron blocking layer is arranged to have a tensile strain;
a hole blocking layer, wherein at least a portion of the hole blocking layer is arranged to have a compressive strain; and
an active layer disposed between the hole blocking layer and the electron blocking layer.