[Iamb-dev-internal] streed
Status: Beta
Brought to you by:
rbowen
From: Matt C. <su...@qx...> - 2001-04-01 15:19:37
|
the decision i've made for the internals of the stree daemon is to store the strees in an internal hash ref. then every n seconds a snapshot of that internal queue will be taken and written to the database. modification of the hash should be fast enough to avoid data collisions (extensive testing will verify this). i'm probably going to need another process to farm off the database saving too. DBI blocks IO and as such, while DBI is doing a insert or whatever, the whole server has to sit and spin until the IO is done. very silly and very nasty. and if we plan on this being used in a high traffic situation, that sort of blocking could be very ugly indeed. any thoughts folks? m. |