For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Charging Data Function 3.1, an older release. The newest release is 4.3. Go to 4.3

Extended CDF receiver configuration

This document explains which receiver parameters you can configure and how you can use them to change the throughput.

The receiver must handle the incoming charging records so the receive buffers must be big enough to handle them. When the receiver is overloaded, it must gracefully decline new records to correctly store the ones in progress. If one receiver is not fast enough, you can add more. Also, setting the size of CDR files can influence the overall performance.

This is a sample extended configuration of CDF receiver.

yaml

receiver.simultaneousIncoming

This is the number of simultaneously incoming charging data records (ACRs) that is allowed. The default value is 1000.

When the receiver gets more than the default value of simultaneously incoming ACRs, it answers Diameter with LIMITED_SUCCESS and does not write these ACRs to the disk. These ACRs are lost unless SMC resends them.

"Simultaneously incoming" means that previous Diameter messages were not answered yet when new messages arrived. The reasons for this are:

  • To avoid the receiver becoming too slow to answer Diameter
  • To avoid so many ACRs waiting to be stored in RAM
  • To avoid CDF being out-of-memory killed.

When a receiver is too slow, it cannot close CDR files at the correct time, which potentially allows them to become too big. If a receiver is getting short bursts of many ACRs, you can increase this value ( the default is 1000). In this case, a receiver can catch up before the next burst so that no ACR is lost.

receiver.transportOptions.receiveBuffer

This is the size of the socket send buffer for Diameter Rf from SMC in bytes. The default value equals the operating system settings.

When the receive buffer is too small, the receiver loses the incoming ACRs, which triggers resending. Even though no data is lost, the performance goes down.

receiver.transportOptions.sendBuffer

This is the size of the socket send buffer for Diameter Rf towards SMC in bytes. The default value equals the operating system settings.

When the send buffer is too small, the receiver loses the outgoing Accounting Answers (ACAs).

receiver.waitS3

This is the waiting duration before sending a CDR file to S3 in milliseconds. Each CDR is almost 4 kb. The maximum file size is 2 Gb. The default value is 100000.

Every time CDF sender has to switch from one file to the next, there is a slight delay of about a second. Do not let the receiver send a new file to S3 too often. The default value for sending a new file is set to 100 seconds, which makes a one-second sender delay, provided the sender sends as fast as the receiver receives. It is important to remember the file size limitation of 2 Gb. If the receiver waits too long to send a file when many CDRs arrive, the file becomes too big.