Skip to content

This project is trying to simulate client service calling server service.

Notifications You must be signed in to change notification settings

vipweihua/demo-sentinel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

demo-sentinel

This project is trying to simulate client service calling server service with flow control.

Just start up the ServerApplication and ClientApplication and visit the APIs defined in controller to see the flow control.

  1. Visit http://localhost:8001/123 to simulate server side flow control.
  2. Visit http://localhost:8002/123 to simulate client side OpenFeign flow control.
  3. Visit http://localhost:8002/123/rest to simulate client side RestTemplate flow control.

Personal Opinion: Use server side flow control as possible as you can. If you have to use client side flow control, make RestTemplate as the low priority.

About

This project is trying to simulate client service calling server service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages