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
0
votes
1 answer

RPC class without authentication

I'm trying to make a RPC call to a deepstream server, which require authentication, here is the config: #Authentication auth: type: http options: endpointUrl: http://localhost:3000/auth-user permittedStatusCodes: [ 200 ] …
0
votes
1 answer

Nodejs: expected expression, got '<'

I'm currently using deepstream with nodejs. Right now, I'm following the tutorial here to get use to the new library: deepstream tutorial However, I'm getting an error once I finish the RenderDOM part of the file. Here's the current code:
Cdore
  • 107
  • 1
  • 11
0
votes
1 answer

deepstream is it possible to publish from my server, without opening a client connection in a browser

I am somewhat confused in deepstream, is it possible to communicate to a client from my server? For example, is there any way to do something like this on a server? I am currently opening a client connection in browser that publishes to other…
shell
  • 1,867
  • 4
  • 23
  • 39
0
votes
1 answer

Connection closed before receiving a handshake response with deepstream + express

I wanted to test deepstream with express. Found this template https://github.com/deepstreamIO/ds-tutorial-express But when I run it I get the error message: Connection closed before receiving a handshake response Why isn't this example…
Jedi Schmedi
  • 746
  • 10
  • 36
0
votes
1 answer

How to tell which provider to choose

All: I am pretty new to Deepstream, when I try its example of request-response https://deepstream.io/: // remote procedure call for "times-three" with 7 client.rpc.make( "times-three", 7, function( err, result ){ // And get 21 back console.log(…
Kuan
  • 11,149
  • 23
  • 93
  • 201
0
votes
1 answer

Does deepstream clients unsubscribe when disconnecting?

From the docs: The listen-callback is called with isSubscribed = true once a matching event is subscribed to for the first time and with isSubscribed = false once the last subscriber for a matching event unsubscribes. If a browser client…
arunkjn
  • 5,631
  • 5
  • 21
  • 31
0
votes
1 answer

database Vs cache management in deepstream

I was wondering about how deepstream decides to store an info in cache vs database if both of them are configured. Can this be decided by the clients? Also, when using redis will it provide both cache and database functionality? I would be using…
arunkjn
  • 5,631
  • 5
  • 21
  • 31
0
votes
2 answers

Deepstream don't fetch data from RethinkDB table

Can't fetch data from table I've just created in rethinkDB. I've create a new table in retinkDB - items. And fill it with data: r.db('test').table('items').insert([ {name: 'qqq'}, {name: 'www'}, {name: 'eee'} ]) BUT .getList() never…
S Panfilov
  • 16,641
  • 17
  • 74
  • 96
0
votes
1 answer

deepstream.io docker run error on OSX

I've tried running the official docker container on OSX10.11. When I download and run on Kitematic, it gives me an error: Error: No config file found. I've run the standard ubuntu container and it has worked correctly. Any help would be appreciated.
clery00
  • 251
  • 2
  • 14
0
votes
1 answer

Polymer, Deepstream.IO and RabbitMQ

we'd like to set up a notification engine that uses AMQP. To achieve this, we're using RabbitMQ. That's fine, the server is installed and configured. Now, we'd like to access the RabbitMQ message queues from a browser, so we need to have a wrapper…
0
votes
1 answer

Trying to install deepstream.io on heroku

I've spent the past hour banging my head against a wall trying to get a deepstream.io server up and running on heroku with no success. I've tried using the following: https://github.com/deepstreamIO/ds-demo-heroku I've cloned that repo exactly with…
abagshaw
  • 6,162
  • 4
  • 38
  • 76
0
votes
1 answer

Can ds.record.getRecord('...') be read only?

I can see that getRecord call has CREATEORREAD action. Is it possible to make it read only? I need it to properly limit client permissions. Thank you in advance!
0
votes
1 answer

Delete record field via deepstream Record

I'm looking for a way to clean document nested field, for example, consider I have a JSON object: { fieldToClean: { fieldA: '..', fieldB: '..', fieldC: '..' } } I know that I don't need fieldB anymore. I found one solution that…
0
votes
1 answer

Recommended use of records in deepstream.io

I have been using records recently and I was unsure of the practical limitations in terms of the overall size of the json structure. Is there any recommended max-length, e.g. could you store a whole chat history as an (anonymous) record, with maybe…
stefanmuke
  • 399
  • 6
  • 20
0
votes
1 answer

Restrict access to RPC endpoints

I wonder if deepstream provides ready-to-use solution to make endpoints private/public. If it doesn't I wonder how I can track proper deepstream calls on server side to allow only certain endpoints? I believe I need to provider permissionHandler…