[You can fix this if you're using Marlin](https://www.reddit.com/r/ender3/comments/btjk22/octoprint_is...), since Marlin allows you to configure the buffer size. Generally more buffer is better, but do be aware that increasing the buffer size will cause the printer to be less responsive to the "stop print" command on octoprint (since the printer will continue executing the commands that have been buffered).
I use Marlin 2.0.1-bugfix branch for firmware because stock creality lacks some useful GCodes (such as for print pausing) but otherwise I did nothing special.
I'm also using OctoDash (https://github.com/UnchartedBull/OctoDash) on the Pi which is mounted onto the printer with the Raspberry Pi 7" touch screen (https://i.imgur.com/p8Mf5Em.jpg) and removed the stock screen.
Watch 30-ish seconds starting at 2:57 here: https://youtu.be/Hvw3DrVAeTA
Also, the micro SD card slot has never worked well. For a while I had to be very gentle when inserting micro SD cards to have them stay in after the click. Now micro SD cards never stay in. I haven’t found any references to this issue with 3D printers online, but from what I can gather it is an issue seen on faulty micro SD card slots in other equipment. My fix has been to buy a micro SD card extender (flexible PCB), duct tape it in place, and pray it doesn’t come loose. It survived a 3 day print so far.