Child pages
  • AMQP (RabbitMQ) scaling by broadcasting databroadcast messages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The default "broadcaster" plugin that Servoy ships with has currently one optionmultiple options, of which one is mandatory: setting the hostname of a RabbitMQ installation on all of the installed Servoy servers (WAR deployments) that want to have data broadcasting enabled between them. That RabbitMQ installation hostname can be specified via property ' amqpbroadcaster.hostname ' in servoy.properties. The complete list of settings is:

  • amqpbroadcaster.hostname  Set the hostname of the AMQP (RabbitMQ) server where to connect to (this is mandatory field)
  • amqpbroadcaster.username Set the username of the AMQP (RabbitMQ) server where to connect to (default value is guest)
  • amqpbroadcaster.password Set the password of the AMQP (RabbitMQ) server where to connect to (default value is guest)
  • amqpbroadcaster.virtualhost Set the virtual host of the AMQP (RabbitMQ) server where to connect to (default value is / )
  • amqpbroadcaster.port Set the port of the AMQP (RabbitMQ) server where to connect to (default value is 5671 for SSL connection and 5672 for default connection)
  • amqpbroadcaster.connectiontimeout Set the connection timeout of the AMQP (RabbitMQ) connection (default value 60000 - 60 seconds)
  • amqpbroadcaster.handshaketimeout Set the handshake timeout of the AMQP (RabbitMQ) connection (default value 10000 - 10 seconds)
  • amqpbroadcaster.shutdowntimeout Set the shutdown timeout of the AMQP (RabbitMQ) connection (default value 10000 - 10 seconds)
  • amqpbroadcaster.rpctimeout Set the rpc continuation timeout of the AMQP (RabbitMQ) channel (default value 10 minutes)

Below there is a setup of 3 servoy servers talking to the same database and using a RabbitMQ server to synchronize the databroadcast messages.

...