[cs615asa] HW3 Getting the hostname

Tejas tnadkarn at stevens.edu
Sat Mar 3 09:35:02 EST 2012


Based on this how strict is the requirement that no output is given 
unless -v is used? As a user I'd like to be told that the program is 
waiting on EC2 for a DNS entry even without a verbose entry. Is that 
acceptable or do we assume that if you want to know that you'd use -v?
On 03/01/2012 09:51 PM, Jan Schaumann wrote:
> Rob Hoffmann<rhoffman at stevens.edu>  wrote:
>
>> Currently my script runs the describe command X number of times before
>> it "times out", but I'm not sure if this is a good approach as some AMIs
>> may take longer to boot than others and X might end up being too small.
>> Is there another way I should be looking at this issue? Should I simply
>> trust that the instances will always boot?
> Think about it: does assuming that an instance will boot sound like a
> good thing to do?  How will your program behave if it doesn't?
>
> When implementing a solution, consider the user's expectations.  If you
> were using a tool like the one you're writing, how would you like it to
> behave?
>
> Would you like using a tool that may be unresponsive indefinitely?
> Would you like a tool that is always immediately responsive but that
> doesn't actually return deterministic results?
>
> I'm sure you'll find the right answer by thinking about the above
> questions.
>
> -Jan
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa


More information about the cs615asa mailing list