Skip to content

HardBoiledSmith/SpringThrottlingExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringThrottlingExample

Example for rate limit throttling in Spring MVC

Required

  1. Java 8 (with JDK)
  2. Maven 3
  3. IntelliJ IDEA 2018+

Start Vagrant

  1. cd _provisioning
  2. vagrant up
  3. Vagrant box SpringThrottlingExample reboots after provisioning was successful

Install WAS (SpringThrottlingExample.war)

  1. after reboot, copy SpringThrottlingExample.war to /home/ec2-user/
  2. connect ssh ssh root@[IP_ADDRESS]
  3. sudo su
  4. mv /home/ec2-user/SpringThrottlingExample.war /var/lib/tomcat8/webapps/
  5. service tomcat8 restart
  6. open http://[IP_ADDRESS]:8080/SpringThrottlingExample

References

https://github.com/mokies/ratelimitj/tree/master/ratelimitj-inmemory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published