We report the result of our study on the dependency of the photon
generation and storage to atomic geometry in an optical resonator. We
show that the geometry of atoms in an ensemble can be engineered to
control collective excitations in a way to achieve high degree of
correlation between photons. Moreover, we discuss the role of geometry
in such structures to efficiently store photons among a small number
of atomic regions.