Is there any information about how many sites use websockets? Trends etc, something like https://w3techs.com/technologies/details/ws-nodejs/all/all? Thank you!
Related
i am just new into this concepts about sockets and i am so confused.Firstly i found that i can use pusher for realtime messages but it limits concurrent connections 100 and number of messages to send..then what about socket.io, does it have some kind of limitations? From what i have researched i assume it has no such limitations as pusher but i want to be sure.can anyone explain me how socket.io can do this, i mean if socket.io have no such limitations why would pusher be even used with payment plans?
You do not get the same limitations with socket.io however it can be a little daunting to set it up, I found this introduction on laracasts really useful when I was looking into it - https://laracasts.com/series/real-time-laravel-with-socket-io/episodes/1
i am deploying a python app with a web interface on heroku. I know that I can check the "metrics"-tab when looking at the app but that does not give me much. Is there any other addon where I can check(and save) the metrics?
What i want to see is:
* Traffic over time(hours:minutes)
* What kind of browsers the requests come from
* What kind of device used(tablet/phone etc)
I also need it to be saved so i can check traffic for a month back. In the metrics tab i can only see 1-2 weeks back.
I have been looking at keen.io-app for this but I doesnt know exactly how to use it. What i look for is more like www.similarweb.com.
Do you have any tips on which addon or solution i can use?
There are two addons you can use here:
NewRelic will give you performance information regarding your slow transactions and external calls.
Librato will graph your memory usage and traffic, and allow you to send any data and graph it too.
I need to do FIX-API based performance testing.
Can you please let me know few way ahead.
Also if I need to develop the in-house plugin then please can you point in some direction that how to do that?
Also does any 3rd party tool like loadrunner or neoload directly support FIX-API protocol testing?
Thanks
This has been asked many times before in many different forums. Please leverage Google for keywords of LoadRunner and FIX for FIXML as aprpopriate
If you want to do a test in FIX protocol over a FIX connection you can try using the FIXRobot. FIXRobot allows to easily write the tests in python. You can include a loop in the test script to pump messages and calculate the perf statistics from your application logs writing some scripts.
I am working on a Project where I will try to compare different ways of creating a live ticker (news-ticker or sport-ticker whatever). I would also like to make benchmark tests, like how many connected users or how fast the data will come.
I have googled and found that usually tickers are build in PHP as the server and the client has an ajax call for every 30 seconds which will return the new Data.
Another way of doing this is with websockets (socket.io) and node.js!
With those two, I have worked and experimentet!
But are the other ways of building tickers?
Obviously you may replace any server-side language with php but are the other ways that the server sends data to the client?
Maybe with Flash ? or Ruby on Rails?
It would help if somebody could point out common ways of tickers and also modern ways or fast ways. I will then choose two of them and compare them!
I would really appreciate if someone knows good articles or links about this topic.
Thanks
I think it really depends on your requirements (update rate, etc.). I means if you update the news only a couple times a day, you will have some overhead if you maintain a Websocket open for nothing. All server technologies will do the same thing if you are requesting the data every 30 seconde or something like that, it is a typical ajax call. Did you considered using something that is already build like Jquery News Ticket
I've taken a look at the basic websocket capabilities in Dart, using this simple example:
https://github.com/financeCoding/chat-websocket-dart
But I was wondering if there's a nice library I could use to build a realtime online game using websockets. I've had experience in this using node.js with socket.io, which worked out quite well. I need to be able to have "rooms", join rooms, leave rooms, broadcast to clients in a room, etc. as well as some nice notion of connection "health", reconnection etc. So what I'm asking is if there's a nice library for dart that has similar functionality? Even cooler would be a library on top of that library that could enable nice RPC functionality with variable syncing etc. such as http://nowjs.com/ which achieves this using socket.io. But I guess that might be too ambitious.
If anyone's had any experience or found a project which is similar to what I'm talking about, let me know :)
Duct is clone of Socket.IO in Dart which aims to be protocol-level compatible with the original implementation.
https://github.com/petrhosek/duct
Sorry, at the time of this writing, I'm not aware of a socket.io port for Dart. socket.io is nice because it has a bunch of implementation options for browsers that don't support Web sockets.
Sounds like a good idea for a hackathon project!