# ECommerce App on ES

**URL:** <https://discuss.elastic.co/t/ecommerce-app-on-es/9761>\
**Category:** Elasticsearch\
**Created:** [November 19, 2012, 4:21pm UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761 "2012-11-19T16:21:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Built\_App\_On\_ES](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@Built\_App\_On\_ES](https://discuss.elastic.co/u/Built_App_On_ES)\
**Post date:** [November 19, 2012, 4:21pm UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/1 "2012-11-19T16:21:26Z")

</div>

Hi Team, I am planning to develop a Multi-tenet E-Commerce App on Elastic  
Search. anyone on the same lines..

Suggestions and recommendations please..

--

---

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [November 20, 2012, 3:26am UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/2 "2012-11-20T03:26:42Z")

</div>

Good to hear 🙂

Do you have a specific question?

## Otis

Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)

On Monday, November 19, 2012 11:21:26 AM UTC-5, Built-App-On-ES wrote:

> Hi Team, I am planning to develop a Multi-tenet E-Commerce App on Elastic  
> Search. anyone on the same lines..
> 
> Suggestions and recommendations please..

--

---

<div class="post-metadata">

**Author:** ![Built\_App\_On\_ES](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@Built\_App\_On\_ES](https://discuss.elastic.co/u/Built_App_On_ES)\
**Post date:** [November 20, 2012, 3:32am UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/3 "2012-11-20T03:32:04Z")

</div>

Hey thanks for the reply...for Multi tenant what is best practice.. create  
multiple indexes or have client ID in the document

--

---

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [November 21, 2012, 3:52am UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/4 "2012-11-21T03:52:01Z")

</div>

You may hate me for saying it, but: it depends.

Rough guidelines:  
If there will be a lot of tenants, consider shared indices and routing.  
If there will be a few tenants, consider separate indices.

## Otis

Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)

On Monday, November 19, 2012 10:32:04 PM UTC-5, Built-App-On-ES wrote:

> Hey thanks for the reply...for Multi tenant what is best practice.. create  
> multiple indexes or have client ID in the document

--

---

<div class="post-metadata">

**Author:** ![Built\_App\_On\_ES](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@Built\_App\_On\_ES](https://discuss.elastic.co/u/Built_App_On_ES)\
**Post date:** [November 21, 2012, 3:58am UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/5 "2012-11-21T03:58:30Z")

</div>

there will be a lot of tenants...will consider shared indices and routing

In terms of performance is it possible to place each shard in once  
partition. i am planning this on AWS cloud and use EBS Volumes. if we  
assign each shard a ebs will it help.

--

---

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [November 25, 2012, 3:56am UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/6 "2012-11-25T03:56:07Z")

</div>

Hi,

Not sure off the top of my head.  
However, you could also mount N EBS volumes, stripe them, and then you  
don't have to worry so much about placing tenants on specific EBS volumes.  
See the bottom of [Instance Types](http://aws.amazon.com/ec2/instance-types/)

## Otis

ELASTICSEARCH Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)

On Tuesday, November 20, 2012 10:58:30 PM UTC-5, Built-App-On-ES wrote:

> there will be a lot of tenants...will consider shared indices and routing
> 
> In terms of performance is it possible to place each shard in once  
> partition. i am planning this on AWS cloud and use EBS Volumes. if we  
> assign each shard a ebs will it help.

--

---

<div class="post-metadata">

**Author:** ![Built\_App\_On\_ES](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@Built\_App\_On\_ES](https://discuss.elastic.co/u/Built_App_On_ES)\
**Post date:** [November 28, 2012, 3:39pm UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/7 "2012-11-28T15:39:09Z")

</div>

yes that was a good Idea..i am trying to adopt the best practices from  
standard database implementations.

_suggest me on this._

Store Shards on striped EBS Volumes with ZFS File System

Store Transaction logs in High IO EBS volumes for faster writes and updates.

Okk..My question is is it possible to store Transaction logs  
in different partition or Path?

--

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [November 28, 2012, 5:26pm UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/8 "2012-11-28T17:26:57Z")

</div>

Hello,

One quick note inline:

On Wed, Nov 28, 2012 at 5:39 PM, Built-App-On-ES [shaantheadmin@gmail.com](mailto:shaantheadmin@gmail.com)wrote:

> yes that was a good Idea..i am trying to adopt the best practices from  
> standard database implementations.
> 
> _suggest me on this._
> 
> Store Shards on striped EBS Volumes with ZFS File System
> 
> Store Transaction logs in High IO EBS volumes for faster writes and  
> updates.
> 
> Okk..My question is is it possible to store Transaction logs  
> in different partition or Path?

While I don't know of a way to configure the path of your translog, I think  
you can hack it if you need to. Since each shard has these three  
directories:

$ ls $DATA\_DIR/$CLUSTER\_NAME/nodes/0/indices/$INDEX\_NAME/$SHARD\_NUMBER/  
index/ \_state/ translog/

I don't see why you couldn't just stop ES, mount the needed partition on  
that directory, or make a symbolic link, then start ES again.

But I'd double-check to see if the translog is empty, and copy it to the  
new location if it isn't. Otherwise, you might lose data.

## Best regards, Radu

[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

--

---

<div class="post-metadata">

**Author:** ![Built\_App\_On\_ES](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@Built\_App\_On\_ES](https://discuss.elastic.co/u/Built_App_On_ES)\
**Post date:** [November 28, 2012, 6:10pm UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/9 "2012-11-28T18:10:22Z")

</div>

Yes that is one of the possibility..

just checking if there is any configuration file or any other way of doing  
it. this will be helpful if we are controlling the Nodes Dynamically in  
case of adding more nodes and recovery.

--

---

<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:** [July 6, 2017, 3:02am UTC](https://discuss.elastic.co/t/ecommerce-app-on-es/9761/10 "2017-07-06T03:02:23Z")

</div>


