Coder Social home page Coder Social logo

Bandwidth Gains about impact-crater-core HOT 4 OPEN

dylan avatar dylan commented on September 23, 2024
Bandwidth Gains

from impact-crater-core.

Comments (4)

dylan avatar dylan commented on September 23, 2024

May also be a time to consider using something with a better track record on the networking side: https://github.com/faye/faye

from impact-crater-core.

cha55son avatar cha55son commented on September 23, 2024

I have been googling around and I can't seem to find any definitive sources saying faye is better than socket.io.

That was a good link on bandwidth management. I will keep that in mind and will probably tweak the current implementation when I get the time. Along with shortening the event names and data, I would probably end up using the base128 encoding as it will be the least error-prone/easiest approach with decent payoff. What do you think?

from impact-crater-core.

dylan avatar dylan commented on September 23, 2024

It wasn't so much that one was better than another it was that socket.io has been known to leak under sustained loads.

Re encoding, if it's not too lossy, that sounds great.

On Dec 9, 2013, at 6:51 PM, Chason Choate [email protected] wrote:

I have been googling around and I can't seem to find any definitive sources saying faye is better than socket.io.

That was a good link on bandwidth management. I will keep that in mind and will probably tweak the current implementation when I get the time. Along with shortening the event names and data, I would probably end up using the base128 encoding as it will be the least error-prone/easiest approach with decent payoff. What do you think?


Reply to this email directly or view it on GitHub.

from impact-crater-core.

cha55son avatar cha55son commented on September 23, 2024

Faye seems easy enough so if I find sufficient evidence against socket.io regarding leaks/etc then it would make sense to switch.

from impact-crater-core.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.