[maven-release-plugin] copy for tag v2.4.1
[maven-release-plugin] prepare release v2.4.1
139 files changed
tree: 577616e7045665735d10e2415ed144c33de84d68
  1. .github/
  2. .mvn/
  3. script/
  4. shenyu-admin/
  5. shenyu-agent/
  6. shenyu-bootstrap/
  7. shenyu-client/
  8. shenyu-common/
  9. shenyu-disruptor/
  10. shenyu-dist/
  11. shenyu-examples/
  12. shenyu-integrated-test/
  13. shenyu-loadbalancer/
  14. shenyu-metrics/
  15. shenyu-plugin/
  16. shenyu-protocol/
  17. shenyu-register-center/
  18. shenyu-spi/
  19. shenyu-spring-boot-starter/
  20. shenyu-sync-data-center/
  21. shenyu-web/
  22. .asf.yaml
  23. .gitignore
  24. .gitmodules
  25. .licenserc.yaml
  26. DISCLAIMER
  27. LICENSE
  28. mvnw
  29. mvnw.cmd
  30. NOTICE
  31. pom.xml
  32. README.md
  33. README_CN.md
  34. RELEASE-NOTES.md
  35. SECURITY.md
README.md

Architecture


Features

  • ShenYu provides ability such as current limiting, fusing, forwarding, routing monitoring and so on by its plugins.

  • Support HTTP, RESTFul, WebSocket, Dubbo, GRPC, Tars and Spring Cloud Proxy.

  • Plug-in hot plug, users can customize the development.

  • Selectors and rules are dynamically configured for flexible matching.

  • Support for cluster deployment.

  • Support A/B test and grayscale publishing.


Plugin

Whenever a request comes in, ShenYu will execute it by all enabled plugins through the chain of responsibility.

As the heart of ShenYu, plugins are extensible and hot-pluggable.

Different plugins do different things.

Of course, users can also customize plugins to meet their own needs.

If you want to customize, see custom-plugin


Selector & rule

According to your HTTP request headers, selectors and rules are used to route your requests.

Selector is your first route, It is coarser grained, for example, at the module level.

Rule is your second route and what do you think your request should do. For example a method level in a module.

The selector and the rule match only once, and the match is returned. So the coarsest granularity should be sorted last.


Data Caching & Data Sync

Since all data have been cached using ConcurrentHashMap in the JVM, it's very fast.

When user have changed the configuration in the background management, ShenYu will dynamically updates its cache by listening to the ZooKeeper node, WebSocket push, HTTP longPull.


Prerequisite

  • JDK 1.8+

Document & Website

EN doc CN doc


Stargazers over time

Stargazers over time


Known Users

In order of registration, More access companies are welcome to register at https://github.com/apache/incubator-shenyu/issues/68 (For open source users only)

All Users : Known Users