Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8985255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:17:28+00:00 2026-06-15T21:17:28+00:00

I’m currently trying to grasp the whole cloud thing, and I have already read

  • 0

I’m currently trying to grasp the whole cloud thing, and I have already read through a lot of similar questions here on Stackoverflow.

What I am trying to build is going to be something like an high I/O storage service. It’s going to retrieve A LOT (we are talking 50 – 100 Mbit/sec constantly) of data through FTP and afterwards going to be running some post-processing on some of the data received.

The application is currently being written in C# for deployment on Windows Azure VPS. I’m doing my own simple FTP server for maximum level of control and security (like my own authentication process). This is not a problem as I’ve become quite skilled with socket servers and high performance .NET applications.

HOWEVER always running as a single instance. It’s always been about squeezing out more performance of a single Windows Service / Console Application running on some VPS server.

I must face the facts this time though. No matter how big that VM is going to get, the data can quickly overwhelm the servers I/O capacity if the data is going to increase (it’s generated by customers so more customers = more data!).

So how would you go about doing load balancing in the cloud? I have read about “cloud services” with “cloud workers” and so on, but I think that it just get’s so ** complex and the pricing just seems so blurred when I’m going to be using storage from one service, database from another and the work from a third type of service, while factoring in bandwidth and other stuff. I would really like to just keep it simple in an environment that I know and that I’m confident in working with. So VPS it is.

But how should I do the load balancing ? It’s my first time ever and I know it’s quite an ambitious project, but I really just want to learn!

To sum it up: Load balancing a custom FTP application written in C# running on Windows Azure VPS. Every instance of the application/service should have access to the same storage and database. No inter-instance communication is needed.

So throw everything you got at me and I will try to keep up. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:17:29+00:00Added an answer on June 15, 2026 at 9:17 pm

    Roles

    You seem somewhat confused about what Roles are, so let me do a quick aside on that. A Role is basically a template for a VM, it defines the code and configuration. It’s a little bit like what a Puppet or Chef script is. There are a few types of Roles.

    • VM Roles are the most “bare metal” you can get. You give Azure a VM image and they start it for you. You’re responsible for everything on it, including OS updates and maintenance. This is not far from what Amazon EC2 does.
    • Worker Roles are less bare-metal. They’re not far from a Windows Service. You upload a package of code and configuration, but not an entire VM image. Azure sets up a stock Windows Server OS, copies your code to it, and calls an entry point. From there you can do whatever you want – accept connection, start new threads or processes, etc. Microsoft is responsible for OS level patches, and they may reimage your VMs to do it whenever they want to, so you don’t want to permanently store data on the drives.
    • Web Roles are basically a Worker Role but Azure also installs IIS and configures whatever IIS Sites and Virtual Applications you request.

    Load Balancing

    In simple cases (eg, web serving) Azure will automatically load balance incoming requests between your machines. It should work just as well for any service that involves requests coming in from the internet. I think this may be more complicated with FTP PASV mode, but I’m not an expert on that topic. There is an open source project for FTP on Azure, as well as a blog post on the topic. Perhaps their approach can be applied to your custom FTP software.

    From what you’ve said, I think you could use a Worker Role for your FTP servers. In your WorkerRole.cs file you would just start up your FTP code, and away you go. You could also spawn threads or processes to have each VM do double-duty as an image processor. You could do all that in a VM Role if you wanted, it’s just a question of which involves more work for you.

    Storage

    This is a textbook use case for Blob Storage. The uploaded files should definitely go there. It sounds like the different billing model is confusing you a bit, but Blob storage is pretty cheap. You can take a look on the Azure Pricing Calculator.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to loop through a bunch of documents I have to put
I know there's a lot of other questions out there that deal with this
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I am trying to understand how to use SyndicationItem to display feed which is
I have a jquery bug and I've been looking for hours now, I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.