Integral out of range

I've been working quite a lot in Java. Although this is part of the university course, we actually have some QAs we need to satisfy, and so the quality of the code matters. Most modern languages are Turing Complete, so it is rarely about what you can do, but rather how you can do it....

New Date in Java

I've been working quite a lot in Java. Although this is part of the university course, we actually have some QAs we need to satisfy, and so the quality of the code matters. Most modern languages are Turing Complete, so it is rarely about what you can do, but rather how you can do it....

Heartbeat

The underlying principle is: Period message issued by a component The message is being listened to by other components Absence of a heartbeat? - start the recovery Heartbeat is issued to everyone (who is listening) and they can make appropriate choices whether or not to go with recovery. Unlike ping/echo only one message is sent...

Design Tactics - Availability

The aim of the design tactic is to increase availability: the amount of time the system is operational. We could increase availability simply by increasing redundancy. The redundancy is costly. Ideally we would never have any replicas. There are two types of redundancy: data redundancy -multiple storage of the same data communication redundancy - multiple...

How do we come up with architectures?

In short, architecture comes from '"black magic" of people having 'architectural visions''. Indeed, there are 3 +1 main sources of architectures: Intuition - architectural vision. Method - methodologically work through and find the best approach. It is systematic and concuous and usually document. The final architecture is derived from requirements via transformations and heuristics (e.g....

Architecture Quality Attributes

Architecture Quality Attributes (a.k.a. QAs) are used to determine if our architecture is fit for a particular purpose. Qualities must be accommodated in a system's architecture over and above basic functionality. It is too often that functionality takes the front seat, indeed sometimes the only seat. The functionality however should be the primary concern of the...