+1.

You may even be able to do this using uWSGI plugins and Redis which would
be even faster.

Django is certainly not the right tool for the job for this use case though.

Cal


On Thu, Jun 19, 2014 at 2:24 AM, carlos <crocha09...@gmail.com> wrote:

> Hi, maybe not all with django, maybe you need learn gevent
> http://www.gevent.org/
> socket.io
> http://socket.io/
>  and here is example for a chat with redis and django + gevent + socketio
> etc.
> https://github.com/rlr/django-gevent-socketio-redis-chat-example
>
> Cheers
>
>
> On Wed, Jun 18, 2014 at 4:46 PM, Pedro <pdroal...@gmail.com> wrote:
>
>> Hello,
>>
>> i'm working in a mobile app that depends of a Django server (to manage
>> user data and stuff).
>> This mobile app is about a social network with users interacting. It
>> should have a chat system, where two or more users can send and receive
>> messages and photos.
>>
>> I'm thinking in the best way to implement the communication and the model
>> on the server. My first idea is to use a simple model with rooms and
>> messages (each message belong to a room). To send messages from a client to
>> the server, i think i could use http requests, like GETs and POSTs, where i
>> would implement syncronization methods and stuff.
>>
>> Is this the best approach to solve this problem on Django?
>>
>>
>> ----------
>> Pedro Alves
>>
>> *Mestrando em Ciência da Computação*
>> *Universidade Estadual de Campinas*
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CACW_pa0Dfom4Eydop5qedMMP5fbuBx-yZAUgDrhDApfewDFWbQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CACW_pa0Dfom4Eydop5qedMMP5fbuBx-yZAUgDrhDApfewDFWbQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAM-7rO0052uKjqh%3D5UEt-%2BGo1-muj3k-Yu7%2BFKjVFLCOTLi2AA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAM-7rO0052uKjqh%3D5UEt-%2BGo1-muj3k-Yu7%2BFKjVFLCOTLi2AA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHKQagEfYnwj4ZEWL36rpPYBxjV47wkbkDD0YWvyQYzf_GKJ%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to