Forum Discussion

NzYme_68513's avatar
NzYme_68513
Icon for Nimbostratus rankNimbostratus
Jul 10, 2012

Pool connection stats?

Is there a way to pull the current and maximum connections on a pool via iControl?
  • It's a tradeoff. With Perl and Python's loosely typed languages, you can sometimes do things quicker but there's more of a learning curve. Powershell is a good intermediary between a loosely typed (perl) and strongly typed (C/Java).

     

     

    I did all of the old iControl examples in Perl but have migrated to PowerShell over the years as it is easier to script in with the autocomplete due to it's ties to the iControl Assembly for .Net.

     

     

    But, the beauty if web services is that you can pick what works best for you on the client side!

     

  • Yes, very true!

     

    Strongly-typed langauges tend to be more difficult to dump contents of things to, just *because* they are strong-typed...

     

    Types need conversions to be done to them, and structures need to be rigidly iterated over to access their contents.

     

    I was just referring to the 'magic' that Perl modules like Data::Dumper do 'under the covers' for me.