NAM Apjatel Backendnya
Go to file
unknown 3d5ce0dc72 perf: skip geocoding on list endpoints, add in-memory cache
- GetAllDeviceDetails, GetDevicesWithoutConnections, GetDevicesWithoutTowers
  now pass nil geocoder to avoid Nominatim calls on list requests.
  This reduces GET /device-details response time from ~2 minutes to <1s.
- Added sync.Map cache to nominatimGeocoder so repeated calls for the
  same coordinates (e.g. GetDeviceDetailsByID) hit cache instead of
  Nominatim, preventing HTTP 429 rate limit errors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 12:19:52 +07:00
.gitea/workflows fixed 2025-02-25 09:41:15 +07:00
config adding condition for no auth and adding new cors statement 2025-06-18 15:07:28 +07:00
delivery Update delivery/controller/devices_controller.go 2025-10-17 09:09:02 +00:00
deploy change docker image to more lightweight 2025-04-03 19:59:10 +07:00
manager adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
middleware adding cors https 2025-10-17 09:52:52 +07:00
model adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
repository adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
test_data adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
uploads/towers adding trx operations and more complex features 2025-06-12 22:41:55 +07:00
usecase perf: skip geocoding on list endpoints, add in-memory cache 2026-04-11 12:19:52 +07:00
utils perf: skip geocoding on list endpoints, add in-memory cache 2026-04-11 12:19:52 +07:00
.dockerignore adding deployment 2025-02-17 16:18:31 +07:00
.gitignore adding gitignore 2025-07-15 09:10:24 +07:00
API_ROUTES_CABLE_CONNECTIONS.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
BULK_IMAGES_QUICK_REF.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
BULK_OPERATIONS_COMPLETE_SUMMARY.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
BULK_OPERATIONS_GUIDE.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
BULK_OPERATIONS_QUICK_REF.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
BULK_OPERATIONS_SUMMARY.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
BULK_OPERATIONS_WITH_IMAGES_SUMMARY.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
CABLE_CONNECTIONS.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
DEVICE_BULK_IMAGES_GUIDE.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
DEVICE_BULK_OPERATIONS.md adding bulking for images, devices, and add cable connections logics 2025-10-10 17:14:16 +07:00
Dockerfile dockerfile test 2025-02-26 14:13:25 +07:00
Jenkinsfile fix the dev yaml file 2025-03-10 09:25:01 +07:00
dev-nam adding cors for cors issue 2025-06-16 03:08:10 +00:00
go.mod Adding New Endpoint for register and user management 2025-06-19 13:10:45 +07:00
go.sum Adding New Endpoint for register and user management 2025-06-19 13:10:45 +07:00
ini.txt add test file 2025-02-19 15:54:17 +00:00
main.go project init 2025-02-13 13:46:06 +07:00