I have a project where we deploy the "Vertex AI Vision SDK" into a container in Docker…
- User
I have a project where we deploy the "Vertex AI Vision SDK" into a container in Docker Desktop on the client computer on the edge and the sdk pushes the camera feed from the rtsp to Google Cloud's Vertex AI Vision and it goes through pre-trained human/vehicle model to find out count and that information is written into BigQuery in json format. This information will be queried and provided back to the customer in json response.
I would like to identify the roundtrip time from the start of the stream to the json response. However the timestamp on the camera is off. It's hard to evaluate the roundtrip time.
Provide me methodologies/ideas on how to accurately calculate the roundtrip time.
Assistant
Here are some methodologies and ideas to accurately calculate the roundtrip time in your project:
-
Use a timestamp server: You can deploy a timestamp server in your system to provide accurate timestamps for each event in the processing pipeline. The timestamp server can be used to mark the start and end time of each step in the process, including the camera feed, pre-processing, model inference, and writing to BigQuery. This will help you calculate the roundtrip time accurately.
-
Use a performance monitoring tool: You can use a performance monitoring tool like Datadog, Nagios, or Zabbix to monitor the performance of each component in the system. These tools can provide you with real-time performance metrics, such as CPU usage, memory usage, and network traffic, which can help you identify any bottlenecks in the system. By analyzing these metrics, you can optimize the performance of each component and reduce the roundtrip time.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.