Skip to content

Add realtime capabilities  #265

Closed
Closed

Description

@FOUADFAISAL

Dear ,
is this product support real time database and backend as a service ?
and is service provides application developers an API that allows application data to be synchronised across clients and stored on appwrite's cloud ?
and when you think it will release android version ?
thank you to reply me.

Activity

  1. eldadfux commented on Dec 12, 2019

    @eldadfux
    Member

    You can use Appwrite database to sync data between clients on different devices. You can learn more here: https://appwrite.io/docs/database. Appwrite currently only offers support for self-hosted setups, we get a lot of requests for a hosted cloud service, and it's something we are definitely aiming for.

    Real time support is not something we have built-in yet. We are planing to add this feature in the future, but for now you can use any custom websocket server and integrate it with the Appwrite API or webhooks events to get this functionality working and customized exactly for your needs. I'll be happy to help on this if it something you think you'll want to try.

    We have ongoing work on both Java and Kotlin SDKs. You can follow the progress on this issues:

    appwrite/sdk-generator#24
    appwrite/sdk-generator#5

    In the meantime you could integrate directly to Appwrite HTTP API with any native HTTP client.

  2. changed the title [-]realtime database and backend as a service[/-] [+]Add realtime capabilities [/+] on Sep 10, 2020
  3. added
    backlog
    on Sep 10, 2020
  4. eldadfux commented on Sep 28, 2020

    @eldadfux
    Member

    I created a simple flowchart to describe how the realtime server will work with other Appwrite components: https://github.com/appwrite/appwrite/blob/feat-265-realtime-server/docs/specs/realtime.drawio.svg

    The spec is aimed to allow the setup to have a cluster of realtime server behind Appwrite loadbalancer.

    Any feedback will be great.

  5. eldadfux commented on Oct 17, 2020

    @eldadfux
    Member

    I have created a new branch with a POC websocket sever using our already in-place Swoole extension that supports both Websockets and MQTT protocols out of the box. You can see the small POC code here: 0.7.x...feat-265-realtime-support

    As we can't add any custom headers to the native Websocket client on browsers, and 3rd party cookies don't seem to pass with requests, we might be required to add JWT support for connection authorization. (#511)

    Feedback is welcomed.

  6. designlook commented on May 27, 2021

    @designlook

    Would love to get realtime support in Appwrite. I tried resgate but seems hard to have it running along with Appwrite. Using docker versions of both. Port conflicts and seems hard to get it working together with Nginx.

  7. eldadfux commented on Sep 3, 2021

    @eldadfux
    Member

    Appwrite Realtime API is now available as part of Appwrite 0.10!! 🥳🥳🥳

    Check the official release announcement:
    https://dev.to/appwrite/it-s-here-announcing-appwrite-0-10-and-the-new-appwrite-realtime-api-lbm

    And the complete documentation:
    https://appwrite.io/docs/realtime

    Thank for everyone who helped making this possible! You're all awesome!

  8. unclerunning commented on Sep 21, 2021

    @unclerunning

    It will be awesome if live query is supported.

  9. tripolskypetr commented on Jul 7, 2024

    @tripolskypetr

    Looks like realtime for Appwrite sdk-for-node is not supported yet and looks like won't ever be supported due to the sdk-generator limitations. This is awfull when coding SSR platform which broadcast only incremental HTML patches to the client

    I wrote the appwrite-webhook-restreamer which solves that problem by allowing server code and appwrite functions listen for events without relaunch. It solved my problems, so will solve yours too

  10. added a commit that references this issue on Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions