Re: Docker performance on Mac OS X
Hi Jason Thank you for your response. I misdaignosed my issue. It actually had nothing to do with Docker and instead was a slow performing form in the django admin that had a widget referencing a foreign key which was taking forever to build. I fixed it with raw_id_fields, so am now back on docker In terms of my docker usage I will verse myself in allocations etc cheers Chris On Monday, 23 September 2019 12:18:03 UTC+1, Jason wrote: > > What kind of hardware are you working with? What resources do you have > allocated to Docker. Are you including tens of thousands of files in > volume mounts? > > We use docker extensively at work, and I've found it helps to have at > least half of your machine's hardware available to docker. My 2018 MBP has > 5 cores and 10GB RAM allocated. > > However, docker is very sensitive to the amount of files being included > and being watched over. SO if you have thousands to tens of thousands of > files in your volume mount symlinks, performance is going to be poor. > -- 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/f9a2c6a3-9199-4eee-b362-024f38ba9469%40googlegroups.com.
Re: Docker performance on Mac OS X
What kind of hardware are you working with? What resources do you have allocated to Docker. Are you including tens of thousands of files in volume mounts? We use docker extensively at work, and I've found it helps to have at least half of your machine's hardware available to docker. My 2018 MBP has 5 cores and 10GB RAM allocated. However, docker is very sensitive to the amount of files being included and being watched over. SO if you have thousands to tens of thousands of files in your volume mount symlinks, performance is going to be poor. -- 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/2542d571-0c64-473a-81aa-7aacea2ab300%40googlegroups.com.
Docker performance on Mac OS X
Hi All I generally use the Django Cookiecutter project to start my projects and have started using *docker* for my local development. However I have started to get some really awful performance with pageloads taking 30-40 seconds. I am know considering stopping using docker entirely. Has anyone else encountered this on Mac OS and have any wisdom to share to alleviate? Thanks Chris -- 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/CACQBJYXuQ7i3oe22y%2B9c9dOVb5%2Bdc-YjyyrkUZ_GZkbCEp1zMw%40mail.gmail.com.