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

How I can integrate crossbar client (python3,asyncio) with tkinter

I run crossbar client with the runner of crossbar which run in the asyncio event loop. I want to call RPC by the trigger in tkinter. Is there any solution to combine them together?
asurack
  • 11
  • 1
1
vote
1 answer

Memory consumption of Crossbar retained events

self.publish('foo.%s' % id, 'bar', options=PublishOptions(retain=True)) When using retained events, what's the memory consumption behaviour on the Crossbar router? Is the event stored forever, or is it purged after some time and the memory…
deceze
  • 510,633
  • 85
  • 743
  • 889
1
vote
1 answer

How can I use Web Redirection Service of Crossbar?

I am trying to redirect a http request (GET), using Crossbar's Redirection Service. I am using 'curl' for the request. Redirection seems to work fine, but i can't pass my (query) parameters to the final destination. Specifically, I am doing: curl -L…
PanosD
  • 11
  • 2
1
vote
1 answer

Start crossbar.io programmatically

Objective I am have a simple publish server (in nodejs, using autobahn.js) that receives data from a machine and then publishes it to interested subscribers. I am currently doing integration tests and I need to know: If crossbar is running, I need…
Flame_Phoenix
  • 16,489
  • 37
  • 131
  • 266
1
vote
0 answers

How to publish/subscribe or call/register a procedure/event in crossbar.io dynamically at runtime?

There are methods in crossbar to publish/subscribe the event or to call/register the procedure but once we write code, its done, suppose I want to publish/register the event/procedure at runtime, then what should be done? is there any way?
chirag pathak
  • 121
  • 1
  • 14
1
vote
1 answer

Multi client RPC

I have a router, a server and multiple clients. The server registers methods in the router, and the clients successfully call the methods and get the result. In some cases, I need the server to ask a specific client something. I already have the…
Philippe Paré
  • 4,279
  • 5
  • 36
  • 56
1
vote
1 answer

How to get the reactor from ApplicationRunner in autobahnPython

I have an autobahn client using the ApplicationRunner class from autobahn to connect to a WAMP router (crossbar). In the main section it attaches my ApplicationSession class "REScheduler" like this: if __name__ == '__main__': from…
markop
  • 186
  • 11
1
vote
0 answers

How to get logging in Twisted logger based application working nicely with Crossbar

I'm using WAMP for an application where much of the application logic is divided over a number of microservices connected using the Crossbar WAMP broker (version 0.15.0 with Twisted 16.3.0 on OSX 10.11.6). I'm implementing logging for this…
marcvdijk
  • 11
  • 3
1
vote
0 answers

Can't install crossbar.io binary package on FreeBSD 10.1

I'm unable to install the crossbar.io WAMP router's binary distro on FreeBSD 10.1 I'm doing it step-by-step by the manual (http://crossbar.io/docs/Installation-on-FreeBSD/), but during the pkg install crossbar i get this output: Updating FreeBSD…
1
vote
0 answers

WAMP component for celery task monitoring and publishing to React app

I have a React app that POST over Klein and runs a Celery job async (via RabbitMQ). I would like to display all tasks in some table with status updates via a WAMP Pub/Sub (I'm using Crossbar as a router). My React table component gets the initial…
1
vote
2 answers

How to get Crossbar.io host name?

I write chat using crossbar.io. We have several nodes of chat. I need write statistics about each of nodes, that's why I need to get host name where specific node is run. Is it possible get host name from component instance? I use last version of…
Oleksandr Yarushevskyi
  • 2,789
  • 2
  • 17
  • 24
1
vote
1 answer

How can I get list of subscribed clients in autobahn.ws?

Now I'm developing chat using wamp-protocol, crossbar.io, autobahn.ws. We have rooms only for two clients. I need to define if other client is in room, if it in I publish new message in other case I make request to GCM. Every room has own uri like…
1
vote
1 answer

crossbar Out-of-memory when pub runs faster than sub

I was doing some pub&sub test with autobahn-cpp. However, I found that when you pub some data at a frequency that faster than the sub endpoint can consume, this will cause the router(crossbar) cache some data and the memory usage increases.…
Wei Guo
  • 544
  • 3
  • 15
1
vote
1 answer

AutobahnJS: Remote call to asyncronous function

I'm trying to make a call over WAMP to a remote function. But I don't know how to write the called function if it has asynchronous behavior. In every example I've seen the remote function returns the result. How can this be done in an asynchronous…
Sean Lynch
  • 2,852
  • 4
  • 32
  • 46
1
vote
1 answer

Starting an independent ApplicationSession and event loop from an existing one

I'd like to be able to spawn an independent event loop/reactor from an existing one. Let's say I have an application in a module standaloneapps: #in standaloneapps.py class StandaloneApp(ApplicationSession): def runner(self, message): …
Basti
  • 252
  • 2
  • 9
1 2
3
9 10