Primus, the creator god of transformers but now also known as universal wrapper for real-time frameworks. There are a lot of real-time frameworks available for Node.js and they all have different opinions on how real-time should be done. Primus provides a common low level interface to communicate in real-time using various real-time frameworks.If you deploy your application behind a reverse proxy (Nginx, HAProxy, etc.) you might need to add WebSocket specific settings to its configuration files. If you intend to use WebSockets, please ensure that these settings have been added. There are some example configuration files available in the observing/balancerbattle repository.
real-time websocket framework sockjs browserchannel polling http nodejs node abstraction engine.io comet streaming pubsub pub sub ajax xhr faye io primus prumus realtime socket socket.io sockets spark transformer transformers websockets ws uwsShare a user session between Express and Primus.This is the branch for Express 4.x and Primus 2.2.x.
primus websocket session expressThe ejson module is port of Meteor's EJSON parser which has been made compatible for Node.js and browsers. This way, other real-time libraries can also make use of these extensions.See the meteor EJSON documentation for more detailed information.
ejson extended extensible json meteor primusDespite his great power, size, and rank, Fortress Maximus is a weary and reluctant warrior. Fighting is against his pacifist nature and now spends his time validating.Whether I am a hero or a coward is not the issue! I am weary! My joints creak from the corrosion of war without end! I... cannot break this ring of hate that surrounds us all -- but I can remove myself from it. No matter what you decide... I am leaving and joining Primus to innovate real-time.
primus validate event emitter fortress maximus securityMetroplex is capable of transforming into a battle station, giant robot or a distributed connect client directory for Primus.
primus distributed scale real-time metroplexKnown for his great strength and greater courage, Omega Supreme is the Autobots’ last line of defense against the Decepticons. He will stand unwaveringly against overwhelming odds, and although outwardly grim, he is known by those with enough insight to actually relish the importance of his task – Omega knows that if he falls, it is unlikely there will be any remaining Autobots to take his place, but he would not have it any other way.In Primus mode, Omega Supreme has an incredible configurability, is able to broadcast a message with a single request and can distribute messages to single sparks. In place of his left hand, he is armed with authentication which can pulverize any attacker.
primus omega supreme autobots scaling httpPrimacron is an ancient scientist who's responsible for building Unicron, the evil twin of Primus.Primacron is a high level and highly opinionated interface for Primus which provides multi-server logic through redis and plain HTTP. It introduces the concept of forced validation for every single message it receives. This gives you the guarantee that you can "safely" processes these messages once they are emitted.
primacron real-time primus scalingThe primus-emit module adds client->server and server->client event emitting to Primus.The --save flags tells npm to automatically add the package and it's installed version as dependency.
emitter eventemitter primus emit events eventSubStream is a simple stream multiplexer for Primus. It allows you to create simple message channels which only receive the information you send to it. These channels are in fact, streams, which is why this module is called SubStreams because it adds small streams on top of the main stream and intercepts them.The module can only be used in conjunction with Primus so make sure that your application is using that as its real-time backend.
primus multiplex channel namespacePrimus provider for Angular. This plugin works with other Primus plugins like primus-emitter and primus-resource.
primus angular providerClient and server plugin that adds a request/response cycle to Primus. Sends data to the given spark. As soon as the response from the spark arrives, fn is called with the sparks response as first and only argument.
websocket request response primusDefine resources with auto-binded methods that can be called remotely on top of Primus. This plugin depends on primus-multiplex and primus-emitter however if you disable multiplexing then you can omit installing primus-multiplex. Method on an object prototype in the form of on + method, like onupdate will be automatically binded as an event on all incoming sparks, then the event can be called remotely by the client by just invoking the method name without the on like update.
ws rpc resource remote channels realtime websocket engine.io socket.io plugin sockjs browserchannel primusIn-memory default adapter for primus-rooms. Use this adapter as an abstract class for creating your own custom 'primus-rooms' adapter.
primus primus-rooms rooms store memory engine broadcast in-memoryPrimus.IO combines the core Primus with primus-rooms, primus-emitter and primus-multiplex plugins to provide an easy and still powerfull way of developing real time applications. For more details on options or additional methods please check each individual module README file and test cases.
connection ws rooms channels realtime real-time websocket engine.io socket.io plugin sockjs browserchannel primus primus.ioPrimus is a socket wrapper implementation that requires a built client library. The client library also needs to match the configuration of the server side implementation. Primus handles this by exposing primus.library() which returns the client library as a string. This is problematic in applications that bundle and dynamically generate client assets. It is also problematic because unless you want to serve the client script directly from your websocket server (not a great approach IMO) you need to prebuild and package the client script anyway.
webpack primus webpack-plugin socketsschema: A GraphQLSchema instance from [graphql-js][]. A schema must be provided. context: Optional. A value to pass as the context to the graphql() function from [graphql-js][]. If a function is used it will be invoke w/ spark, and must return the context.
primus graphql server client query relay socket websocket subscriptions
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.