News for hackers. Stuff that matters.
Re:Pusher - Realtime client push service powered by websockets by Tawheed on Wednesday March 24, 2010 @05:00PM (#1216881)
This is really awesome; except as an app developer, I really rather get a library that I own and have on my own infrastructure than a SaaS model, especially for something so critical to my application.
Re:Pusher - Realtime client push service powered by websockets by petercooper on Wednesday March 24, 2010 @06:59PM (#1217135)
If you just want the raw "back end WebSocket-compatible multiplexing daemon" functionality, that's not hard to code/devise. You can use something like: http://github.com/gimite/web-socket-ruby - What services like Pusher provide is all the API stuff on the front, maintaining the servers, keeping those daemons running, and, well, just making it super easy to get going without worrying about the back end so much.
Re:Pusher - Realtime client push service powered by websockets by Tawheed on Thursday March 25, 2010 @02:18AM (#1217864)
All the API stuff on the front I'd pay for. However, I'm already paying for "maintaining servers, keeping them running, and worrying about the backend" -- so I don't want to pay for it again.

This might just be MY preference, and others might beg to differ.

Re:Pusher - Realtime client push service powered by websockets by dctanner on Wednesday March 24, 2010 @05:23PM (#1216926)
It depends on the type of app you're building. We built Pusher to complement existing AJAX workflows and make adding collaboration easy. There's lots more you can do with it though.
Re:Pusher - Realtime client push service powered by websockets by slig on Wednesday March 24, 2010 @09:30PM (#1217433)
I'm thinking about giving this a try: http://github.com/slact/nginx_http_push_module
Re:Pusher - Realtime client push service powered by websockets by mloughran on Thursday March 25, 2010 @11:00AM (#1218561)
We tried nginx http_push_module before building pusher, and it was definitely one of the inspirations. I'd recommend it if you want to use long polling and are happy to maintain your own infrastructure.
Re:Pusher - Realtime client push service powered by websockets by slig on Thursday March 25, 2010 @11:27AM (#1218608)
Thanks for the info!
Re:Pusher - Realtime client push service powered by websockets by dctanner on Wednesday March 24, 2010 @05:29PM (#1216943)
Luke Redpath has also published an interesting post: Pushing events to your iPhone using WebSockets and Pusher http://lukeredpath.co.uk/blog/pushing-events-to-your-iphone-...
Re:Pusher - Realtime client push service powered by websockets by Splines on Thursday March 25, 2010 @02:13AM (#1217858)
I've been using notifo to notify myself of the completion long-running computing tasks.

Growl could probably do the same thing, but I already have notifo working and I'm a cheapskate. (Plus, IIRC if I want to use Prowl I need to have Growl running on a PC somewhere).

Re:Pusher - Realtime client push service powered by websockets by Rauchg on Wednesday March 24, 2010 @05:02PM (#1216892)
Re:Pusher - Realtime client push service powered by websockets by Rauchg on Wednesday March 24, 2010 @05:33PM (#1216948)
Also, Socket.IO fallbacks to flash and other non-socket methods (htmlfile, xhr polling, xhr multipart, more to come), while conserving a WebSocket-like API. And you can implement any protocol you want on top of it (such as STOMP, Bayeux, XMPP).
Re:Pusher - Realtime client push service powered by websockets by andr on Wednesday March 24, 2010 @05:04PM (#1216896)
It's usually writing a good server that is the pain point here.
Re:Pusher - Realtime client push service powered by websockets by Rauchg on Wednesday March 24, 2010 @05:08PM (#1216903)
http://github.com/Rosepad/Socket.IO-node/ powered by Node.JS, check out the basic chat app in 10 LoC
Re:Pusher - Realtime client push service powered by websockets by a-priori on Wednesday March 24, 2010 @04:44PM (#1216837)
Oh, fun :) I'm just about to launch a similar service, called Zeropoll. It seems you're pushing the event-handling logic to the client side, whereas Zeropoll generates Javascript on the server (ala RJS) and pushes that to the client.

Your demo apps are great, by the way. Just curious, what's your business model going to be?

Re:Pusher - Realtime client push service powered by websockets by dctanner on Wednesday March 24, 2010 @05:25PM (#1216933)
When we're out of beta we will be offering several plans, probably limiting the max clients. There will always be a free plan though :)
Re:Pusher - Realtime client push service powered by websockets by andr on Wednesday March 24, 2010 @05:00PM (#1216882)
This is great, I was thinking about making a similar app, but never got around to it.

I'd love a simple ACL for channels. For example, you could do S3-style channel+timestamp+hash authentication, with the hash generated on the server with a secret key. Then for every channel I'd have channel17@r for read-only access, channel17@w for write-only, and channel17 for rw access (default). The way I understand the current system once I have the key for a channel I have unlimited access to it forever.

Re:Pusher - Realtime client push service powered by websockets by aaronblohowiak on Wednesday March 24, 2010 @05:07PM (#1216902)
I am working on something exactly like this, but as an open-source NodeJS project.. it lets you define a parameter (by default, session_id) and then checks a memcache instance for that key, and uses that to get access to channels with a specific prefix (by default "user:")... so you can have a channel "user:34343". This shoves authentication back into your app with the only dependency being a memcache instance shared by the NodeJS server and the web server. All of the other communication is similarly RESTful. if you want an email when i've got more to show, let me know.
Re:Pusher - Realtime client push service powered by websockets by maxthelion on Wednesday March 24, 2010 @05:46PM (#1216980)
Glad you think it's cool, we are pretty excited.

Authentication and access control are features which are very important, and we are working on a couple of options for doing it. Something similar to what you have described is the current favourite, though the hashing probably won't be passed through at channel level.

We decided to get the Pusher launched into beta with stuff like this left out so that we could get a gauge for people's general enthusiasm for such a service.

We'll be busy in the next couple of weeks reacting to feedback, so it is great to have these kind of comments :)

Re:Pusher - Realtime client push service powered by websockets by krobertson on Wednesday March 24, 2010 @07:24PM (#1217185)
This sounds very interesting, but since it is a SaaS model and you are relying on their infrastructure, what exactly are they looking at as their business model? Freemium? Any idea of pricing?

It is something I could use in an app I'm working on right now, but I'm just building a simple free tool and would be interested what their plan is for the service before I get myself tied to it.

Re:Pusher - Realtime client push service powered by websockets by sev on Wednesday March 24, 2010 @05:37PM (#1216957)
Looking good! One question: As I was checking out the "theater booking" demo, I opened two windows, and in one window I checked out 2 seats. It required an actual refresh on the other window to show the updated seating chart; however, on the other app I tried (to-do list), that was not necessary.

Was this done on purpose?

Re:Pusher - Realtime client push service powered by websockets by maxthelion on Wednesday March 24, 2010 @05:49PM (#1216989)
Sounds like a bit of a bug.

There may be minor glitches in the demo apps. They haven't been where we've been focussing the majority of our energy :)

Re:Pusher - Realtime client push service powered by websockets by Raphael on Wednesday March 24, 2010 @10:35PM (#1217536)
Great! Exactly what I need to supplement Google App Engine.