Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server2server #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Server2server #12

wants to merge 4 commits into from

Conversation

neurobe
Copy link

@neurobe neurobe commented Sep 21, 2016

Adds server-server topology
by adding a second global 'SvrStreamer',
allowing normally client-side code to run in server.

Note that Tracker.nonreactive is continued to be used (and works ok), however it is documented for client-side use only.

RocketChat:meteor-streamer client - server code unchanged.

@rodrigok
Copy link
Member

@neurobe Can you explain exactly what are you trying to do?

@neurobe
Copy link
Author

neurobe commented Oct 26, 2016

this PR allows one meteor server to act as a client to another meteor server. This allows for
server <> client
server <> remote client ( a previous PR)
server <> remote server (this PR)
And yes it works OK.
Why?
There are many applications where there is a front end meteor application and a back-end meteor application.

In my particular use case I have a meteor server interfacing to a USB port to talk to a instrument. The local server then sends the data to a network server. This runs just fine at 1000 samples per second!

@neurobe
Copy link
Author

neurobe commented Oct 26, 2016

BTW,
I use your very nice streamer 'allow' implementation to allow a network side client to select between multiple instruments. Excellent! Thank you. 'allowRead' is efficient and can handle the 1000 smples per second required.

@CLAassistant
Copy link

CLAassistant commented Jul 2, 2019

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants