[Developers] webservice in the server-side and caching doubts
Guillermo Cifuentes Achotegui
guicifuentes at hotmail.com
Sun Aug 24 23:11:01 UTC 2008
Hi all !
I'm developing a new webservice that will use freebase for displaying some info about companies and its products and things like these. What I mean is that more or less the types for search are quite static. The backend is developed in python. I've been using the python's api and it's ok. But now when I have to implement it, i'm not sure at all how could I develop the service.
What would you suggest using: the mjt templates (client side, javascript) or would you fetch the data before from the server?
Well this is a hard question, but the point of the service is to integrate the service with my own data, so I think that processing data in the backend would be more right than processing a lot of data in javascript. At this point I have a question, fetching and maping the data between both services is expensive (in network and processing terms, which involves lag for the final user) so the solution is caching. Alright, which caching strategy do you use? I find memcached it's not intuitive caching this type of data where there're lots of relations between them so I cannot figure myself how could I cache things.
So,
Which approach do you use when you need to cache data from freebase in your own server? if you use memcached how do you group information for beeing cached by one key? Does exist other alternatives?
Thanks in advance
_________________________________________________________________
¡Lo mejor de MSN y Windows Live en tu móvil! Hotmail, Messenger, Spaces… Pruébalo ya y disfruta de todas sus ventajas donde quieras
http://serviciosmoviles.es.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080824/e413aa0d/attachment.htm
More information about the Developers
mailing list