Forum OpenACS Q&A: Response to Coding: db vs tcl: Fastest Random Loop

Posted by Jerry Asher on
I think the db vs tcl code issue is very relevant. I'd probably keep the items in the db for persistence and let the server pull them out and cache them in an nsv every few hours or whatever is appropriate. I'd select them at random with ns_rand.