Questions tagged [channel-api]

The Channel API creates a persistent connection between your application and Google servers, allowing your application to send messages to JavaScript clients in real time without the use of polling.

217 questions
74
votes
5 answers

HTTP Get with 204 No Content: Is that normal

Is it a normal occurrence for an HTTP GET Request to have a response with status code 204 - No Content? Like, is this semantically correct concerning what an HTTP GET is supposed to accomplish? I know that a 204 - No Content is okay for an HTTP…
ecbrodie
  • 9,397
  • 19
  • 62
  • 109
36
votes
1 answer

Channel API Presence not triggering

I'm trying to handle disconnect / connect states using Presence in the Channel API. Here are some of my code. app.yaml handlers: - url: /(.*\.(gif|png|jpg|ico|js|css)) static_files: \1 upload: (.*\.(gif|png|jpg|ico|js|css)) - url: .* script:…
AlexCheuk
  • 4,873
  • 6
  • 28
  • 34
25
votes
6 answers

Implement Comet / Server push in Google App Engine in Python

How can I implement Comet / Server push in Google App Engine in Python?
Lev
  • 5,897
  • 5
  • 24
  • 29
18
votes
1 answer

google app engine channel api limitations

I have been using Google app engine for ~2 years now and love it. I am tasked with making a game and I wanted to use GAE as the backend. From what I understand the Channels API is meant for this kind of application. I got the tic-tac-toe demo…
rp90
  • 804
  • 1
  • 9
  • 20
16
votes
3 answers

Realtime game on Google Cloud : Channel API or Compute Engine?

We need to develop a multi-player game with real-time performance. This needs to be working worldwide (servers in America, Europe, Asia), and supporting a huge traffic. Using Google Cloud services for the hosting. We're thinking of references like…
15
votes
2 answers

Best Method of Channel Pooling in Google App Engine

It seems the only way to make the GAE Channel API financially viable is to implement some kind of pooling mechanism (one of the senior app engine product managers even told me this when I emailed them about the exorbitant price) to reuse channels…
depthfirstdesigner
  • 3,033
  • 4
  • 29
  • 48
10
votes
3 answers

Android Wear ChannelApi examples?

The latest Android Wear update comes with support for ChannelApi that can be used for sending files to/from wearable or handheld. The problem is I cannot find a single sample of how to use this functionality. The Android samples doesn't include this…
exkoria
  • 1,136
  • 2
  • 13
  • 26
10
votes
3 answers

App Engine Python Modules and channel service

I am using App Engine Modules in my python project. (https://developers.google.com/appengine/docs/python/modules/#Python_Background_threads) I am also using channels in m project: https://developers.google.com/appengine/docs/python/channel/ I want…
9
votes
1 answer

Massive multi-user realtime application with Google App Engine

I'm building a multiuser realtime application with Google App Engine (Python) that would look like the Facebook livestream plugin: https://developers.facebook.com/docs/reference/plugins/live-stream/ Which means: 1 to 1 000 000 users on the same…
Damien
  • 439
  • 5
  • 16
9
votes
1 answer

Channel API channel gets disconnected without onclose or onerror calls. JavaScript console has logs of failed HTTP calls to talkgadget.google.com

I have implemented Google App Engine's Channel API feature in my application. Everything runs smoothly. I create new channels every one hour for every user. I have managed to maintain one channel per session (same channel for different tabs in a…
Kumar
  • 633
  • 6
  • 20
7
votes
2 answers

Google App Engine Channel API

I am trying to learn GAE's channel API (using Java), but I cannot figure out where to start from. I went through Channel API Overview (Java) but the code posted there wasn't complete for brevity purposes. And since I m newbie, it would be very…
Shrey
  • 2,234
  • 3
  • 18
  • 24
7
votes
4 answers

Differences between XMPP and Channel API for Google App Engine

I am developing an application that doesn't reside on AppEngine and having the functionality of a chat putting in communication web clients (browser + javascript) and mobile clients (ActionScript). I'm thinking of using the XMPP protocol on…
7
votes
1 answer

AppEngine Channel API - Best way to check if a channel is still open (server side)

I have built a social network/dating type application on the AppEngine and am currently in the process of adding a chat built on top of the Channel API. However, the problem that I have is that users may reload or navigate to new pages while the…
Alexander Marquardt
  • 1,467
  • 14
  • 28
7
votes
2 answers

Consuming Google Channel API in C#

The official documentation doesn't mention the support, but I'm wondering if it is possible to hook up a client program instead of javascript to use the Channel API. I'm currently using the basic polling technique from a windows app, having the…
savagepanda
  • 829
  • 11
  • 25
7
votes
2 answers

App Engine Python Modules and inbound mail service

I am using App Engine Modules in my python project. (https://developers.google.com/appengine/docs/python/modules/#Python_Background_threads) I am also receiving email in m…
David Ward
  • 483
  • 3
  • 14
1
2 3
14 15