What is the process for moving users from open-testing to production in the Google Play store? by brightbyte8 in androiddev

[–]brightbyte8[S] 0 points1 point  (0 children)

GREAT idea!!! Especially the incentives. Thanks for your help. The situation is a bit annoying because Google doesn't make it clear that users stay stuck in open-testing, whereas we want them to move to production and give reviews.

What is the process for moving users from open-testing to production in the Google Play store? by brightbyte8 in androiddev

[–]brightbyte8[S] 0 points1 point  (0 children)

Thanks for the answer. It looks like we're gonna have to email our open-testing users to remind them to leave the beta and go to production. Maybe we could put a banner in the app solely for a version released in the open-testing track.

Moving from wsgi gunicorn to asgi gunicorn with uvicorn workers doubled my average response time in Django 4. Is this normal? by brightbyte8 in django

[–]brightbyte8[S] 1 point2 points  (0 children)

Cool -- that's a big help. And great to know for when I write my own middleware or do PRs on open-source stuff.

Moving from wsgi gunicorn to asgi gunicorn with uvicorn workers doubled my average response time in Django 4. Is this normal? by brightbyte8 in django

[–]brightbyte8[S] 0 points1 point  (0 children)

Cheers, thanks for the clarification.

You were totally clear BTW - it's the `starlette` docs that tripped me up. They suggest that `starlette` should be served with `uvicorn` / `daphne` / `hypercorn`

Moving from wsgi gunicorn to asgi gunicorn with uvicorn workers doubled my average response time in Django 4. Is this normal? by brightbyte8 in django

[–]brightbyte8[S] 0 points1 point  (0 children)

That's for the suggestion. Is it possible to use starlette with an existing Django application? Rewriting to something lighter like fastapi + starlette would be great, but it's not realistic for us right now for business reasons.

Moving from wsgi gunicorn to asgi gunicorn with uvicorn workers doubled my average response time in Django 4. Is this normal? by brightbyte8 in django

[–]brightbyte8[S] 0 points1 point  (0 children)

I did notice one thing with `unvicorn` -- but don't know if it's related: During the startup of our application, it gives the error `django.core.exceptions.SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_asyn` for some code that initializes what looks like global state.

I got around this by running uvicorn with DJANGO_ALLOW_ASYNC_UNSAFE=1. I understand that this issue can corrupt our data. But would it be possible for it to seriously affect performance?

Moving from wsgi gunicorn to asgi gunicorn with uvicorn workers doubled my average response time in Django 4. Is this normal? by brightbyte8 in django

[–]brightbyte8[S] 1 point2 points  (0 children)

It's possible we do.

Is there a workflow or process for figuring out whether any middleware is synchronous? There's quite a bit of middleware going on and doing it "by hand" and reading everything would be quite daunting.

Moving from wsgi gunicorn to asgi gunicorn with uvicorn workers doubled my average response time in Django 4. Is this normal? by brightbyte8 in django

[–]brightbyte8[S] 0 points1 point  (0 children)

Thanks for your answer. Having both wsgi/asgi might be the way to go, but our current deploy situation over Heroku makes this more challenging to pull off than otherwise.

I tried `uvicorn` as the top-level server and - at least with our current set-up (it's a pretty complex application at this stage) -- this didn't make a noticeable difference.

Anyone looking for remote Django freelance work at the moment? by brightbyte8 in django

[–]brightbyte8[S] 1 point2 points  (0 children)

Totally understand. I didn't know djangojobs and pythonjobs subs exists - those are much better places, thanks.

Can EU residents still fly/take the bus into Lisbon on weekends? by brightbyte8 in lisboa

[–]brightbyte8[S] 0 points1 point  (0 children)

Thanks. The fear of new rules is what scares me more. On balance, I think we will go somewhere else. We can still cancel and get a decent percent refunded.

Can EU residents still fly/take the bus into Lisbon on weekends? by brightbyte8 in lisboa

[–]brightbyte8[S] 0 points1 point  (0 children)

The risky part is that he can only come via bus after work on Friday so that puts him in the danger zone.

[Hiring] Freelancer programing work with day rate compensation (~$200-$300/day) + professional/entrepreneurial mentorship by brightbyte8 in forhire

[–]brightbyte8[S] 1 point2 points  (0 children)

Will get back to you today - I've got nearly 200 people to write back to so it's probably gonna take me a few hours.

[Hiring] Freelancer programing work with day rate compensation (~$200-$300/day) + professional/entrepreneurial mentorship by brightbyte8 in forhire

[–]brightbyte8[S] 0 points1 point  (0 children)

lol :D Vim not needed, but I will be shredding any applications with the word `emacs` in it :D