DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

Mathivanan
Mathivanan

Posted on

Need Help in : Implementing threshold for requests in real time in Springboot application

I'm developing a rest service with spring boot. I need to validate the threshold for each request by user, the threshold is currently maintained in Database. Everyday the threshold for the user should be reset to zero. Currently I'm connecting to database to pull the numbers to validate and updating the daily count. This is causing performance issues and the throughput is very low(I could process only 25< requests per second).

I'm trying to Implement Gemfire to cache and process , But worried about accumulating incremental changes to shared data in cache.

Top comments (0)

Become a ModeratorHey! We would love your help!

Fill out this survey and help us moderate our community by becoming a tag moderator here at DEV.