On 15.05.2012 06:12, Ash wrote:
> Hi thanks for the reply - I didn't see it until now, PATCH is great
> and would help a lot with updates and deletes but the main slow down
> I
> have been seeing is in triggering multiple GETs. The API layer I have
> written can batch together all the reads into one package so that
> only
> one HTTP connection setup/teardown is required. This has massively
> increased throughput but I would still like to switch to TastyPie so
> there is less to maintain.
>
> Basically I am looking for something similar to PATCH but for GETs.
You can do multiple GETs with this:
http://django-tastypie.readthedocs.org/en/latest/interacting.html#selecting-a-subset-of-resources
Is that what you mean?
>> [1]
>>
>> Is there something else you might need?
>>
>> On Thu, May 3, 2012 at 10:15 PM, Ash wrote:
>>
>>> Hi guys, does TastyPie have a batch mode or any way of grouping
>>> HTTP requests together to reduce latency?
>>>
>>> I have scoured the web but have not found a thing related to this
>>> which seems weird. I have written an API layer that includes batch
>>> mode and I saw a massive speed up once it was enabled (I am doing
>>> a lot of bulk operations for a sync).
>>>
>>> Any idea of if this functionality will be added in future or if
>>> there is an alternative speed up available?
>
>
> Links:
> ------
> [1]
>
>
http://django-tastypie.readthedocs.org/en/latest/interacting.html#bulk-operations
--
S pozdravom / Best regards
Daniel Gerzo