How much data can I submit through submitDelta()?

3 views
Skip to first unread message

GH

unread,
Oct 7, 2009, 3:12:48 PM10/7/09
to Google Wave API
I want to send a lot of data to a robot via a gadget through the
javascript api using the submitDelta() method (so through the gadget
state). What is the most data I can send through? Can I send more
data if I split it up into multiple key-value pairs?

Thanks!

Brian Kennish (Googler)

unread,
Oct 7, 2009, 6:11:13 PM10/7/09
to google-...@googlegroups.com

Hey Greg, what I said during office hours was about right -- blip
contributors plus XML plus annotations can currently total 100K.
Gadget state doesn't have an independent limit, which makes it pretty
hard to predict whether your state pushes are going to succeed.

The total limit is something of an open question, though. If you have
a use case that suggests the limit is too low, submit a feature
request and help convince us.

Teddy Jasin

unread,
Oct 27, 2009, 12:18:07 AM10/27/09
to Google Wave API
ahhh I think what GH asked is what I wanted to know too...

my robot is sending data to gadget using submitdelta.
the data sending is unicode text like this way:
delta = {'surahcontent': u'\u0628\u0650\u0633\u0652\u0645\u0650
\u0627\u0644\u0644\u0651\u064e\u0647\u0650
\u0627\u0644\u0631\u0651\u064e\u062d\u0652\u0645\u064e
\u0670\u0646\u0650 \u0627\u0644\u0631\u0651\u064e\u062d\u0650\u064a
\u0645\u0650 \ufd3f \u0661\ufd3e\u0627\u0644\u0652\u062d\u064e
\u0645\u0652\u062f\u064f \u0644\u0650\u0644\u0651\u064e\u0647\u0650
\u0631\u064e\u0628\u0651\u0650 \u0627\u0644\u0652\u0639\u064e
\u0627\u0644\u064e\u0645\u0650\u064a\u0646\u064e \ufd3f \u0662\ufd3e',
'surahtitle': u'Al-Faatiha - The Opening (1-2)', 'translations':
u' (1) In the name of Allah, Most Gracious, Most Merciful.\n (2)
Praise be to Allah, the Cherisher and Sustainer of the worlds;\n'

most of the times the data is very long. This caused my gadget not
showing even though there's no error in the log.

On Oct 8, 6:11 am, "Brian Kennish (Googler)" <byoo...@google.com>
wrote:
Reply all
Reply to author
Forward
0 new messages