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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Real-time Data Synchronization Support through WebSockets/Webhooks #588

Open
khari998 opened this issue Feb 6, 2024 · 0 comments
Open

Comments

@khari998
Copy link

khari998 commented Feb 6, 2024

Introduce real-time data synchronization capabilities in TypeDB, allowing clients to receive immediate updates when data changes. This could be achieved through WebSockets, providing a persistent full-duplex communication channel, or through Webhooks, allowing external services to react to database events.

Justification:

Real-time data synchronization is crucial for developing interactive, collaborative applications where immediate data consistency between clients is essential. This feature would enable developers to build more dynamic, responsive applications using TypeDB.

Potential Approaches:

WebSocket Integration: Allow clients to establish WebSocket connections with TypeDB and subscribe to changes on specific collections or queries.
Webhook Support: Implement the ability for TypeDB to send HTTP POST requests to user-specified endpoints in response to certain database events.

Looking forward to discussion and consideration of this feature. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant