This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swarm-listener: | |
image: dockerflow/docker-flow-swarm-listener | |
networks: | |
- proxy | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
environment: | |
- DF_NOTIFY_CREATE_SERVICE_URL=http://proxy:8080/v1/docker-flow-proxy/reconfigure,http://loadbalancer-listener/v1/service/add | |
- DF_NOTIFY_REMOVE_SERVICE_URL=http://proxy:8080/v1/docker-flow-proxy/remove,http://loadbalancer-listener/v1/service/remove | |
- DF_NOTIFY_CREATE_NODE_URL=http://loadbalancer-listener/v1/node/add |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Experiument setup | |
Two machines with Intel 6700K Skylake at 4GHz, 32GB of DDR4 at 3GHz and Intel X710 quad port 10G NIC. | |
Running Linux Kernel 4.4.3 with 8 * 1G hugepages | |
Both hosts are interconnected with two SFP+ cables on port 0 and 1. | |
Both experiments are executed after a clean reboot | |
# Experiment 1: uio_pci_generic | |
## Forwarding Machine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
factory('cometd', function($rootScope) { | |
var cometd = $.cometd; | |
// Configure cometd | |
cometd.configure({ | |
url: location.protocol + '//' + location.host + config.contextPath + '/cometd', | |
logLevel: 'info' | |
}); | |
// Add a listener for the handshake *TODO* what should be done if message fails ? |