Questions tagged [crossbar]

Crossbar.io unified application router

Crossbar.io unified application router

Crossbar.io is an open-source middleware software built on the WAMP application routing protocol that allows developers to create distributed systems, composed of application components which are loosely coupled, communicate in (soft) real-time and can be implemented in different languages.

140 questions
1
vote
1 answer

Jmeter wamp-protocol integration

Here is the story: we have several servers connected to wamp (crossbar.io) I am creating load tests for part of this system and need a way to get info from wamp server to Jmeter. So far I found only WS plugin for Jmeter, but it wont work with…
Andrey
  • 11
  • 1
1
vote
1 answer

How do I know who sent a WAMP message?

Is there any way to get metadata about who (authid) published a given message or called an RPC? After I have users authenticate and authorize them for a given role (e.g. allowing them to publish to mychat) how can I prevent clients from spoofing…
Nick T
  • 25,754
  • 12
  • 83
  • 121
1
vote
1 answer

Node js Websocket router

I am building a chat application for my company, and have decided to use node js with websocket (ws). In my application there are multiple department and users for each department, and when a browser (person asking question) selects a particular…
1
vote
1 answer

Crossbar.io/Autobahn server side session storage

I'm trying to set up a WAMP server that can handle session data of individual clients. However this seems more troublesome than initially thought. Crossbar config: { "workers": [ { "type": "router", "realms": [ { …
siebz0r
  • 18,867
  • 14
  • 64
  • 107
1
vote
1 answer

Caller identification in Autobahn | Python

I am trying to find out how to disclose the caller in Autobahn|Python as described here: http://crossbar.io/docs/Caller-Identification/ I found the following in the docs: class autobahn.wamp.message.Call(request, procedure, args=None, kwargs=None,…
Casper Alant
  • 452
  • 5
  • 15
1
vote
1 answer

Crossbar.io External Worker Configuration

I have been using crossbar for awhile and I love it. I have a question about the best way to run workers that will connect to an external router. I was using "crossbar start" and creating a config file that connected to the router and this worked…
echappy
  • 533
  • 5
  • 13
1
vote
1 answer

Crossbar.io configure WSGI for Django app

I am experimenting with Crossbar.io 0.10.4 and Django 1.6.11, trying to follow the example here. The code shows you can configure Crossbar.io to serve up the Django app at "/" -- but when I try that in my configuration, I get a Python import…
user
  • 4,651
  • 5
  • 32
  • 60
1
vote
1 answer

Publishing to crossbar.io from python daemon

I would like to use crossbar.io to display real-time stats on the web about a long-running python daemon. The displaying part works fine using AutobahnJS, but I struggle with the part that posts stats to crossbar.io. All the example code I read runs…
Simon
  • 12,018
  • 4
  • 34
  • 39
1
vote
1 answer

Crossbar.io - Preventing spam/flooding in a chat application

In a Crossbar.io application, what's to stop a publisher from doing something like: setInterval(function() { session.publish(topicUri, [randomStr]); }, 10); My understanding is there is no way to identify a publisher that doesn't disclose itself.…
indyo
  • 101
  • 1
  • 3
1
vote
1 answer

WAMP router/crossbar.io behind NGiNX proxy?

How can I setup crossbar.io router/WAMP router behind NGiNX reverse proxy?
dvishal
  • 146
  • 1
  • 8
1
vote
3 answers

How to log/debug a Crossbar guest worker?

How can I capture output/logs from a guest worker and/or debug it? The worker is a regular Python3 Autobahn WAMP component. Whatever I print or raise or write to stderr is nowhere to be found; or I don't know where to look. Only if the guest…
deceze
  • 510,633
  • 85
  • 743
  • 889
1
vote
1 answer

Clarification of the license conditions of crossbario

[Update 2015-01-29]: added some details of the scenario in question. Just to make sure: Do the licensen conditions allow to distribute and deploy the crossbar (crossbar.io, wamp, ...) stack in a commercial application? Given that We have a…
mar10
  • 14,320
  • 5
  • 39
  • 64
1
vote
1 answer

Is it possible getting the no of subscribers in Crossbar.io router

I am using Crossbar (WAMP Protocol) router for my node.js application.As router is independent to our application I am not able to do the below operations with Crossbar. Is there any official API available to achieve the below…
Joshua
  • 442
  • 1
  • 5
  • 20
1
vote
2 answers

Difference between register/subscribe call/publish

I'm learning WAMP (Web Application Messaging Protocol ). I'm trying to figure out the difference between these methods in AutobahnJS. ( and PHP Client with Thruway - https://github.com/voryx/Thruway) register/subscribe call/publish But I can't…
Jaster
  • 37
  • 4
1
vote
1 answer

Dynamically change crossbar.io authorization

I am using crossbar.io and would like to modify realm-role authorization permissions on the fly via the Management API. The excerpt below is from http://crossbar.io/docs/Authorization. Crossbar.io can be dynamically reconfigured via the Management…