Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: updating data via websocket #6321

Open
2 tasks done
soldat1989 opened this issue Sep 24, 2023 · 2 comments
Open
2 tasks done

馃殌 Feature: updating data via websocket #6321

soldat1989 opened this issue Sep 24, 2023 · 2 comments
Assignees
Labels
api / realtime Fixes and upgrades for the Appwrite Realtime API. product / databases Fixes and upgrades for the Appwrite Database.

Comments

@soldat1989
Copy link

馃敄 Feature description

Hi all, dear developers, please consider the possibility of updating data in a single document via websocket, because when working with microprocessors (arduino, esp32) you need two-way communication.

馃帳 Pitch

when subscribing to events in documents in certain cases (iot) it is important not only to receive but also to send data (for example, sensor readings), the server appwrite at the moment meets the needs, but it all happens through http requests, so the data is transmitted every second, which I think is not quite appropriate, the function I propose is perfectly realized in the server blynk, when you start the application activates the heartbeat function and starts a socket channel with the device, sorry for my English

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@soldat1989 soldat1989 changed the title 馃殌 Feature: 馃殌 Feature: updating data via websocket Sep 24, 2023
@stnguyen90 stnguyen90 added the product / databases Fixes and upgrades for the Appwrite Database. label Sep 26, 2023
@stnguyen90
Copy link
Contributor

@soldat1989, thanks for raising this issue! 馃檹馃徏 You mentioned something about a heartbeat. Can you expand on your use case and what you're trying to do?

@stnguyen90 stnguyen90 self-assigned this Sep 26, 2023
@stnguyen90 stnguyen90 added the api / realtime Fixes and upgrades for the Appwrite Realtime API. label Sep 26, 2023
@soldat1989
Copy link
Author

@soldat1989, thanks for raising this issue! 馃檹馃徏 You mentioned something about a heartbeat. Can you expand on your use case and what you're trying to do?

I apologize for the confusion, the function heartbeat I gave as an example, it is implemented through sockets, in fact it is ping, but it requires two-way communication, heartbeat is not related to appwrite but is implemented by developers in their projects, the main idea of this issue is to implement two-way communication with appwrite through a socket, I apologize for my English.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api / realtime Fixes and upgrades for the Appwrite Realtime API. product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

2 participants