External ssd

It would have to be USB 3.0 or better, actual good SSD and an adapter case for it. Flash drives and some “external hard drives” could perform much worse, especially with random access as they are designed just to store and retrieve data.