[Serdev] How text database synchronize with cache

=?gb2312?B?bWljaGFlbCBqaSAtILzN0anF9A==?= michael.ji at zyxel.cn
Wed Aug 4 06:54:50 UTC 2004


Hi all,
	I have a question about data synchronized with cache when I replace =
mysql module with dbtext module.
	ser.cfg is configured as:
	........
	loadmodule "/usr/local/ser/lib/ser/modules/dbtext.so"
	......
	modparam("usrloc", "db_mode",1)
	modparam("usrloc", "time_interver", 10)
	modparam("usrloc", "use_domain", 1)
	modparam("usrloc", "db_url", "dbtext:///var/db")
	modparam("auth_db", "db_url", "dbtext:///var/db")
	modparam("group", "db_url", "dbtext:///var/db")
	......
=09
	When a sipuser registered SER, the user's contact infomation will be =
stored into shared memory (location table), but the data can't be stored =
into text database (/var/db/location).
	But if  I stop SER or restart SER, the user's contact information will =
be stroed int text database.
	would you explain the synchronization mechanism bewteen shared memory =
(cahce) and text database, is it same with  synchronization of mysql. I =
find the result is different.



Thanks
Michael
=09
	=20




More information about the Serdev mailing list