Questions tagged [juggernaut]

Realtime server push with node.js, WebSockets and Comet

Juggernaut gives you a realtime connection between your servers and client browsers. You can literally push data to clients using your web application, which lets you do awesome things like multiplayer gaming, chat, group collaboration and more.

Juggernaut is built on top of Node.js and is super simple and easy to get going.

62 questions
103
votes
3 answers

Faye vs. Socket.IO (and Juggernaut)

Socket.IO seems to be the most popular and active WebSocket emulation library. Juggernaut uses it to create a complete pub/sub system. Faye is also popular and active, and has its own javascript library, making its complete functionality comparable…
John Bachir
  • 22,495
  • 29
  • 154
  • 227
78
votes
4 answers

How to implement server push in Flask framework?

I am trying to build a small site with the server push functionality on Flask micro-web framework, but I did not know if there is a framework to work with directly. I used Juggernaut, but it seems to be not working with redis-py in current version,…
little-eyes
  • 945
  • 2
  • 9
  • 14
76
votes
6 answers

want to run redis-server in background nonstop

I have downloaded redis-2.6.16.tar.gz file and i installed sucessfully. After installed i run src/redis-server it worked fine. But i don't want manually run src/redis-server everytime, rather i want redis-server running as background process…
siv rj
  • 1,451
  • 1
  • 14
  • 31
22
votes
1 answer

Can flask framework send real-time data from server to client browser?

I was wondering how (if at all) flask performs long polling, so the server can send data over a connection to the client. For example if the server receives a twitter feed via the streaming api how will that be passed to the client browser? I gather…
user94628
  • 3,641
  • 17
  • 51
  • 88
12
votes
2 answers

Juggernaut/Faye vs. Pusher for a Heroku hosted web service?

If I understand correctly, Juggernaut is built on top of socket.io, and Faye competes with Juggernaut layer and socket.io layer combined. Recently Ryan Bates came up with a Faye wrapper called PrivatePub which makes it very easy to run Faye. But I…
Vlad
  • 8,038
  • 14
  • 60
  • 92
11
votes
2 answers

Juggernaut environment config

I'm trying to figure out how to run Juggernaut server in production – assuming that I would be able to configure different ports for the server in the development and production environment, because I can't control the port in my production…
Gordon Isnor
  • 2,065
  • 1
  • 19
  • 32
9
votes
3 answers

Working example of Rails 3.1 + Juggernaut Instant Messenger?

Are there any decent example apps for an ruby on rails 3 instant Messenger app based on any of the publish-subscribe messaging system Juggernaut? 1-1 chat with method of adding 2 users to a "conversation" Ways to protect the 1-1 conversation to…
Rubytastic
  • 15,001
  • 18
  • 87
  • 175
8
votes
5 answers

How to do live concurrent editing?

I am trying to build a rails app that's basically just a text-editor (with some additional features I can't find anywhere else - which is why I'm building it) One of the core features is live concurrent editing, or real-time collaborative editing…
Fredrik
  • 4,161
  • 9
  • 28
  • 31
6
votes
3 answers

I want to build a chat room using Rails, should I use juggernaut 2 or cramp?

Originally I planned to use Juggernaut, however, it is not compatible with Rails 3. And new Juggernaut 2 seems to be completely independent from Rails, which is not what I want. Then I found cramp, it looks quite neat, but is still under…
JayX
  • 1,754
  • 1
  • 18
  • 27
6
votes
1 answer

How to communicate with threads in Ruby?

I'm building a real time game, mostly chat based, and I need to have many of these chats running concurrently, receiving and sending data through web sockets. I have been told that instead of spawning one process per game, I should have one process…
HappyDeveloper
  • 12,480
  • 22
  • 82
  • 117
4
votes
1 answer

Rails 3.1 working with Socket.io/Juggernaut on Ubuntu 11.10

I couldn't get Juggernaut/Socket.IO running on Windows so I took a shot at getting it running on Linux. I don't know much Linux (or Rails for that matter). I can't get Socket.io/Juggernaut working on my Rails server. It works OK on OS X (so I know…
Derek
  • 9,773
  • 7
  • 29
  • 34
4
votes
1 answer

Juggernaut / Socket.io and authenticating single-user channel subscription

I'm new to Node JS and Socket IO, but I've heard a lot of good things about them so I wanted to take a look at them for use as a realtime notification system. In my scenario, a user will open a socket to listen for notifications that are posted to…
Paul
  • 4,422
  • 5
  • 29
  • 55
4
votes
2 answers

Rails - syncing - Faye, Juggernaut, Cool.io, plain old eventmachine

I have a need for syncing and have choice overload. It seems like the options available include: Faye, Juggernaut, Cool.io, plain old eventmachine Any suggestions? What are the most popular, especially in the RoR community? Thanks for any…
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
4
votes
2 answers

node.js and juggernaut pub/sub

I'm using express framework and juggernaut. I looked at many examples about juggernaut, all examples using this method(client side): var jug = new Juggernaut; jug.subscribe("channel_name", function(data){ console.log("Got data: " + data); …
sfs
  • 1,133
  • 2
  • 9
  • 9
3
votes
3 answers

Server Side Timers with Juggernaut 2

I am writing a rails app with Juggernaut 2 for real-time push notifications and am not sure how to approach this problem. I have a number of users in a chat room and I would like to run a timer so that a push can go out to each browser in the chat…
TenJack
  • 1,594
  • 4
  • 21
  • 35
1
2 3 4 5