[pyar] [OT] Optimizar llamadas a API RESTfull

Angel Freire cuerty en gmail.com
Vie Sep 21 00:30:20 ART 2012


2012/9/20 Claudio Freire <klaussfreire en gmail.com>

> 2012/9/20 SAn <gringotumadre en gmail.com>:
> > 2012/9/20 João Mesquita <jmesquita en indicium.com.ar>:
> >> Y porque no PyZMQ y ZeroMQ?? Esta medio hecho para eso y es ... bueno
> ...
> >> rapido... Yo uso muchisimo y es increible como resuelve este tipo de
> >> problemas
> >
> > + 1
>
> Tengo que estar de acuerdo. El tema de "sincronizar datos" mapea muy
> bien a ZMQ, y PUB/SUB te va a simplificar mucho la vida en el futuro
> cuando necesites extender este mecanismo de sincronización.
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> Argentina - http://www.usla.org.ar
>

Si queres seguir trabajando sobre ReST podes usar los verbos HTTP PATCH y
PUT [0], en Django tenes tastypieapi [1] que en el cual podes hacer todo en
una sola llamada combinando ambos [2].

Coincido con lo que sugieren de que por ahi no es el mejor lugar para usar
webservices, y si bien ZeroMQ va a ser la solucion mas rapida,
Celery [3] en Django va a ser una opcion mas facil de implementar (El
backend de Redis es muy rapido y simple de usar).

[0] http://tools.ietf.org/html/rfc5789
[1] http://django-tastypie.readthedocs.org/en/latest/index.html
[2]
http://django-tastypie.readthedocs.org/en/latest/interacting.html?highlight=PATCH#updating-a-whole-collection-of-resources-put
[3] http://celeryproject.org/
-- 
http://blog.cuerty.com

"If you want to set off and go develop some grand new thing, you don't need
millions of dollars of capitalization. You need enough pizza and Diet Coke
to stick in your refrigerator, a cheap PC to work on and the dedication to
go through with it."
- John Carmack
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20120921/490c00aa/attachment.html>


More information about the pyar mailing list