I need to establish a real-time connection directly between the server and the client using my own channel. Is there a way to accomplish this? I’m asking because I need to send numerous chunks of data in real-time (note: without writing it to the database). How can I achieve this?
Summary
User is inquiring about whether Appwrite 1.5 will include a feature for creating a real-time connection between the server and the client without using the database. They are considering a custom solution and wonder if they should wait for the update or proceed with the custom solution. The response suggests opening a GitHub issue as a feature request and mentions the possibility of building something in a Function. Unfortunately, currently it is not possible to establish a real-time connection directly between the server and the client without going through the database.
D5
Nov 9, 2023, 08:43
You mean not going throught the databas, but sending the data directly to the user ?
Nour
Rank 2: Process
Nov 9, 2023, 10:05
Yes, exactly.
A real-time connection directly between the server and the client without going through the database.
D5
Nov 9, 2023, 10:10
Currently it's not possible unfortunately
Nour
Rank 2: Process
Nov 9, 2023, 10:26
Can I use a custom solution like WebSocket or something else?
ideclon
Nov 9, 2023, 10:28
You could probably build something in a Function.
Nour
Rank 2: Process
Nov 14, 2023, 11:52
Will Appwrite 1.5 include the feature of establishing a real-time connection directly between the server and the client, bypassing the database? Should I wait for this update or proceed with a custom solution?
Haimantika
Nov 14, 2023, 12:26
I think for now you should go ahead with the custom solution and open a GitHub issue adding this as a feature request