Skip to content

Datasync server performance #131

Answered by adrianhall
tele-bird asked this question in Q&A
Discussion options

You must be logged in to vote

Short version: DCT is not suitable for your use case. Use a real-time database like Couchbase, Microsoft Fabric, or GraphQL with Subscriptions (HotChocolate, for example) instead.

Long polling is a bad idea. If you are dealing with every 10 seconds, that's way too short a time and you want to convert your app into a "real-time" functionality. At it's core that means that you have to establish a "change feed processor" for your database that feeds relevant changes to some sort of WebSocket or SignalR environment that your clients can watch. It's entirely event driven. There are multiple ways to do this - GraphQL with subscriptions (HotChocolate), CouchBase, Microsoft Fabric, among others. …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tele-bird
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #130 on October 11, 2024 18:43.