Simple web application load testing using ApacheBench

For a quick way to determine how your website/application responds to simultaneous requests, try the ApacheBench application.

ApacheBench can be installed on Ubuntu by installing the apache2-utils package.

sudo apt install apache2-utils

Once the apache-utils package is installed, run the ab command to test your website.

ab -n 100 -c 10 http://example.com

In the above example,

  • -n specifies the number of requests to run
  • -c specifies how many requests to run concurrently

OpenStreetMap meets Blender3D

A new Blender3D plugin has been created enabling the import of OpenStreetMap data for 3D extrusion, visualization, modelling, simulation, etc.

OSM objects can be imported as flat Blender objects or as extruded ones with the specified thickness. Either new custom properties latitude and longitude are set for the active Blender scene or previous values of the custom properties latitude and longitude are kept. In either case the Blender scene is said to be georeferenced.

Quick Guide For Firefox OS App Development

If you are interested in producing applications for the mobile web, please consider building using native technologies such as HTML, CSS, and JavaScript.

Firefox OS is a mobile operating system built on web standard technologies.

To get started with Firefox OS, I recommend the following book:

Developing for Firefox OS - Quick Guide

Developing for Firefox OS – Quick Guide

Quick Guide For Firefox OS App Development by Andre Garzia.

“Learn how easy and quick it is to develop applications for Firefox OS, the new mobile operating system by Mozilla. Empowered by this books practical approach you will learn thru examples how to develop apps from the beginning all the way to the distribution in the Firefox Markeplace.”

You can download the book for free, or choose to pay the author a reasonable sum for his work 🙂

MX, DNS, Blacklist SuperTool

I am working on configuring the Mail Exchange settings for PacificyearlyMeeting.org, and am tracking things like DNS reverse lookup, and other necessary configuration steps. The number of considerations is quite confusing, but I have found a great tool that checks for multiple problems and explains what each test means. The tool is called the MX Toolbox Super Tool, and it has been really informative.

To use the MX ToolBox Super Tool, simply enter the IP address or domain name of the server in question and let the tool scan for mis-configurations, blacklisting, etc. When something seems confusing or unknown, click the link next to the error or warning for an explanation. This tool has been educational!

Configuring Sender Policy Framework on a mail server domain

We recently migrated the Pacific Yearly Meeting hosting to a Virtual Private Server. Among the challenges encountered, we have to learn how to properly configure the server to send outgoing mail. This involves many moving parts, including verifying to other servers that email originating from our domain is legit, i.e. notSPAM.

Each domain name can contain a text field that indicates whether other email servers expect email to originate from specific servers related to the domain name. I.e. pacificyearlymeeting.org can tell other providers that it is a legitimate email source, and that emails sent from the domain should emenate from a specific server address, or IP. Thcan be done by adding a specific text field to the domain record.

To generate the text field, Microsoft has provided a useful tool that asks several questions regarding the server address, and expected behavior. This wizard will provide the text file so that the domain administrator can insert it into the DNS settings for the domain name.

If you would like to configure your domain name to legitimately serve email, go ahead and check out the Microsoft Sender ID Framework SPF Record Wizard.

Also, the SPF Wizard offers a one-page SPF generator. This may be worth using as well.