Skip to content

Implementation of Message Throttling using SlidingWindow Mechanism.

Notifications You must be signed in to change notification settings

anandkulkarnisg/MessageThrottler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MessageThrottler

Implementation of Message Throttling using SlidingWindow Mechanism.

Build instructions.

  • Ensure g++ compiler along with support for boost and c++ standard thread library is present. Then just run the below
    commands.

    cmake CMakeLists.txt make clean make ./ThrottleDemo

Read the code and play around with configuration passed to Application object app to tune and change the parameters to study the behaviour.Reducing eviction Time will demonstrate how many messages were evicted to terminal output [ std::cout ].

Author : Anand Kulkarni

Anand Kulkarni 28/07/2018 - Look at the build script carefully. We have incorporated the support for log4cpp [ thread safe logging ], xerces-c for supporting reading config xml file for parameters.We need in total three Libraries for building the code. -lCppConfigManager -lxerces-c -llog4cpp. The cppConfgManager library has to be picked from other git repo namely the CppConfigManager [ https://github.com/anandkulkarnisg/CppConfigManager ].

About

Implementation of Message Throttling using SlidingWindow Mechanism.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published