Author: devopsunleashed

AWS SQS – receive_message

When using the “receive_message” Python Boto function to pull message(s) from a SQS queue, you will always get a response back when the command completes.  However, how do you determine if the response you got back actually contains a valid message?

Quick trick:

response = sqs.receive_message
if 'Messages' in response:
    print("Message on the queue to process")
else:
    print("No messages on the queue to process")

Thats about it!!

python

ANT – JUNIT – PARALLEL

Looking to speed up your builds by running your Junit tests in parallel with Ant?  With Ant 1.9.4, the Junit task now supports the “threads” attribute.  The default value is “1”, but can optionally be changed to the number of test threads desired that will be used for parallel test execution.

Note, when using this new attribute, you must set your “forkmode” equal to “perTest” and if you are upgrading to 1.10.x, Java 8 run-time is required.

faster.png

AWS Certified SysOps Administrator – Associate

Its time to study for AWS Certification #3.  I took a little time off, but no more!  This time I am going for the SysOps Administrator – Associate certificate.  I guess its a little harder than the other 2 certifications I passed, but still within range!

Whats hard about some of these certifications is you don’t actually work with all covered material day-to-day.  Spinning up EC2 instances and creating security groups it pretty standard, but when it comes to things like networking, those tasks are not typically done by me.

So my plan is going to be the following to pass the exam:

  • Listen to a training course from acloud.guru on the way to and from work. (Long commute both ways)
  • Practice heavily in AWS on all the relevant topics.
  • Use the practice exam voucher I received from passing previous certifications to pay for an official AWS SysOps practice exam.
  • Rely on personal experience.
  • Cross-fingers!!!

AWS_Certified_Logo_294x230_Color

Agile Velocity – Don’t Take It Serious

Velocity – Its a metric, but not a metric to take serious.  This is my opinion!

  • Is it beneficial to skip story points or think of each story as 1 point?
  • Would it be okay to capture velocity, but tie zero goals or KPI’s to it?
  • Do we need to hide velocity from managers and PM’s?
  • Would it be okay to focus on building cool solutions and not worry about all these metrics?
  • Do we do what works in regards to sprints and capacity for the team?
  • How about we NOT measure team productivity by velocity, but rather deliverable’s!!

Vellocity.png