Comments (4)
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.
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.
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.
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)
- Screen/network culling HOT 5
- Start script does not handle port number, although it says it does.
- Support for socket.io rooms
- Blast from the past HOT 1
- Client network throttling HOT 8
- Map Streaming HOT 3
- Debug graph plugin for network traffic HOT 1
- Server Console HOT 2
- impact-crater is not in NPM HOT 3
- Impact.js++ compatible? HOT 4
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 impact-crater-core.