Comments (5)
感觉有点类似于连接未释放
from dubbo-js.
我来写个单元测试测试下,dubbo对象应该是单例 这样写太费了 每次调用都要创建一个dubbo对象 另外你的代码补齐不生效了const doSometing = dubbo.service['myApiService'].doSometing; 不需要这样写的
可以参见example/hello-egg的整合方式
from dubbo-js.
@hufeng 👍根据example的方式搞定了
from dubbo-js.
dubbo这个对象应该是单例 他里面做了很多事情,建立队列,连接zk,创建socket池,调度等 比较重
from dubbo-js.
另外像example你会获得更好的代码提示
from dubbo-js.
Related Issues (20)
- Improve documentation (Web aspect)
- Improve documentation (Node aspect) HOT 2
- Improve documentation (Node aspect) HOT 2
- Improve documentation (Node aspect) HOT 1
- Improve documentation (Web aspect) HOT 3
- Improve documentation (Web aspect) HOT 2
- Improve documentation (Web aspect) HOT 2
- Improve documentation (Web aspect) HOT 1
- Improve documentation (Web aspect) HOT 2
- I'll handle the items
- Implement Load Balance HOT 1
- Implement Traffic Routing HOT 1
- Implement Service Discovery HOT 1
- Implement Filter HOT 1
- Implement Metrics HOT 1
- Implement Tracing HOT 1
- [API Bug]: dubboNodeAdapter HOT 1
- 请问支持服务注册发现、负载均衡等服务治理能力吗? HOT 2
- 麻烦问下,这个 protoc 命令是怎么来的? 为什么我的 node_module/.bin 下面没有?
- 请问可以利用java dubbo3+版本泛化调用至【Apache Dubbo-js 4.0.0 released】提供的dubbo接口吗? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dubbo-js.