Does this work with the request processor in ACS? I didn't think that it did. I also remember aD deciding that ns_write was too expensive to use. If you do get this to work with the ACS, remember to call db_release_unused_handles just before you call ns_write. Otherwise you could use up all you db handles on a few slow clients.