Re: [Iamb-dev-internal] streed
Status: Beta
Brought to you by:
rbowen
From: Matt C. <su...@qx...> - 2001-04-01 17:09:46
|
On Sun, 1 Apr 2001, Ken Rietz wrote: > A hash ref? A scalar? Do you mean that you would create a hash, > and both the hash and a ref to it would get stored? Could you > re-create the hash from the database from just the ref? > > Something is really not clicking here. i'm not storing the ref you silly monkey. i'm storing the data in the ref. the ref is just a convienent way to pass data around. > Clearly, it depends on two things: the value of n and the length > of time the data is blocked. We'll probably have to do some fine > tuning in real life. yup yup. right now, its engineered to see if the data needs saved every 10 seconds. the data will be saved if the queue's modified flag is set. otherwise, we dont need to waste the cycles or the io. > More specifically, is it the MySQL DBI, and not another one > that we could possibly use? Are there any serious alternatives: > free, stable, easily obtained, and standardized? its DBI in general. tim and the gang didnt think the core all the way through to threading. i am further told that libmysqlclient.a (the standard client library to interface to mysql) is ALSO not thread-happy. so we're screwed on both fronts. i suppose we could write a thread-happy interface to mysql. oh wait. i really am not that high. :) its an idea but so beyond my depth and breadth. > I also am interested to see how this works out. Glad to see that > you are back at this! yeah. its nice to be writing good code in a pretty stressfree situation for once :) if i can get my attention span back, we'll be set :) m. |