Comments (5)
The problem is calling pretty expensive APIs when they don't need to be called. There are 2 API calls for each field. Most of the time people only need to change one of the fields. It doesn't make sense to call all of them preemptively.
Combining everything into one call doesn't solve any problem. The bottleneck is database requests, not number of API calls.
from traccar-web.
This is expected to avoid making large number of API calls too early.
from traccar-web.
IMHO this is very confusing for the user, since he never knows which fields have values and which do not.
Maybe make delayed calls?
from traccar-web.
How would delayed calls solve the problem?
from traccar-web.
I'm not sure, but I also don't think I understand the problem. Other applications can handle this, this is the only app, that does not show which options are selected by the user.
I though that with this:
large number of API calls too early
you mean the API should not be jammed with a lot of calls early. If you delay them, they are not called early
Maybe a new API endpoint, which returns all the data within one call could solve this.
Then there would be only one call instead of many.
But I'm not expert on this topic, just a confused user.
from traccar-web.
Related Issues (20)
- Feature request: Export track with replaying HOT 5
- about add device share commit 4a7ab9a9b45a43b285e5d649d8f25e821f376ac3
- groups selecction feature in Stops Reports HOT 1
- Add MapBox Dark to useMapStyle HOT 2
- Modern web UI - Live Route Length HOT 1
- Big File Not Download From /opt/traccar/modern From V5.8 HOT 1
- Multiple notifications - v5.11 HOT 1
- UpdateController file with .tsx extension
- Autoscroll function in logs report
- Select is sometimes not showing currently selected values until you click on it HOT 1
- Feature Request | Show Speed when Replaying HOT 2
- Devices count in users view HOT 3
- Yandex browser problem HOT 4
- Translation error HOT 1
- Automatic Selection In Device List When Vehicle Icon is selected on the map.
- Limit number of markers on the map HOT 7
- [Feature request] Reports duration show in hours and minutes HOT 3
- Does Traccar support the new Coban 405a with a temperature sensor? HOT 1
- Free form notes, per device, for read only users. HOT 2
- Showing other device positions when displaying report(s) on a map HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traccar-web.