Skip to content
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

[Discussion] Introducing a new network engine #425

Open
huytd opened this issue May 27, 2016 · 5 comments
Open

[Discussion] Introducing a new network engine #425

huytd opened this issue May 27, 2016 · 5 comments

Comments

@huytd
Copy link
Collaborator

huytd commented May 27, 2016

Well... it would be a rant if I call it's an engine 😆

I developed a new networking library - lit, the main idea is to replace Socket.IO (for this game)

lit was built on top of Engine.IO, the framework that built Socket.IO as well.

It focuses on transmitting binary data instead of string data (what Socket.IO is doing right now), I know Socket.IO is already supported binary data but it's not the reason to keep me from building another one :trollface:

The main reason is #5, #349 and #190, there are so many people email me and ask if this server is good for develop production-ready games or not, and I keep saying that it's not ready. Now, it's time to make it production-ready (okay, I know I'm a bit ambitious :D)

Honestly, I didn't have time to test or benchmark it yet, I think it's better to introduce it here, so everybody can join with me and see/test/benchmark/integrate it.

Let's discuss to see if we can use it and replace it with Socket.IO for this game server in the future or not :D

Thank you so much!
Huy

@dbakes98
Copy link

How far along are you in integrating this new alternative? I would be very interested in seeing how well this improves performance!

@huytd
Copy link
Collaborator Author

huytd commented Jun 27, 2016

I'm so sorry. I'm busy with some other stuff recently and don't have enough time for the integrating process. I will try to make a small demo to benchmark this library, maybe in the incoming long weekend.

@huytd
Copy link
Collaborator Author

huytd commented Oct 8, 2016

Update: I made a demo with this engine, seems good, will do more testing and see if we can replace Socket.IO with this or not.

https://github.com/huytd/lit-demo/

@noahcoetsee
Copy link

Great! I actually have some time on my hands, so I may be able to help you out on this one!

@Andrews54757
Copy link

@huytd Why use engine.io - its also incredibly slow. Use uWS (https://github.com/uNetworking/uWebSockets).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants