reference:system-architecture:address-editing-and-query-api
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| reference:system-architecture:address-editing-and-query-api [2025/08/26 21:42] – [NAS Address Editing and Query API Specification] runarbe | reference:system-architecture:address-editing-and-query-api [2025/08/27 06:33] (current) – runarbe | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Address Editing and Query API ====== | ====== Address Editing and Query API ====== | ||
| + | This API provides methods to interact with the core addressing data model such as creating, reading, updating and deleting address objects as well as querying them and keeping them in sync with application data and external copies/ | ||
| ===== 1. Integration with Third-Party GIS Platforms ===== | ===== 1. Integration with Third-Party GIS Platforms ===== | ||
| Line 23: | Line 24: | ||
| * Python >= 3.12: The latest iteration of the Python programming language. | * Python >= 3.12: The latest iteration of the Python programming language. | ||
| * Containerization using Docker: The leading technology for containerization of server applications | * Containerization using Docker: The leading technology for containerization of server applications | ||
| - | + | * Linux operating system: A robust and proven platform for hosting services. | |
| - | Linux operating system: A robust and proven platform for hosting services. | + | |
| This structure aims to enhance the National Addressing System' | This structure aims to enhance the National Addressing System' | ||
| - | ==== 3.1 RESTful API ==== | + | ==== 3.1 Performance Management, Rate Limiting, Caching, and Developer Enablement ==== |
| - | + | ||
| - | Types of actions in a REST API | + | |
| - | + | ||
| - | * HttpGet: This method is used to retrieve and query records from the database. | + | |
| - | * HttpPut: This function updates existing records. | + | |
| - | * HttpPost: Utilised for creating new entries in the database. | + | |
| - | * HttpDelete: This method deletes records currently stored. | + | |
| - | + | ||
| - | For each data type, a unique controller oversees these actions, ensuring a structured and coherent data handling process. The API is designed to be user-friendly, | + | |
| - | + | ||
| - | ==== 3.2 Performance Management, Rate Limiting, Caching, and Developer Enablement ==== | + | |
| To ensure reliable, scalable, and fair access to the NAS API ecosystem—particularly as integrations expand to include both public and private third-party systems—the platform should adopt additional operational controls and developer support mechanisms: | To ensure reliable, scalable, and fair access to the NAS API ecosystem—particularly as integrations expand to include both public and private third-party systems—the platform should adopt additional operational controls and developer support mechanisms: | ||
| - | ==== 3.3 Rate Limiting and Caching ==== | + | ==== 3.2 Rate Limiting and Caching ==== |
| The NAS API layer will benefit from the implementation of rate limiting to prevent abuse, ensure equitable resource allocation, and protect backend systems from overload during periods of high demand. Rate limiting policies will be clearly defined in API documentation and enforced per API client or token, with the flexibility to grant higher limits to critical government and infrastructure partners. | The NAS API layer will benefit from the implementation of rate limiting to prevent abuse, ensure equitable resource allocation, and protect backend systems from overload during periods of high demand. Rate limiting policies will be clearly defined in API documentation and enforced per API client or token, with the flexibility to grant higher limits to critical government and infrastructure partners. | ||
| Line 49: | Line 38: | ||
| Complementing rate limiting, API-level caching mechanisms (e.g., in-memory caches, reverse proxies, or CDN-based edge caching) will be deployed to accelerate the most frequently accessed data and reduce repeated queries to the primary database. Caching strategies will be tailored according to data volatility and use-case, balancing data freshness against system responsiveness. | Complementing rate limiting, API-level caching mechanisms (e.g., in-memory caches, reverse proxies, or CDN-based edge caching) will be deployed to accelerate the most frequently accessed data and reduce repeated queries to the primary database. Caching strategies will be tailored according to data volatility and use-case, balancing data freshness against system responsiveness. | ||
| - | ==== 3.4 Service Level Agreements (SLAs) for Integrations ==== | + | ==== 3.3 Service Level Agreements (SLAs) for Integrations ==== |
| For all external integrations, | For all external integrations, | ||
| - | ==== 3.5 Performance Benchmarks and Scalability Thresholds ==== | + | ==== 3.4 Performance Benchmarks and Scalability Thresholds ==== |
| To guide system sizing and support future growth, the NAS API and underlying infrastructure will be subject to regular performance benchmarking. Metrics such as average and 95th percentile response times, throughput under load, and maximum supported concurrent connections will be documented. Scalability thresholds (e.g., API requests per minute, data volume limits, user concurrency) will be specified and reviewed as usage patterns evolve. | To guide system sizing and support future growth, the NAS API and underlying infrastructure will be subject to regular performance benchmarking. Metrics such as average and 95th percentile response times, throughput under load, and maximum supported concurrent connections will be documented. Scalability thresholds (e.g., API requests per minute, data volume limits, user concurrency) will be specified and reviewed as usage patterns evolve. | ||
| - | ==== 3.6 Sandbox Environments for Integration Testing ==== | + | ==== 3.5 Sandbox Environments for Integration Testing ==== |
| To facilitate secure and efficient onboarding of new integrators, | To facilitate secure and efficient onboarding of new integrators, | ||
reference/system-architecture/address-editing-and-query-api.1756244563.txt.gz · Last modified: by runarbe
