Back

[Solved] Realtime send data

  • 0
  • Self Hosted
  • Realtime
fafa
25 Nov, 2023, 18:15

Heyo,

Is it possible to send data using realtime? Or only fetch?

TL;DR
The user wants to know if it's possible to send data using real-time. It is clarified that real-time only supports fetching data, not sending it. The user also asks about random disconnections and it is suggested that it could be due to a Cloudflare proxy. The user considers using PATCH requests for continuous updates but is warned about potential rate limits. No solution is provided for the issue of random disconnections.
D5
25 Nov, 2023, 18:17

First I recommend avoiding cross post 😅

fafa
25 Nov, 2023, 18:18

Crosspost?

D5
25 Nov, 2023, 18:18

Respect the question, if you're listening for DB changes, you get the new DB items

fafa
25 Nov, 2023, 18:18

I posted it in general as a question if it's possible in general, but since little to nobody actually talk about realtime, I made a ticket. It's not a crosspost.

fafa
25 Nov, 2023, 18:19

That's not the question

D5
25 Nov, 2023, 18:19

You mean sending a message from an user to other, for example?

fafa
25 Nov, 2023, 18:19

Sending data via the websocket

fafa
25 Nov, 2023, 18:19

instead of making a post/patch

D5
25 Nov, 2023, 18:20

As said, when you're listening for example, to DB changes, you get the new changes through the websocket connection

fafa
25 Nov, 2023, 18:20

You are talking about fetching data, not sending data, right?

D5
25 Nov, 2023, 18:20

Yes

fafa
25 Nov, 2023, 18:20

I get the fetching, but I want to send data

D5
25 Nov, 2023, 18:20

Sending is not possible

fafa
25 Nov, 2023, 18:20

that's what i wanted to know, thanks

Drake
25 Nov, 2023, 18:21

It would be good to delete the post in general so that multiple people don't answer in multiple places

fafa
25 Nov, 2023, 18:21

Then another question, is it normal that it disconnects here and then randomly?

Drake
25 Nov, 2023, 18:22

Are you self hosting?

fafa
25 Nov, 2023, 18:22

Yeah

Drake
25 Nov, 2023, 18:22

Do you have anything in front of Appwrite?

fafa
25 Nov, 2023, 18:22

Nope

fafa
25 Nov, 2023, 18:22

It works fine btw, it just reconnects, but it's weird

fafa
25 Nov, 2023, 18:22

postman does the same

Drake
25 Nov, 2023, 18:22

No reverse proxy? No cloudflare proxy?

fafa
25 Nov, 2023, 18:23

Reverse proxy no, I have a dedicated server just for appwrite, CF yes however

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more