4 ms·
My most popular StackOverflow question is that phenomenon exactly: https://stackoverflow.com/questions/58277794 https://stackoverflow.com/questions/58277794 No
by sa46 4y ago
My most popular StackOverflow question is that phenomenon exactly: https://stackoverflow.com/questions/58277794 https://stackoverflow.com/questions/58277794
No root cause after 3 years. The best guess is the overhead of IO somewhere in the stack.
- charrondev 4y agoAre you using the “new” file synchronization? The combination of that, the new virtualization framework that stabilized last year, and upgrading to a MacBook with an M1 Pro, the relatively large codebase I run daily zips along very quickly. It’s made up of: - a PHP-fpm container running a 5m LoC codebase - a nodeJS container running a webpack dev server instance on a 1m LoC frontend codebase - 2 elasticsearch containers (one for logs and 1 for for app search) - 2 Kibana container - 1 logstash container - A rabbitmq container - a memcached container - a redis container - a Percona container - 3-4 micro services each in there own container. - an imgproxy container All of this runs quite snappily in ~6 GB of RAM and I’ve never noticed any slowness while also running Edge, slack, VSCode, PHPStorm, zoom, and a bunch of terminal windows, and I could probably get that down a bit by consolidating the elasticsearch and kibana instances.