5 years ago

Updating different parts of view using ajax calls ( big response time )

Posted 5 years ago by Aktara


We work on centralized webpage in laravel with a lot of clients. This webpage has view in which every second call a lot of ajax query to different laravel route. If only one client has opened page, everything works ok. Response for this ajax call take about 200ms. But if there are 10 clients(for example), server is too busy and stop responding. If we rewrite this post script to pure php(withou laravel) reponse is about 2ms. But we cant do it, because we need laravel functions(autentification, routes atc.) and security takes role too. Is there some another solution how to do this laravel ajax post calls faster?

Please sign in or create an account to participate in this conversation.