Hello,
On 30-07 13:39, Klaus Darilion wrote:
Hello!
I have found the db_mode option in the userloc module, which controls updates in the location table. But how are the lookups handled in ser?
If a user location will be requested by lookup("location"), will this query the backend database or only the RAM. Is this lookup behaviour also configurable (how?)?
No, it will not query the database, only memory will be used.
I'm thinking about a configuration with 2 ser proxies and one database backend. If the lookup only queries the cached location table, I would have to froward the registrations between the two proxies via t_replicate. But wouldn't this cause both proxies to update the database resulting in two entries in the location table for each registration?
Yes, this is not possible at the moment. Another database mode which will query the backend database when doing lookups is on our todo list.
Jan.