-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(microservice)There is a concurrent bug in microservice. #505
Comments
We are looking for a new framework to start a new project. I would like to know if this framework has been stress tested. |
Thanks for reporting, I'm on it. However, Nest microservices strategies are good for prototyping. Still, I'd recommend using a mature solution like, for example, NATS and plug it into Nest as a Custom Transport Strategy (which should be very easy). It will change in the incoming release ( |
@kamilmysliwiec Thanks for the answer, I thought of a solution.Thanks. |
The |
When the load is too high, the VIP access is guaranteed. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm submitting a...
Current behavior
Expected behavior
Minimal reproduction of the problem with instructions
Client
Server
test code
What is the motivation / use case for changing the behavior?
i think the problem is ..
nest/src/microservices/server/server.ts
Lines 25 to 36 in 7bb35c0
nest/src/microservices/server/server.ts
Line 34 in 7bb35c0
client:
nest/src/microservices/client/client-tcp.ts
Lines 40 to 63 in 7bb35c0
nest/src/microservices/client/client-tcp.ts
Lines 58 to 59 in 7bb35c0
If i want to re-implement
ClientProxy
andCustomTransportStrategy
will modifyserver.ts
andclient-proxy.ts
.i want use my own implement , how can i do?
https://github.com/whtiehack/pinus/blob/master/packages/pinus-rpc/lib/rpc-server/acceptors/tcp-acceptor.ts
https://github.com/whtiehack/pinus/blob/master/packages/pinus-rpc/lib/rpc-client/mailboxes/tcp-mailbox.ts
https://github.com/whtiehack/pinus/blob/master/packages/pinus-rpc/lib/util/composer.ts
Environment
The text was updated successfully, but these errors were encountered: