Releases: catty-project/catty
Refactor MetaInfo; Promote Performance.
This version is all about refactor of inner framework.
Before this version, class MetaInfo is actually a map while any options must be entered by a key. When you want to know what informations are being in there will get trouble while that is not structured. So I want to make MetaInfo structured and provide specific get/set method for each options.
And now, it has be done.
Benchmark
Performance has been promoted in this version. Now Catty is much better than Motan and Dubbo by at least 25%。
OOM Error.
There is an OOM error when decode byte-streaming.
Any version before this are not suggested to use.
Enhance ClusterRecovey.
ClusterRecovey has some bugs.
- recovery job could be created duplicated which may cause bug.
- unreachable endpoint has not be shutdown and un-registered.
Such bugs has bean fixed. And logs added.
Fix MethodMeta bug. Fix protobuf scope.
This version has fix some bugs in MethodMeta and add some tests about it.
Fixed protobuf scope as it has being wildly used in other projects and may lead to conflict.
Spring is basically supported.
In this version, Catty supports spring-xml config, and multi configs has supported like heartbeat-config.
And some significant changes made:
1.spring supported.
2.protocol config has be taken apart from client-config and server-config.
3.server's ExecutorService has changed from HashableExecutor to StandardThreadExecutor, which come from Tomcat and could get better performance in IO-hard system.
4.benchmark has made and Catty is a little better than dubbo about 5% and a little bad than motan.
5.cluster strategy could be config. FailFast, FailOver, Auto-Recovery strategies could be set.
In next version, more slb strategies and cluster strategies will be support, spring would be better supported.
Stable version without spring.
Next version is 0.2.0.
Goals:
- support spring.
- more cluster strategy.
- more load-balance strategy.
- more useful api & feature.