Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Migrate map data transfer from AJAX to Channels #3

Open
dylanm312 opened this issue Jun 7, 2021 · 0 comments
Open

Migrate map data transfer from AJAX to Channels #3

dylanm312 opened this issue Jun 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@dylanm312
Copy link
Member

Is your feature request related to a problem? Please describe.
The map data is currently fetched by each client in the form of individual HTTP Get requests several times per second. This clutters up the network request log in the browser and also is not a very clean way of implementing constantly changing data.

Describe the solution you'd like
Sending the data via persistent websockets using Channels would be a cleaner way to get the map data from the server to the client. It would also allow for continuously updating maps, rather than maps that update every x milliseconds (based on the setInterval() parameters for the AJAX request.)

Describe alternatives you've considered
The alternative would be the current solution, which involves each client polling the server every x milliseconds for new map data.

@dylanm312 dylanm312 added the enhancement New feature or request label Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant