Wednesday, March 6, 2019
Software Developing
The software was developed iteratively by submitting faculty by module. The requirements were changing epoch-to-time and the software had to go many changes throughout the development. tiny chunks were developing from time-to-time which required some changes to be incorporated in the dodging.In the meanwhile the developed modules were tested and the feedback was collected continuously to incorporate in our system.The initial version of the software was released with some simple functionalities and the changes and feedback and requirements were updated which added some furtherance to the software we developed.2.2 Architectural Strategies2.2.1 Programming LanguagePython- As python is one of the worlds mesomorphic programming lyric poems it gives some of the built-in modules for development which makes system faster and docile for development. The classes and methods are developed victimization python. The prediction model uses some of the libraries in python.PromQL- The query f or extraction and generation of the graphs has been written in PromQL query language2.2.2 Future PlansAs it comes to the future it allow for be taking the tonic actions automatically which means using AI agents for handling all the aspects of mishap and recovery of the system. The enhancement includes chatbot implementation for limited tack together of queries close to the utilization stats and epitome of the info.2.2.3 User Interface Paradigm The user entrust be provided with the dashboard for the results and reports generated. The dashboard provides various features like querying on the information and stats about the usage of resources and various functionalities. The predictive analysis will be shown in a console of the IDE PyCharm. The user will be given set of values through which the user get an idea about the usage.2.2.4 wrongful conduct Detection and RecoveryErrorDetection is carried out by user testing and liberal bot has been setup to report the bug in the sy stem. The contrary entropysets are utilise for testing the ARIMA model has been carried out to test the efficiency of the system.Recovery has been done by alerting the user about the crash in the system using slack automated system and the systems constant state (previous state) will be restored.2.2.5 Data Storage ManagementThe data are extracted from the exporters and stored in a csv file. The extraction happens between an interval of 5 sec. As the data will be not accessed frequently and modified the data is stored on the stable storage within the machine running the programs.2.2.6 Communication instrument Prometheus employ http protocol to communicate with its client system and members. Message passing implement will be used to communicate with the exporters for the extraction of the raw data about usage of the resources. Grafana uses http protocol for extraction of the data from prometheus. The data will be passed by prometheus to grafana using the endpoint / metrics.2.2. 7 Graph Generation MechanismThe prometheus tool uses a query language called PromQL used for aggregating the extracted data and establish on those factors the graphs will be generated. 2.3 System Architecture As it comes to system architecture typical style has been used which is separate modules and microservices has been used to defecate the system.Figure2.2 System Architecture2.4 Data Flow plats2.4.1 Data Flow draw level 0 Figure2.3 Data Flow Diagram take 0 Initial step is to collect the data from the system (AWS) and the data are stored in CSV file for further analysis. Prometheus is used for real time monitoring of the AWS instances and generation of usage graphs.2.4.2 Data Flow Diagram Level 1Figure2.4 Data Flow Diagram Level 1 Exporters are installed for extracting the metrics from the AWS instances , which is then used by Prometheus monitoring tool for the usage graph generation and the extracted data will be stored in the CSV for further analysis2.4.3 Data Flow Diagr am Level 2Figure2.5 Data Flow Diagram Level 2Different exporters are installed to get the metrics from different instances, where each exporter will be used by Prometheus to get the data for graph and usage stats generation.Predictive analysis will be done on the stored data using the ARIMA model.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment