This paper presents an architecture for an all optical switching node. The architecture is suitable for optical packet and optical burst switching and provides appropriate contention resolution schemes and QoS guarantees. A concept, called virtual memory, is developed to allow controllable and reasonable periods for delaying optical traffics. Related to its implementation, several engineering issues are discussed, including the use of loopbased optical delay lines, fiber Bragg gratings, and limited number of signal amplifications. In particular, two implementations using optical flip-flop and laser neuron network based control units are analyzed. This paper also discusses the implementation and performance of an alloptical synchronizer that is able to synchronize arriving data units to be aligned on the clock signal associated with the beginning time of slots, in the node, with an acceptable error.