On a server is there a recommendation for how many workers to have running?
With Gunicorn we would run...
def max_workers():
return cpu_count() * 2 + 1
On Thursday, February 9, 2017 at 11:38:07 AM UTC+13, Andrew Godwin wrote:
>
> The difference is mostly in Python performance - threading
You can also check the following link:
https://simpleisbetterthancomplex.com/tutorial/2017/02/18/how-to-create-user-sign-up-view.html
On Oct 9, 2017 3:34 AM, "Tunde Bakare" wrote:
> Hello,
>
> I am new to Django. And i have gone through materials for steps and ways
> to create Login page for an
Hi,
i read the article, because i have the same situation. Its not clear for me
how to use the receive_many function outside Django. Its only possible to
send message
*Group('sensor').send({'text': 'Hello, world!'}) *from outside and receive
it on the browser.
But not to receive a message.
Hi,
My project is to develop a Web Interface for a complex machine.
- The web interface should be applied for maintaining and diagnostics.
- The webserver should run on a embedded device.
- On the embedded device a process which takes all the required data
from the complex machine
Hi,
as far as i understood cdraccess is a DB gust user, right?
If so, from your DB admin user, grant cdraccess to access MySQL environment
table 'mysql.user' as follow:
GRANT SELECT ON `mysql`.`user` TO 'user_gui'@'%';
To me it worked,
Ivan
On Monday, January 25, 2016 at 7:52:33 PM UTC+1, Ja
Hello,
I am using 2nd Generation cloud SQL (group replication) with Django.
Django creates savepoints when nesting atomic transactions. Group
replication supports savepoints from MySQL 5.7.19 and up.
Cloud sql is using version 5.7.14. When will google upgrade the cloud SQL
version as this is a
Hi,
as far as i understood cdraccess is a DB gust user, right?
If so, from your DB admin user, grant cdraccess to access MySQL environment
table 'mysql.user' as follow:
GRANT SELECT ON `mysql`.`user` TO 'cdraccess'@'%';
To me it worked,
Ivan
On Thursday, January 14, 2016 at 2:27:27 PM UTC+1,
It isn't clear what are you looking for but if you need instructions on
creating registration, login, logout views then this[1] is a good place to
start. Also, look into another chapter where the author talks about using
django-registration package to remove the hassle of building your own
regi
On Oct 8, 2017 11:25 AM, "Xristos Xristoou" wrote:
> In the background celery worker picks your task and executes it. It
> doesn't matter how long that takes. Once task is completed worker waits for
> next task.
>
> Every task gets id which you can return to frontend and then for example
> us
On Oct 8, 2017 9:44 PM, "Ken Jenney" wrote:
1) I'm using a service account. I verified the DN's by connecting using
Apache Directory Studio.
I'm assuming this means that you only verified that your intended DN
strings are valid and that the passwords for both the service account and
your user a
On Oct 8, 2017 3:21 PM, "Christophe Pettus" wrote:
On a Django-related project I maintain, someone's submitted a PR that
includes a tox.ini file. I'll admit I've not used tox before; how standard
is it for Django testing? I like the idea of being able to run tests
against multiple versions in p
Hi Antonis,
Thanks for your response. You are right, The issue wasn't in MySQL or even
Django ORM. We were using Cachalot
(http://django-cachalot.readthedocs.io/en/latest/) for query caching which
was causing the issue. Disabling cachalot fixed the issue. Would need to
look more into query cac
12 matches
Mail list logo