3
3
33remido2021-06-23 23:14:14
Node.js
33remido, 2021-06-23 23:14:14

How to get requests from the database when it changes?

Hello. Let's say there is a common tudulist for everyone, and all users can add their tudulists there and these tudulists see everything.
There is a way to simply fetch, say, every second and thus update all the information about the carcasses.
But perhaps there is some way to simply monitor the change in the state of the database so as not to load the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2021-06-23
@33remido

websockets, sse.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question