Cache Management
Overview
Effective cache management is crucial for enhancing speed and efficiency. The storage and retrieval of data form the cornerstone of providing real-time and precise information.
Building your own Cache
Method | How to | Best for |
---|---|---|
Live Querying with Mapping API | Employ real-time querying to handle each response. Save the data to your cache and synchronize processes for efficient data management. | Ideal for applications requiring up-to-the-minute accuracy. Requires robust infrastructure to handle live data processing and caching effectively. |
Batch Processing with Mapping API | Utilize automatic processes to send multiple requests (up to 1500 rooms per request), caching the data for later use without live queries. | Efficient for bulk data handling, reducing the need for constant live updates. Useful for background processes and reducing load during off-peak times. |
Keeping the Data updated
Method | How to | Comments |
---|---|---|
Data Validation | Implement real-time data validation by simultaneously presenting room data while also sending a background request to the Mapping API for the latest data. Compare the newly fetched data against your cached data to identify and update any changes. | This method provides an additional layer of accuracy and reliability, ensuring access the most current data. |
Note:
For special requests, please reach out to your Account Manager.
Updated 17 days ago