I have been writing an application that loads large amounts of data into the a database. The process of loading the data into the database goes through several steps requiring a considerable amount of time to complete. The long processing time is not a matter of concern from the application stand point. However, frequently the application throws a "ContextSwitchDeadlock was detected" message that says the following: Message: The CLR has been unable to transition from COM context 0x20450a0 to COM context 0x20452f0 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives ...
The quality of software depends on many inter-related attributes of the software. Some of the more important ones are: One attribute that I think is very important but I have never seen mentioned before is what I call debugability or how easy it is to track down the cause of a bug. The debugging process consists of three steps: 1. detecting the presence of a bug (aided by verifiability) 2. tracking down the root cause of the bug (aided by debugability) 3. changing the code to fix the (aided by modifiability) Sometimes the second step can be the most time-consuming; this is common in poorly written C code. In C debugability can be greatly improved by such things as assertions (which also improves verifiability, modifiability, reliability, etc). Other environments can greatly improve debugability, such as using Delphi or C# (w/o unsafe code). correctness the extent to which the soft- ware does what it is meant to reliability how often it cr...
https://www.youtube.com/watch?time_continue=5&v=IEQr7gn6Gnc https://www.youtube.com/watch?v=o_TH-Y78tt4 https://www.arch2o.com/famous-architecture-quotes-time/ The Principles of Clean Architecture by Uncle Bob Martin Architecture is about Intent ! Its not about tools , Its not about frameworks , those are details, details should be hidden and not exposed. It is vital to keep the business logic is kept immune the delivery model. Architects are abs-tractors, we separate details from general things. e..g UI or database is details Good architecture is allowed major decision to be differed. Job of an architecture is not to make decisions but to differed the decisions. Good architecture maximizes the number of decisions NOT made. Architects are responsible for Form and Structure while engineers are concerned with structure and functions. What activities an Architects do Act as a true trusted advisor & value-based professional. The solution ar...
Comments