login about faq

Here's a really silly question. I'm using ChillKat to send a GET request to my Azure cloud service. But since you pay for instances, I don't want the instance to be up any longer than it needs to. So, when does an instance, or a GET, end?

If you do it manually on the URL address bar of your browser you can be sure the get has ended when you close the browser. But if the GET comes from a program?

Maybe someone here has already done this...?

Maybe there is a function in ChilKat which ends a connection and that would end the instance?

asked Nov 27 '12 at 10:32

ofransen's gravatar image

ofransen
168813


I don't know what it means from Azure's point of view, meaning I don't know the meaning of an "Azure instance". One sure-fire way to make sure everything is close is to call the Chilkat.Http.CloseAllConnections method after doing the GET.

link

answered Nov 27 '12 at 11:48

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Thanks! Good idea! (Can you tell I'm new to this InterWeb stuff?)

(Nov 28 '12 at 00:37) ofransen

After several confusing answers on the Azure forums Steve Marx posted this:

"I think there's some confusion. Making the GET request doesn't create any instances of your web role. You tell Windows Azure how many instances of your web role you want when you deploy your application. Unless you change that number, it will stay constant.

Think of an instance as a server (or VM). You decide how many servers you need, and Windows Azure runs them for you. When you make a GET request, it goes to one of the servers and is handled there. Depending on what your application does, a single instance might be able to handle hundreds of requests per second."

So that is good, plus I'll implement the Chilkat.Http.CloseAllConnections suggestion.

link

answered Nov 28 '12 at 00:36

ofransen's gravatar image

ofransen
168813

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×14
×4
×2
×1

Asked: Nov 27 '12 at 10:32

Seen: 1,418 times

Last updated: Nov 28 '12 at 00:37

powered by OSQA