Questions tagged [ddp]

Meteor communication protocol

DDP is a protocol between a client and a server that supports two operations:

  • Remote procedure calls by the client to the server.
  • The client subscribing to a set of documents, and the server keeping the client informed about the contents of those documents as they change over time.
200 questions
3
votes
4 answers

DDP.connect and Meteor.users

I am in the process to try to separate out the mobile from the desktop part of my application and thought I try DDP.connect as a means for the mobile application to share data with the desktop application. My first hurdle is concerning Meteor…
Jamgold
  • 1,716
  • 1
  • 14
  • 18
3
votes
1 answer

Establish DDP connection over SSL to Meteor app

When a Meteor client uses DDP.connect() to connect to a DDP server, it's sent in plaintext. How can we establish SSL encrypted DDP connections?
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
3
votes
1 answer

Meteor DDP server to client specification: strange characters in the beginning

I'm discovering Meteor DDP protocol right now, there is not much documentation about it. What I've found out is that Meteor server sends one character in front of every block of messages (which are sent like strings somewhy, do you know why?), like…
yeputons
  • 8,478
  • 34
  • 67
2
votes
1 answer

What is the simplest way to train pytroch-lightning model over a bunch of servers with Dask?

I have access to a couple dozens Dask servers without GPU but with complete control of the software (can wipe them and install something different) and want to accelerate pytorch-lightning model training. What could be a possible solution to…
2
votes
0 answers

Meteor EJSON support constructors

I would like to send constructors via EJSON through methods: server.js Meteor.methods({ 'testConstructor' (doc) { console.log(doc) // {} } }) client.js Meteor.call({ type: String }) I thought of adding the types via EJSON.addType but it…
Jankapunkt
  • 8,128
  • 4
  • 30
  • 59
2
votes
1 answer

Meteor DDP Publication/Subscription

I have managed to get 2 apps connect via DDP, but I am a little unsure on how to publish data from the origin server. Here is what I am trying on the client: Template.Dashboard.onCreated(function() { Meteor.remoteConnection =…
JoethaCoder
  • 494
  • 1
  • 6
  • 17
2
votes
2 answers

Using DDP in Angular 4 Application

I am Angular 4 developer. Want to include RocketChat Engine developed in MeteorJS. By research I got to know that it will need DDP(Protocol) to connect Angular4 with Meteor. I am unable to find any DDP package which allows me to integrate with…
2
votes
1 answer

See real time changes in data using python meteor

I am using Python to retrieve data from Mongo database to analyze it. So I am changing data using meteor app and client python to retrieve it in a real time. This is my code: from MeteorClient import MeteorClient def call_back_meth(): …
2
votes
1 answer

How to use pollingThrottle and pollingInterval?

So I have some things in my application that I don't need an immediate reactivity and found out about properties pollingThrottleMs and pollingIntervalMs in the documentation. So here is basically all the information about those properties I managed…
nesvarbu
  • 986
  • 2
  • 9
  • 24
2
votes
1 answer

Reactive usage of "inProgress-team/react-native-meteor" in Meteor 1.3

I have a project in react-native (0.23) with Meteor 1.3 as back-end and want to display a list of contact items. When the user clicks a contact item, I would like to display a checkmark in front of the item. For the connection to Meteor DDP I use…
Patrick Riemer
  • 187
  • 1
  • 12
2
votes
0 answers

Error Connecting Node-Ubuntu Droplet to Meteor Galaxy Server Over DDP

I am trying to connect a node server hosted on a Digital Ocean-Ubuntu machine to my Meteor server hosted on Galaxy over DDP. This node server handles some of the CPU heavy server tasks, but the jobs that it does the work for are created on my Meteor…
mayvn
  • 191
  • 1
  • 9
2
votes
0 answers

What is the order in which DDP cursor changes are observed in meteor

Is there any guarantee that the order in which the server applies changes to the MongoDB collection are replicated at the server? I.e. will the change events (either intra-query in the case of a find-and-modify or globally between queries) be sent…
lol
  • 3,910
  • 2
  • 37
  • 40
2
votes
1 answer

Which NodeJS frameworks are suitable to build a complete backend for a Nativescript app (JS-based)?

I am now building a native mobile application in Nativescript, leveraging my JS knowledge. So, I though to switch to some other Nodejs framework. My app's backend requirements will be: pure JS complete backend logic (i.e. controller) connect to a…
dragonmnl
  • 14,578
  • 33
  • 84
  • 129
2
votes
0 answers

Django DDP Deployment

Does anyone know here know how to deploy a django-ddp locally, as well as, a great example and tutorial. It's a very great technology and combination of two framework(backend and frontend).
Dean Christian Armada
  • 6,724
  • 9
  • 67
  • 116
2
votes
1 answer

Meteor.loginWithToken() on Server

On the server I have the following code: var userId = Accounts.createUser({"email": email}); var stampedLoginToken = Accounts._generateStampedLoginToken(); Accounts._insertLoginToken(userId, stampedLoginToken); Calling…
alwc
  • 182
  • 4
  • 14
1 2
3
13 14