Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
/ sample.fasttransfer Public archive

FastTransfer is a Liberty User Feature that extremely quickly transfer files from a Liberty ND Collective Controller to a large number of Liberty Collective Member hosts.

License

Notifications You must be signed in to change notification settings

WASdev/sample.fasttransfer

Repository files navigation

WebSphere Liberty: Fast Transfer Build Status

Since version 8.5.5, WAS Liberty has supported the Liberty collective. A collective is a group of Liberty servers that consists of normal members which are then managed by special members known as controllers. The controllers can also manage hosts without Liberty servers on them. One advantage of collectives is that the controller(s) keeps track of the security credentials for all of its members, so a client only needs to connect to one machine in the collective in order to perform administrative tasks on the collective as a whole.

The task that this sample looks at is the distribution of files within the collective. There are currently two supported ways of distributing files. The first is to call the FileTransfer or FileService MBeans, but this method is more suited to tasks on a single server. The second method is to make a REST call which can send a single file to multiple hosts as explained in this link. However, the current implementation of the transfer can only send a file from the controller to one host at a time, making the transfer slow.

This sample introduces a new feature that solves the aforementioned problems. It allows for a single MBean call that quickly and efficiently distributes files to a list of hosts using the BitTorrent protocol. Speed increases greatly because all machines are sending files to each other, instead of one machine sending at a time. See more on BitTorrent here

You can build from source using the "Building with Maven" instructions below, or you can use the prebuilt jars. The other steps below apply equally to pre-built or self-build jars.

About

FastTransfer is a Liberty User Feature that extremely quickly transfer files from a Liberty ND Collective Controller to a large number of Liberty Collective Member hosts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages