Questions tagged [deepstream.io]

Deepstream is a Node server that allows clients to sync data, whether they're browsers or mobile applications. It has a caching layer, and supports event-based messaging and RPC.

Deepstream is a Node server that allows clients to sync data, whether they're browsers or mobile applications. It has a caching layer, and supports event-based messaging and RPC.

83 questions
10
votes
1 answer

What is Deepstream.io

I've been reading about Deepstream & it seems like an awesome solution for real-time applications. I am confused however, in what Deepstream's actual role is. The documentation for the core features (data-sync, records, auth, permissions, events,…
Michael Ramos
  • 5,523
  • 8
  • 36
  • 51
3
votes
1 answer

Unable to connect to deepstream server from website over HTTPS

As the title mentions, I am unable to connect to deepstream server from a website which is served over HTTPS. I am able to connect it through local server though. Initially I was getting following error: deepstream.min.js:3 Mixed Content: The page…
khushalbokadey
  • 1,132
  • 1
  • 11
  • 25
3
votes
0 answers

deepstream.io List subscribe() not triggering

using deepstream.io: 3.1.1 and deepstream.io-client-js: 2.3.0 updates on List are not propagating when using list.addEntry('some-id'), instead to get notifications of changes I must use list.setEntries([..., 'some-id']) example: client 1: (after…
zra
  • 141
  • 1
  • 13
3
votes
1 answer

How do I use Bunyan with Deepstream.io?

According to their documentation (http://deepstream.io/docs/deepstream.html) it says I can change the default logger to my own: server.set( 'Logger', new FileLogger() ); (Btw, Logger should be logger. When using Logger it throws Error: Unknown…
jwanglof
  • 548
  • 1
  • 5
  • 20
3
votes
2 answers

HTTPS & WSS Setup for Deepstream?

Could you point me to a setup for Deepstream with SSL configured for Express and Deepstream? I'm primarily seeing the following error after attempting to configure for https and wss. Also, I am using a self-signed certificate. Mixed Content: The…
philmaker
  • 586
  • 1
  • 5
  • 8
2
votes
1 answer

How to set up project with docker and deepstream.io?

https://github.com/PhillippOhlandt/deepstream-turn-based-game-demo I cloned this repo and am trying to get it up and running but think I am missing a step. I run npm install inside the folder, and I have also installed docker on my mac. Then I run…
Taylor A. Leach
  • 2,115
  • 4
  • 25
  • 43
2
votes
1 answer

Is it possible to broadcast objects via Deepstream.io?

For an application i need to broadcast JavaScript objects to synchronizise an array of two (or more) devices, but im not sure if it's possible, and when yes how it is possible.
mysoundsf
  • 19
  • 1
2
votes
1 answer

How does one correctly set up a server based deepstream RPC provider?

I am building a SOA with deepstream and I want to use a deepstream client server to perform API-KEY based look ups that the user should not know. How do I actually set up an RPC client provider? I have looked in the deepstream docs and on google,…
illogikal
  • 158
  • 9
2
votes
1 answer

Multiple instances of deepstream.io server inside one node

Is it possible to run multiple instances of the deepstream.io server inside one node (computer)? Each instance will listen on different port, store in different storage, etc. Use case is when one instance is used for the production and other for the…
mvladic
  • 1,179
  • 2
  • 12
  • 15
2
votes
1 answer

Make deepstream server enhance data coming to RPC

I'm looking for a way to make my deepstream server enhance data sent to an RPC endpoint with authorized client data. I wonder if it is realistic. If yes how could I achieve it? I can see clearly I have authorized user data in canPerformAction call.…
2
votes
1 answer

Interacting with deepstream.io records server side

I've been doing some reading up on deepstream.io and so far I've discovered the following: All records are stored in the same table (deepstream_records by default) To interact with this data, the client can be used, both client side (browser) and…
demux
  • 4,544
  • 2
  • 32
  • 56
2
votes
1 answer

Does it make sense to call record.whenReady after record.set?

Is record.set synchronous or asynchronous? If I want to be sure that code I put after record.set is executed when document is completely updated should I wrap my code with record.whenReady(function() {...})? Consider the code looks like: var record…
2
votes
1 answer

A subscription on a record doesn't fire when a nested value is changed

When I change a nested value on a record that is subscribed on the subscription isn't fired. var recInfo = {}; recInfo.members = []; recInfo.members.push({id: 1}); recInfo.members.push({id: 2}); recInfo.members.push({id: 3}); Example: var record =…
jwanglof
  • 548
  • 1
  • 5
  • 20
2
votes
1 answer

How to Rewrite a Message to Include username

I would like the username that created a record to be associated with that record. This ought to happen on the server and not via the originating client connection. The only place I see on the server to access the username is in canPerformAction. Is…
philmaker
  • 586
  • 1
  • 5
  • 8
1
vote
1 answer

Who is using deepstream in production?

Are there companies using this technology in production? I would like to find some benchmarks and use cases. We are considering switching to deepstream with mongo from our current firebase setup. But I want to make sure it can handle and scale well…
Jono
  • 1,690
  • 2
  • 18
  • 29
1
2 3 4 5 6