Re: [google-appengine] Re: Channel limit

2011-11-14 Thread Timofey Koolin
It was my mistake while I parse messages.

I try send 1000 messages - it delivery ok.

Do google save sended messages in any buffer when channel disconnect. What
 size of this buffer?

2011/11/14 Timofey Koolin timo...@koolin.ru

 I don't have any exceptions on server-side and client side.
 Size of every js about 500 bytes.


 2011/11/14 Timofey Koolin timo...@koolin.ru

 My code look like:
 updates = get_updates(...)
 channel = get_channel(...)
 for update in updates:
 id = memcache.incr('mess id', initial_value=1)
 update['mess_id'] = id
 js = json.dumps(update)
 channel.send_message(channel, js)

 I have about 50 updates.

 After receive about 20-30 messages client side code receive one message
 infinite times and don't receive new messages. For example:
 receive 1
 receive 2
 receive ...
 receive 21 pause 20-60 sec
 receive 21 pause 20-60 sec
 receive 21 pause 20-60 sec
 receive 21 pause 20-60 sec
 receive 21 pause 20-60 sec
 ...


 2011/11/14 Timofey Koolin timo...@koolin.ru

 Amy Unruh, i far from any quota deny - all quotas are ok.
 Yes, I know about handle channel disconnect, but I write application for
 internal-use with good internet-connection and i don't want handle
 connect/disconnect and make internal buffer for messages (when channel
 disconnected) if it possible.

 I'm send every email as different message.

 Yes, I forget about one message size limit - thanks, I try check it.


 2011/11/14 Max thebb...@gmail.com

 hi Rekby,

 I am pretty sure your 100 emails just exceed channel API 32K max
 message size.

 Check message size before you send

 Max

 --
 You received this message because you are subscribed to the Google
 Groups Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ.

 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




 --
 Blog: www.rekby.ru




 --
 Blog: www.rekby.ru




 --
 Blog: www.rekby.ru




-- 
Blog: www.rekby.ru

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Channel limit

2011-11-13 Thread Max
hi Rekby, 

I am pretty sure your 100 emails just exceed channel API 32K max message 
size. 

Check message size before you send

Max

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Channel limit

2011-11-13 Thread Timofey Koolin
Amy Unruh, i far from any quota deny - all quotas are ok.
Yes, I know about handle channel disconnect, but I write application for
internal-use with good internet-connection and i don't want handle
connect/disconnect and make internal buffer for messages (when channel
disconnected) if it possible.

I'm send every email as different message.

Yes, I forget about one message size limit - thanks, I try check it.

2011/11/14 Max thebb...@gmail.com

 hi Rekby,

 I am pretty sure your 100 emails just exceed channel API 32K max message
 size.

 Check message size before you send

 Max

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ.

 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




-- 
Blog: www.rekby.ru

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Channel limit

2011-11-13 Thread Timofey Koolin
My code look like:
updates = get_updates(...)
channel = get_channel(...)
for update in updates:
id = memcache.incr('mess id', initial_value=1)
update['mess_id'] = id
js = json.dumps(update)
channel.send_message(channel, js)

I have about 50 updates.

After receive about 20-30 messages client side code receive one message
infinite times and don't receive new messages. For example:
receive 1
receive 2
receive ...
receive 21 pause 20-60 sec
receive 21 pause 20-60 sec
receive 21 pause 20-60 sec
receive 21 pause 20-60 sec
receive 21 pause 20-60 sec
...


2011/11/14 Timofey Koolin timo...@koolin.ru

 Amy Unruh, i far from any quota deny - all quotas are ok.
 Yes, I know about handle channel disconnect, but I write application for
 internal-use with good internet-connection and i don't want handle
 connect/disconnect and make internal buffer for messages (when channel
 disconnected) if it possible.

 I'm send every email as different message.

 Yes, I forget about one message size limit - thanks, I try check it.


 2011/11/14 Max thebb...@gmail.com

 hi Rekby,

 I am pretty sure your 100 emails just exceed channel API 32K max message
 size.

 Check message size before you send

 Max

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ.

 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




 --
 Blog: www.rekby.ru




-- 
Blog: www.rekby.ru

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Channel limit

2011-11-13 Thread Timofey Koolin
I don't have any exceptions on server-side and client side.
Size of every js about 500 bytes.

2011/11/14 Timofey Koolin timo...@koolin.ru

 My code look like:
 updates = get_updates(...)
 channel = get_channel(...)
 for update in updates:
 id = memcache.incr('mess id', initial_value=1)
 update['mess_id'] = id
 js = json.dumps(update)
 channel.send_message(channel, js)

 I have about 50 updates.

 After receive about 20-30 messages client side code receive one message
 infinite times and don't receive new messages. For example:
 receive 1
 receive 2
 receive ...
 receive 21 pause 20-60 sec
 receive 21 pause 20-60 sec
 receive 21 pause 20-60 sec
 receive 21 pause 20-60 sec
 receive 21 pause 20-60 sec
 ...


 2011/11/14 Timofey Koolin timo...@koolin.ru

 Amy Unruh, i far from any quota deny - all quotas are ok.
 Yes, I know about handle channel disconnect, but I write application for
 internal-use with good internet-connection and i don't want handle
 connect/disconnect and make internal buffer for messages (when channel
 disconnected) if it possible.

 I'm send every email as different message.

 Yes, I forget about one message size limit - thanks, I try check it.


 2011/11/14 Max thebb...@gmail.com

 hi Rekby,

 I am pretty sure your 100 emails just exceed channel API 32K max message
 size.

 Check message size before you send

 Max

 --
 You received this message because you are subscribed to the Google
 Groups Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/I_rB81Ns8lsJ.

 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




 --
 Blog: www.rekby.ru




 --
 Blog: www.rekby.ru




-- 
Blog: www.rekby.ru

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.