Skip to content

A Sample Application , how to make end points non-blocking in spring. It also demonstrates how to scale an application

Notifications You must be signed in to change notification settings

kazi-imran/TransactionStatistics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TransactionStatistics

Transaction Statistics A Spring Boot application to adopt real time transaction updates.

The application has 2 end point:

1 Post /Transaction

2 Get /Statistics

Both the end points are non-blocking. Springs DefferedResult and Java's Native ExecutorService has been used to make it asynchronous and parallel thread capable at the same time.

A Stress Test has also been added to simulate near real time scenario. Upto 10 Threads has been used to invoke the endpoints with 400 iterations. This was done to see if the end points funciton in an non-blocking under duress. This scenario has been created, to check if the endpoints are executing in constant time and memory

About

A Sample Application , how to make end points non-blocking in spring. It also demonstrates how to scale an application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published