Questions tagged [ably-realtime]

Ably is a scalable realtime pub/sub platform enabling communication between any internet enabled device across many open protocols and some proprietary protocols. Clients connect using HTTP, WebSockets, MQTT, AMQP, STOMP to name a few.

Ably is a realtime data delivery platform providing developers everything they need to create, deliver and manage complex realtime functionality. Ably solves the hardest parts of scaling and reliability so they don’t have to.

Ably is the only globally distributed pub/sub platform to provide websocket support and open protocol support, with low latencies (mean 65ms), guaranteed ordering, and continuity of service over unreliable networks.

Useful links:

Ably provides client libraries for the following platforms:

50 questions
75
votes
1 answer

Pusher vs Pubnub vs open source Socket.io / SignalR.net / Faye / jWebSocket

I'm evaluating Pusher and PubNub at the moment to enable bi-directional realtime communications between my primarily web clients and my servers. Both look impressive, with Pusher's docs seeming to be better, and PubNub's scalability and reliability…
Matthew O'Riordan
  • 7,981
  • 4
  • 45
  • 59
6
votes
2 answers

Advice on pubsub topic division based on geohashes for ably websocket connection service

My question concerns the following use case: Use case actors User A: The user who sets a broadcast region and views stream with live posts. User B: The first user who sends a broadcast message from within the broadcast region set by user A.…
html_programmer
  • 18,126
  • 18
  • 85
  • 158
3
votes
1 answer

Ably One-to-One Messaging

So I was trying to implement one-to-one messaging in NextJS with Ably but I couldn't get it done. I'm stuck between making channels for interactions (e.g. private:-) and channels for users (e.g. private:). In the second…
anomOG
  • 33
  • 4
2
votes
1 answer

Syncing chat app message history with local cache

Consider a mobile chat app with MongoDB for chat message storage and https://ably.com/ as the pub sub broker. When a new user joins a chat room, or an existing user re-install their app, old messages should be loaded. I am considering two…
2
votes
3 answers

How to revoke a token in ably.io?

I want to have custom permissions for different channels for security purposes. In the documentation and examples, shortlived tokens are used. I don't want to spam the auth server every minute and don't want attackers being able to spam until their…
Arp Lee
  • 21
  • 4
2
votes
1 answer

Vercel ably setup

I am new to vercel and I am trying to deploy an application which consist of chat feature. I am using ably.com as pub/sub chat feature. I am trying to use ably realtime for both publishing and subscribing the event but somehow the publish event in…
Ratnesh Soni
  • 85
  • 1
  • 4
2
votes
1 answer

How to set up an e-commerce messaging solution using ably.io

I have an e-commerce website and I want to implement a messaging solution between my clients, using ably.io. I am new to ably.io and also to pub/sub message pattern and need some advice to put me on the right track. Let’s say I have 75,000 users on…
Hooman Bahreini
  • 14,480
  • 11
  • 70
  • 137
1
vote
1 answer

Issue with authorization with Ably when trying to run Pinecone Demo chat app

I have been trying to get the Pinecone Demo chat app in their own website up and running.Link to it. I have put all the keys properly in the .env file and the UI seems to pop up correctly. However, it shows the error: [TypeError: Cannot read…
1
vote
1 answer

How to fix this "Unable to publish push notification; err = Published push notification to not push-enabled channel" with ably

I'm trying to use push notifications with ably in a flutter app but I'm getting this error please help me solve it
1
vote
0 answers

Laravel Echo automatically disconnects first connected user

I'm building a real-time chat using Laravel, Ably (Pusher) and Vue 3 and a presence channel. Everything works great, but for some reason the first connected client gets disconnected automatically after ~10 seconds (the leaving event occurs for that…
1
vote
1 answer

Trouble getting paho-mqtt (Python 3.9) to connect to Ably

First attempt to get paho-mqtt working with Ably. I'm sort of translating the following NodeJS example (which works for me) to Python. In the Python version, I don't seem to get any CONNACK back from the server. NodeJS Example // Using…
1
vote
1 answer

Best Way To Globally Instantiate Ably Connection in React Native

I am building a React Native game with multiple screens. I am trying to instantiate Ably one time and use it throughout the application without having to call new Ably('api-key') on every screen, as this is creating multiple new connections and…
Wasik
  • 35
  • 1
  • 5
1
vote
1 answer

Communication from ably to MQTT

I wanted to know if there is an example to do it the other way round, that is from Ably to MQTT. I need this for my IoT application where I am trying to send an instruction to change the sensor value from the webpage -> ably-> MQTT broker-> my…
Dave
  • 11
  • 2
1
vote
2 answers

Apache Kafka topic per application

I'm trying to build a PaaS like Ably where I provide users with a easy to use pub/sub system. The thing is that I'm planning to use Kafka but I don't know if it's the right fit for this. Each user can have any number of apps in the PaaS and each app…
1
vote
1 answer

Ably Subscribe and detecting jwplayer play status

Last time that I asked question here I acted like a prime noob and I hope this time I am a bit more on track and clear on my problem. So my issue: I have this player built in a PHP file and I call it via iframe to other pages for playing a video…
Frozenfar
  • 23
  • 7
1
2 3 4