Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Instead of grinding coffee, Starbucks is grinding to a halt in some of its busiest locations.

Starbucks' mobile order and pay system, which allows people to order ahead and then swoop into a store, sounds like a brilliant idea, but the company said it has had some growing pains with the system.

Byers Market Newsletter Get breaking news and insider analysis on the rapidly changing world of media and technology right to your inbox. This site is protected by recaptcha

The mobile technology was so popular that in in the first quarter of the year, 1,200 of Starbucks' busiest locations had 20 percent or more of their transactions in peak hours coming from mobile order and pay customers, according to the company.

Starbucks cups Elise Amendola / AP file

Related: 5 Ways a Smart Assistant Can Transform Your Morning

But store traffic ground to a near halt as baristas worked to keep up with the influx of orders from mobile, in turn, possibly causing some walk-in customers to leave. As a result, the company has been experimenting with new ways to "more efficiently handle increased demand," both from mobile and walk-in customers during peak hours.

Those steps have reportedly included training some employees to specifically handle mobile orders and additionally, experimenting with adding more employees in some high traffic locations.

"Steps we have taken since the beginning of the calendar year to increase throughput have enabled us to better and more efficiently handle increased demand," the company told NBC News. "And we saw measurable progress in peak transaction throughput in Q2 as compared to Q1 in these busiest stores."

In U.S. company-owned stores, mobile ordering currently accounts for 8 percent of transactions, a Starbucks representative said.

So there you have it. Technology can try — but rest assured, nothing is going to get in the way of you and your coffee, however you choose to order it.