result_flag
as needed. For example, if the updated data record is required after an update operation is performed, the result_flag
should be set to 2. If the data record is not required during a write operation, the result_flag
is set to 0.batchget
, listgetall
, and getbypartkey
, we recommend getting the data record based on offest
and limit
. We recommend setting the limit
to 200 and enabling multi-package return on the game server.listaddafter
operation is performed, an enqueue/dequeue rule should be set in case that the list is full. We recommend the rule to add a new record to the front and delete a record from the rear, or vise versa.listreplace
, listdelete
, and listbatchdelete
operations.memset
operations on large fields to avoid consuming CPU resources. You can set the values of some fields in large data structures to 0 before initialization.
Was this page helpful?