How does Dubbo service check parameters gracefully

1, BackgroundWhen the server provides interface services to the outside, whether it is providing HTTP interfaces to the front end or RPC interfaces to other internal servers, it often faces such a problem, that is, how to gracefully solve the verification of various interface parameters?In the early days, when making the HTTP interface provided ...

Posted by barrywood on Tue, 08 Mar 2022 03:08:54 +0100

Dubbo process and source code analysis

The previous article explained the use and source code of zookeeper, so this time we continue to understand the relevant contents of dubbo, the golden partner of zookeeper. Of course, dubbo is also a typical rpc framework, so we analyze it one by one from the client and server, and there are a series of subsequent articles. Take your time. SP ...

Posted by pqdrummer on Tue, 15 Feb 2022 11:49:39 +0100

RPC principle and RPC example analysis

catalogue     catalogue One background Second RPC 1. How to call other people's remote services? How to call remote services transparently? 1.2} how to encode and decode messages? 1.3 communication 1.4 # why is there a requestID in the message? 2 how to publish your own services? 3. RPC instance analysis in Hadoop 3.1 how is the co ...

Posted by nobodyk on Fri, 11 Feb 2022 12:59:44 +0100

Distributed RPC framework_ Apache Dubbo

Evolution of software architecture The development of software architecture has experienced the evolution process from single architecture, vertical architecture, SOA architecture to micro service architecture. Let's learn about these architectures respectively. Monomer architecture Architecture description All in one Architecture advant ...

Posted by Steffen on Thu, 10 Feb 2022 20:23:00 +0100

NIO server of dubbo - Abstract API

Write in front In the java community, some excellent NIO frameworks are netty (netty3.x,netty4.x), Mina, grizzly and dubbo. They have implemented their own NIO server based on dubbo: \ \ protocol and thrift: \ \ protocol. Of course, the underlying layer will directly use the existing NIO framework (after all, the cost of repeatedly building wh ...

Posted by Steffen on Sat, 05 Feb 2022 10:03:12 +0100

Tencent cloud lightweight server builds an Internet accessible redis5 through Docker X cluster

Summary record / Zhu Jiqian Recently, I bought a 4-core 16 Tencent cloud lightweight application server, which cost me nearly 400 oceans. I plan to build a pile of docker component clusters. First, I plan to build a redis cluster through docker. I plan to use three ports, 700170027003. Tencent ECS has firewall restrictions, so these six ports n ...

Posted by roby2411 on Wed, 26 Jan 2022 09:05:36 +0100

dubbo load balancing strategy

Foreword: in the last blog, I introduced how zookeeper works as the registry of dubbo. There is a very important point. Our program is a distributed application. The service is deployed on several nodes (servers). When consumers call the service, zk returns a node list to dubbo, but dubbo only selects one server, So which one will it choose? Th ...

Posted by m00gzilla on Mon, 24 Jan 2022 17:13:17 +0100

Dubbo annotation method verification method parameters

Spring MVC annotation parameter verification support Introduction: JSR provides a set of API for Bean verification specification, which is maintained in the package javax validation. Constraints. The specification uses a set of concise and easy-to-use annotations on attribute or method parameters or classes for parameter verification. During ...

Posted by cqinzx on Sun, 23 Jan 2022 11:17:58 +0100

Microservice architecture | 12.1 remote communication using Apache Dubbo

preface reference material: <Spring Microservices in Action> Principles and practice of Spring Cloud Alibaba microservice "Spring cloud framework development tutorial in Silicon Valley of station B" Zhou Yang Apache Dubbo is a distributed service framework, which mainly realizes high-performance and transparent calls bet ...

Posted by tom2oo8 on Thu, 20 Jan 2022 23:26:13 +0100

In depth Dubbo - comparison, application and source code analysis of Dubbo SPI & Java SPI

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it catalogue preface 1, Brain map of Dubbo SPI & Java SPI 2, Java SPI 1. Code application 2. Source code analysis 3. Problem analysis summary preface What is SPI? What problems ...

Posted by GRUMBLE on Wed, 19 Jan 2022 01:50:17 +0100