CUF


PVR America Inc. is actualizing a "CUF" Project -programming task including the improvement of Common utilities for Auditing, Logging, Deployment, Monitoring and Testing a product item. "CUF" truncates to Common Utility Framework. 


The Common Utility Framework or CUF is a situated of utility administrations made by any undertaking for their inside utilization. Endeavors use a considerable measure of cash and assets creating their own structures. Our objective is to make a typical Framework and permit or offer the item at the part of expense to endeavors out all inclusive, subsequently sparing time and cost expected to make it at each venture. It is an extraordinary ROI to the organizations and a decent business item to PVR. CUF likewise serve the application where the venture arrangements are composed. The significant playing point of utilizing a CUF as a part of an undertaking arrangement is to have a typical standard executed concerning change of human asset in any association.


 

PVR America Inc. "CUF (Common Utility Framework)" undertaking goes for tending to a becoming requirement for an utility system that can be All-in-One usefulness for the venture programming undertakings after Development. 


A CUF ought to be in charge of everything which is reusable where software engineer doesn't like to code for it. Developer would like to waste time in actualizing it which is essential so he ought to go inside CUF.


CUF administrations would include: 


Examining (Transaction Logging) 


Let's assume you have a long process; you separate it and need to embed logging of the procedure as checkpoints. You truly require some great utility to log the greater part of this. Apache log4j is something worth being thankful for, yet it needs to get into your CUF so that all other application can get to it effortlessly. 


One can even log the accompanying: 


Complete Message Traceability: Track the whole message 


Execution – Time used in every exchange 


Logging (General Logging) 


You recently require some general debug logging, or whatever other log.

You may need to put the logs on documents or database. It relies on upon your association. 


There ought to have differed levels of log. What amount of information you need to catch? 


This CUF administration ought to likewise be dependable to change the levels of the logs at runtime 


Exemption Handling :


There will constantly be sprightly way and horrid path, what to do in light of present circumstances? An ordinary structure to handle standard uncommon case circumstances. 


You may need to log these slips. 


The best practice is to make a non specific handler for all regular exemption. 


Mistake Notification and Escalation 


Framework Errors – Inner Errors, Mis-setup, Database slips, Timeouts and so on. 


Business Errors – Component or Application Errors related to resources, structures, static data and so on.

One ought to likewise remember the accompanying 


Lapse levels – Critical, High, Medium, Low and so forth. 


Caution levels – Whom to heighten, what level? 


Accelerations methodology – FIX, Root Cause and Prevention system. 


Message Repair: 


Right Missing Data – Human is told, settling and reprocessing work process a short time later 


Reprocessing: 


CUF ought to preferably be capable or rather say sufficiently canny to have reprocess rationale 


There ought to be distinctive levels of retry: 


Case in point –retry from begin, retry from last mistake checkpoint and so on.

Medium:

What medium to use for notice? 


Messages, Dashboards, alarm screens, SMS 


This ought to be configurable according to the interface 


It ought to additionally be dependable 


Introduction and Cleanup 


Starting setup on start up 


To save some memory 


To introduce an information sustain. 


To introduce a pool of articles and so on.

Locking component: A set of normal locking system for imparted administrations. 


To guarantee stand out occasion of the administration is running 


To guarantee concurrency at administration call level. 


Cleanup of memory 


To guarantee your administration ends appropriately 


To guarantee you discharge all waste information and clear unused memory 


Custom trash specialists. 


May be a custom trash specialist on the administration level. 


Case in point, if an administration has been running for more than X hours. Where X is max limit, it ought to get killed.


Database Pooling: 


A typical database pool of database and connectors which can be utilized as imparted assets. 


Middleware: 


A message driven middleware or JMS/EMS imparted connectors to PUB-SUB messages. 


Administration Management: 


Oversee administration calls, Thread Management, Interrupt and reset imparted article pools. 


As a conclusion –a CUF ought to be capable to make life simple. 


There are steadfast chooses or concrete standards that affiliations should take after yet the above centers should help you starting to have CUF realized at your undertaking.