NSQ Tutorial with #TurnkeyLinux

The following is a load balancing example with NSQ. More at https://github.com/itmarketplace/go-queue/tree/master/examples

On VirtualBox, run three Turnkey Linux VMs (using host-only adapter)

  • – nsqlookupd and lbconsumer (nsq consumer client1)
  • – nsqd and lbproducer (nsq producer client)
  • – lbconsumer (nsq consumer client2)



--lookupd-tcp-address = IP address of nsqlookupd
--broadcast-address = IP address of machine where 
nsqd is running
nsqd --lookupd-tcp-address= 


lbconsumer --lkp=

Subjectivity aside, leave a reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s