Welcome to Italy! Where a line can become……well, no line! LOL! My daughter & I were the 2nd/3rd people in line to go back down the hill, and we still had to establish our space & be quick on the move to board the bus. And this was in 2022 when travelers were still deciding whether to come post-Covid. We took the first bus of the day up to Ravello, so that one was fine. The gardens weren’t open, yet, so we had a nice espresso & cornetto in the piazza before walking into the garden as the first people. I agree - an amazing little town with stunning views!
Update: For the amount of people arriving in Ravello when we were back out of the gardens & ready to leave after a leisurely, lovely time and a stop at the gelato shop, I would consider staying in the town of Amalfi. We stayed two nights in Salerno & three nights in Amalfi. So we easily could take that first bus up to Ravello.