Browse Source

included some extra comments about usrloc/db_mode

Jiri Kuthan 17 năm trước cách đây
mục cha
commit
b8fa32a054
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      etc/ser-oob.cfg

+ 4 - 0
etc/ser-oob.cfg

@@ -255,6 +255,10 @@ modparam("speeddial|auth_db|usrloc|acc_db|domain|uri_db|gflags|avp_db|db_ops", "
 # -- usrloc params --
 
 # db_mode 0 -- memory cached, 1 -- write thru, 2 -- delayed write
+# 1 is generally safer than 2 ... 2 can help to survive peaks in load
+# however it creates delayed peaks that can impair request-processing
+# latency later (it would have to be re-redesigned more lock-free to
+# avoid it)
 modparam("usrloc", "db_mode", 1)
 # don't delete expired records from database on a per-contact basis -- that
 # results in bulky DB operations and can lead to synchronization issues