A pattern forming method includes the following steps. The method includes receiving, in a storage cache, a read request from a host processor that identifies requested data and determining whether the requested data is in a cache memory of the storage cache. An optical device is secured to the first surface of the substrate and electrically coupled to the substrate.