Accelerating Advertising Tracking with KVS
Challenges in Advertising Tracking
Advertising tracking helps advertisers measure the effect of their advertising campaigns, estimate the return on their investment, and refine their advertising plans. Achieving these purposes relies on real-time collection of advertising metrics by an advertising tracking platform. Such a platform processes a vast quantity of events such as impressions, clicks, and views in real time. The challenges during this process are as follows:
- A huge volume of data
An advertising tracking platform has a huge amount of advertising data flown in, including impressions, clicks, and browsing time. There are billions to tens of billions records stored each day, and these data will also be stored for a long time, typically 90 days.
- Unpredictable request traffic
The effects of advertising campaigns can be hard to forecast. An advertising tracking platform may need to handle surges in impressions, clicks, and views resulting from a successful campaign.
- Real-time processing
Advertisers rely on the results of advertising tracking to refine their strategies. Real-time data processing is critical to ensure efficient decision-making.
KVS Solution

The benefits provided by KVS for advertising tracking are as follows:
- Ultra-large capacity
KVS delivers decoupled, scale-out compute and storage. A single cluster and a single table have unlimited scale and capacity, which can meet the needs of event writes at any scale.
- Robust performance
The performance of KVS increases linearly with the cluster scale. A single table can deliver hundreds of millions of QPS to handle lots of event writes sparked by advertising campaigns.
- Stable low latency
KVS clusters automatically scale to ensure stable P99 latency of less than 10 ms for writes or reads at any scale, enabling efficient decision-making.
- Cost-effectiveness
The KVS serverless architecture eliminates the need to pre-provision resources. KVS offers pay-per-use billing, so platforms do not need to pay for idle resources.
Getting Started with KVS

- Create a store.
- Log in to the KVS console.
- In the navigation pane, choose Stores.
- In the upper right corner of the page, click Create Store.
- Configure store parameters as instructed. For details, see Store details.
- Configure table parameters as instructed. For details, see Table details.
- In the Secondary Index area, create secondary indexes. KVS allows you to create local and global secondary indexes. For details, see Parameters for creating local and global secondary indexes.
- Confirm the configuration and click OK.
- Create a table and indexes.
- Log in to the KVS console.
- In the navigation pane, choose Stores.
- In the store list, locate the store where you want to create a table and click Create Table in the Operation column. Alternatively, click the store name to go to the store details page and click Create Table under Table Details.
- Configure table parameters as instructed. For details, see Table details.
- In the Secondary Index area, create secondary indexes. KVS allows you to create local and global secondary indexes. For details, see Parameters for creating local and global secondary indexes.
- Confirm the configuration and click OK.
- Add a KV item.
- Log in to the KVS console.
- In the navigation pane, choose Stores.
- Click the name of the store and then the name of the table where you want to add a KV item.
- Click the KV Items tab.
- Click Add KV Item in the upper left corner.
- Specify the shard key and sort key.
- (Optional) You can add other fields by clicking Add.
- Confirm the configuration and click OK.
- Check whether the KV item you added is in the KV list.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot