5 Nines = High Availability

March 29th, 2009

What does fault-tolerant or high-availability really mean? Likewise, if a system says it has five nines of availability – what does that really mean?

System
Type

Downtime
 per Year

Downtime
 per Month

Downtime
 per Week

Availability

Availability
Class

unmanaged

36.5 days

72 hours

16.8 hours

90.%

1 nine

managed

3.65 days

7.20 hours

1.68 hours

99.%

2 nines

well
managed

8.76 hours

43.2 mins

10.1 mins

99.9%

3 nines

fault
tolerant

52.6 mins

4.32 mins

1.01 mins

99.99%

4 nines

high
availability

5.26 mins

25.9 secs

6.05 secs

99.999%

5 nines

very high
availability

31.5 secs

2.59 secs

0.605 secs

99.9999%

6 nines

ultra
availability

3.1 secs

.25 secs

.06 secs

99.99999%

7 nines

References

Add a Source Code Beautifier to UltraEdit - The Easy Way!

March 27th, 2009

After installing the latest version of UltraEdit and configuring it, I discovered that the Artistic Style source code formatter is built in and easily added.

From the Advanced > Configuration menu option …

Astyle_builtin_1

Choose Toolbars / Menus > Customization and then select the Customize Toolbar button.

Astyle_builtin_2

Scroll down on the left side until you find the Artistic Style toolbar item, then select it and click on left arrow to add it to the toolbar, and select OK.

Astyle_builtin_3

The end result is a built in toolbar button for AStyle..   

Astyle_builtin_4

… which presents the formatting options dialog whenever you click on it.

Astyle_builtin_5

Much easier than my original post!

Add a Source Code Beautifier to UltraEdit

March 25th, 2009

Another great feature of UltraEdit is the ability to configure tools – program or commands that can be run from the menu or toolbar.

So here is how to configure the open source tool AStyle (Artistic Style) so that C C++ or Java code that looks like this

Astyle_before

.. will be “beautified” in just about any format style, like this:

Astyle_after 

Download AStyle and save it where you want it. There is no install to run.

In UltraEdit, go into Advanced > Tool Configuration from the menu.

Configure the command to run the AStyle program passing it the style option(s) you want. Run AStyle.exe -h from a command prompt to see all the options.

In this example, we are using the following Command Line

“C:\Program Files\AStyleWin\AStyle.exe” –style=allman –quiet “%f”

 

Astyle_config1

 Astyle_config2

Astyle_config3

 Save your configuration (Apply and/or OK) and you will have AStyle available as a menu item for you to use.

Astyle_menu

When you select this tool from the menu (or use the short cut keys) AStyle will run against the current open file. To see the results of the beautification, make sure to choose Yes to reload when prompted.

Astyle_reload

References

Transaction Processing: Concepts and Techniques by Jim Gray & Andreas Reuter

January 18th, 2008

Transaction Processing: Concepts and Techniques

Transaction Processing: Concepts and Techniques by Gray & Reuter is the definitive reference on transaction processing. The text book covers problems OLTP systems and discusses fault tolerance, recovery, monitoring, concurrence, scheduling, and file systems. Includes a section on Guardian 90 in the Transaction Processing section.

A great reference to have sitting on the bookshelf, my only regret is that I did not have an opportunity to have my copy signed by Jim..