GithubHelp home page GithubHelp logo

niceonefox / webservicesimulationsystem Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 340 KB

Web Api to simulate queueing system

License: GNU General Public License v3.0

C# 52.44% JavaScript 2.18% TypeScript 9.32% HTML 35.94% CSS 0.12%
architecture design-patterns queueing-models queuing-simulator queuing-system queuing-theory asp-net-core best-practices net-6 solid

webservicesimulationsystem's Introduction

Service Simulation System (Queueing System)

Project aim is build service simulation system that has flow of requests which are created by sources. Requests is taken by devices on work, if they are no free devices requests go in buffer, also if new requests haven't come we take requests from buffer. Type of modeling system is "Special events method" (We move from one event to another simply increasing time). Special events are:

  • arrive of new request,
  • time of free device,
  • end of modeling.

Results of moddeling represented by:

  • Modeling time
  • Amount of Generated requests
  • Amount of Served requests
  • Average probability of Maintenance ( P = N served / N total )
  • Bandwidth of System ( A = N served / T modeling )
  • Probability of Failure ( P failire of request = N declined / N total )

Input parameters:

  • Number of Sources
  • Number of Devices
  • Buffer capacity
  • Amount of requests
  • Modeling time (max time)
  • BufferType (Type of buffer modeling, FIFO, LIFO etc.)
  • DeviceDirector (Type of choosing free device, circle etc.)
  • Lambda for devices (amount of flow) parameter for Poissonian flow
  • Lambda for sources

Technologies

Backend

  • ASP .NET 6
  • C# 10
  • AutoMapper
  • FluentValidation
  • CORS
  • NLog

For testing

  • NUnit
  • Moq

Frontend

  • Angular

Architecture

N-Layer Web API

Used Design Patterns

  1. Factory Pattern (Concrete implementation is chosen by input parameter)
  2. Builder Pattern (For constructing of algorithm)
  3. Dependency Injection (DI)

webservicesimulationsystem's People

Contributors

niceonefox avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.