# Using elastic with or without backend

**URL:** <https://discuss.elastic.co/t/using-elastic-with-or-without-backend/77487>\
**Category:** Elasticsearch\
**Created:** [March 6, 2017, 11:11am UTC](https://discuss.elastic.co/t/using-elastic-with-or-without-backend/77487 "2017-03-06T11:11:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramon\_Staal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramon_staal/32/13984_2.png) [@Ramon\_Staal](https://discuss.elastic.co/u/Ramon_Staal)\
**Post date:** [March 6, 2017, 11:11am UTC](https://discuss.elastic.co/t/using-elastic-with-or-without-backend/77487/1 "2017-03-06T11:11:49Z")

</div>

Hello,

this is my first post, and i'm quite new to Elastic.  
A colleague and i had a discussion about the following use-case:

A public website with a frontend application (AngularJS) and a .net backend + mssql backend.  
The websites searches (on a big set of criteria) through a real estate database. We'd like to replace the backend with elastic(cloud). This because of performance issues at peak hours.

To ensure the safety my colleague suggested to setup a Laravel (PHP) backend to handle the incoming requests from the angular application, organize and setup the request (from php) to Elastic.  
Main reason is that a client could never query the whole "database". (The data isn't computed or enriched within PHP)

I'd prefer a setup without PHP and let X-pack handle the security of the data. So there's no PHP thread needed which still can cause performance issues when a large number of visitors use the website. (The website has to be highly scalable)

I do hope this use-case is familiair. Looking forward to your experiences.

Kind Regards Ramon

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 9, 2017, 11:12am UTC](https://discuss.elastic.co/t/using-elastic-with-or-without-backend/77487/2 "2017-03-09T11:12:33Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
