I’ve figured my original question out. API Gateway is usually paired with
Lambda. They scale easily, but I’m pretty much expecting 24/7 usage, which
Lambda isn’t the best option for(???). I use cookiecutter-django, so I’ll
be using ECS. Unfortunately, costs are sky high... If anyone’s able to help
me out any further regarding costs, please do so. Thanks!

I can provide one last hint. 1) understand what AnonymousUser model is. 2)
Look at
https://github.com/SimpleJWT/django-rest-framework-simplejwt/blob/master/rest_framework_simplejwt/models.py#L31

On Tue, Mar 24, 2020 at 11:19 PM Motaz Hejaze <trapper...@gmail.com> wrote:

> That was unexpected , i thaught about using python module socketio
>
> On Wed, 25 Mar 2020, 5:08 am Andrew C., <andreke12...@gmail.com> wrote:
>
>> The only hint I can freely provide is to use celery tasks. They let you
>> do taskname.delay(pk_user1, for_chat_pk). You  can look online for an
>> article with the url dev.to to setup your asgi.py file. That’s all I can
>> freely give out, though. Good luck!
>>
>> On Tue, Mar 24, 2020 at 10:40 PM Motaz Hejaze <trapper...@gmail.com>
>> wrote:
>>
>>> Any hint how you built the chat without channels ? Because i realy hate
>>> its complixity ..
>>>
>>> On Wed, 25 Mar 2020, 4:30 am Yoo, <andreke12...@gmail.com> wrote:
>>>
>>>> Hi all! I built a chat app without dj channels, but now I’m stuck with
>>>> pricing... and just AWS in general. Every time I look up Websockets, I’m
>>>> told to use AWS API Gateway. Why? And if so, how would I split my project
>>>> between EC2 for website and API Gateway for my mobile users and for chats?
>>>>
>>>> Or am I comparing the wrong things? Is the comparison between gateway
>>>> and load balancer?
>>>>
>>>> --
>>>> 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 view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/0babe8f3-1472-4bae-bab9-73e265969a87%40googlegroups.com
>>>> .
>>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAHV4E-f%2B%3DTTw8b-bC7ZN92VR5yizSOQhTfFKsj0FePCVbg1SGw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAHV4E-f%2B%3DTTw8b-bC7ZN92VR5yizSOQhTfFKsj0FePCVbg1SGw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJVmkNk-g8SLwebURgnFxd4qHBf2nGe9%2B%2B%3DXaWd1xa1M%2BfSzXw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAJVmkNk-g8SLwebURgnFxd4qHBf2nGe9%2B%2B%3DXaWd1xa1M%2BfSzXw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHV4E-frCXULNWRinkJ4h3MBrb1LGHbnS%2Bgvxp9U9m996c_MyA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHV4E-frCXULNWRinkJ4h3MBrb1LGHbnS%2Bgvxp9U9m996c_MyA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJVmkNkOuj%2BYj_J-rV2bTooZz0xjayam76kuOeXuP56tAXDOuw%40mail.gmail.com.

Reply via email to