Introducing: MASV Agent
The Fast and Reliable Way to Upload and Download Large Video Files in a Server Environment
A Q&A with MASV CTO Majed Alhajry
In July, MASV introduced our new MASV Transfer Agent, or ‘masv-agent.’ The new MASV Agent is the beating heart of our super-reliable MASV App 2, and its release means that your development team can now start using the MASV agent to build the exceptional upload and download reliability of MASV into your transfer workflows.
We sat down with MASV CTO Majed Alhajry to learn more about the MASV agent, the MASV API and how he’s working to make it easier for developers to reliably transfer massive content.
Q: Hi Majed. You’ve announced the new MASV transfer agent this month. What is it, and who is it for?
A: Imagine someone trying to integrate MASV API onto their workflow, which involves uploading and/or downloading data to and from MASV network. While our API gives them comprehensive access to the information they need, they will soon find out that carrying out uploads and downloads on the client-side is difficult, especially when they’re trying to do so reliably at maximum speed. With the MASV Transfer Agent, we wanted to provide developers with the ability to interact with our API while we handle the heavy lifting of client-side large file transfers, securely, reliably and fast. This is our expertise, so it only makes sense that we provide our agent as a power tool.
The transfer agent is a program that abstracts all the complexities of file transfer. It can run as a service (headless) on all major platforms (Windows, Mac and Linux) to handle transfer of data in and out of MASV network. Users can interact with it via a simplified REST API to carry out tasks like uploading and downloading packages. The transfer agent manages the underlying file system, carrying out transfers at maximum speed with the reliability that our users love and trust.
You can think of the transfer agent as a remote-controlled version of our desktop app, without the user interface. You can run it locally on your machine or on your centralized transfers server.
MASV transfer agent targets power users who want to bring their integration with MASV to the next level, where they can automate the transfer of large files on top of automating their typical workflows.
The top use cases for masv-agent among our customers customers and partners so far are Server-to-MASV and MASV-to-server file transfers, and the agent is performing exceptionally well in this role.
Q: What motivated you to build the agent, instead of having users simply use the MASV transfer service?
A: Empowerment! We are firm believers in automations that save our customers time. Our culture is built around automating as much of your work as possible so that you can focus more on creativity rather than mundane tasks.
Automations go beyond opening a browser tab or clicking buttons on our app. That’s where MASV transfer agent comes into play. Even very skilled developers can struggle to get consistent reliability when transferring truly enormous files, so the masv-agent does it for you. It fills a gap by minimizing the time required to transform large file delivery workflows.
Q: What new things can we do with masv-agent?
A: Everything that can be done with our app can be done – and automated further – with MASV transfer agent:
- Sending packages to recipients.
- Uploading packages to MASV portals.
- Downloading packages.
- Managing and running transfer automations, like automated downloads from portals.
- Enforcing upload/download speed limits.
Q: How do I get started with the MASV Service or the MASV API?
We’ve documented both the MASV API (https://developer.massive.io/masv-api/) and the MASV Transfer Agent at (https://developer.massive.io/transfer-agent/) and developers should be able to get started on their own. Simply create an account and go for it.
We’re eager to continuously improve our developer tools, so if you have feedback, or would simply like to do a deep-dive with us on your integration, simply get in touch with us via [email protected].
Q: How does this compare to the MASV API?
A: The transfer agent is a powerful abstraction over MASV API. It’s meant to simplify interactions with our API by providing an easy REST API interface to carry out common tasks.
For example, think of the effort and calls to MASV API needed to upload a package to MASV. It involves many steps like:
- Traversing file system and collecting metadata about files and directory structures
- Creating the package on MASV API
- Calling corresponding MASV API’s to create file records
- Handling logical chunking of files
- Uploading chunks to MASV storage
- Finalizing files
- Finalizing packages
- Many other considerations for cross-platform file names/structures, filesystem differences, parallel upload of chunks, retries, recovering from software and hardware crashes, file integrity, etc.
With the transfer agent, all these steps can be done in a single API call that specifies the package info (name, recipients, etc) and the paths to files/folders the user wants to send. That’s it! Since it sits on the client-side, it has access to the filesystem, can adapt to network conditions and even survive system crashes.
Q: Is this the best thing you built so far this summer?
A: This is definitely one of the most exciting things we built this summer! Automations are the predominant “theme” this season with even more exciting capabilities in the works such as our new “Watch folders” feature for our app and “Cloud Connect,” which will provide an easier way to connect with various cloud storage providers.
Q: What’s coming next for MASV from a developer’s perspective?
A: Our number one thing has to be Watch Folders. MASV Watch Folders are a natural extension of our desktop apps (Mac/Windows) and of the masv-agent. Watch Folders make it dead simple to set up a folder which will immediately transfer a data package to a predetermined set of recipients via the MASV Transfer or MASV Portal tools. We should see Watch Folders become available later this summer and we’re excited to see what our technical users will be able to do with these.
About Majed Alhajry
Majed (pronounced like “magic” but with a D) is MASV’s technology, business process and software development leader. Possessing more than 15 years in technology, Majed at his core is a software engineer, geek and entrepreneur, having invented the Superbeam peer-to-peer file sharing app that works over fast Wifi, without the need of a router. Majed’s passion lies in discovering novel solutions for complex technical problems. He is an expert in the transfer of large files, local and global, as well as in networking acceleration technology and application layer protocols. He lives in Ottawa, Canada.
Want to talk with our CTO or learn more about what MASV is doing, visit our Contact page