extremeheat / node-raknet-native

Simple native RakNet bindings for Node.js
13 stars 5 forks source link

Recommended to replace the native library #10

Closed b23r0 closed 2 years ago

b23r0 commented 2 years ago

In actual use, I found that the raknet implementation of the fb-raknet (c++) version has problems such as a large number of thread leaks.

top -p [pid] -H

1649411856(1)

Since this native code has not been maintained for many years, I suggest to consider replacing it with a new raknet I implemented in rust, which is still compatible with minecraft.

https://github.com/b23r0/rust-raknet

It has proven stable in production environments.

extremeheat commented 2 years ago

Hi,

Sorry for no reply here. This is something that can be explored, possibly in a new package. I just have not had the time to look into this thus far.

b23r0 commented 2 years ago

Hi,

Sorry for no reply here. This is something that can be explored, possibly in a new package. I just have not had the time to look into this thus far.

It doesn't matter, I used rust to re-develop and bind nodejs, you can take a look if you are interested.

https://github.com/b23r0/raknet-node