A basic problem that I encountered when I started to developed a stand-alone application involving the use of a DB, which is Service Publishing AP's service_list, as opposed to a web application is to decide whether I should employ locking or copying when using an iterator to iterate, for example, a shared linked list or a shared DB.