# Using ES for gmail-like application

**URL:** <https://discuss.elastic.co/t/using-es-for-gmail-like-application/18990>\
**Category:** Elasticsearch\
**Created:** [July 30, 2014, 10:42pm UTC](https://discuss.elastic.co/t/using-es-for-gmail-like-application/18990 "2014-07-30T22:42:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxim\_Kramarenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maxim_kramarenko/32/1381_2.png) [@Maxim\_Kramarenko](https://discuss.elastic.co/u/Maxim_Kramarenko)\
**Post date:** [July 30, 2014, 10:42pm UTC](https://discuss.elastic.co/t/using-es-for-gmail-like-application/18990/1 "2014-07-30T22:42:37Z")

</div>

I am going to use ES to implement gmail-like app, distributed over multiple  
cluster nodes. Questions are:

1. Messages will be compressed, so I need to store binaries in index, not  
plain text. Is it possible to store binary data with minimal overhead,  
without base64 encoding ?

2. I need to show message list ordered by date with paging. How to  
implement this on clustered ES ? As I understand, if we ask first 10  
records and don't specify routing key, ES will return 10 items from each  
server, not global first 10. How to get page 2,3,..,1000 for clustered ES ?

3. It seems like using Lucene+GlusterFS can solve both problems, any ES  
benefits for this case ?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/26cd0bb4-56bc-45f1-9c35-01b9a30c7ea2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/26cd0bb4-56bc-45f1-9c35-01b9a30c7ea2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:12am UTC](https://discuss.elastic.co/t/using-es-for-gmail-like-application/18990/2 "2017-07-06T01:12:06Z")

</div>

Closed on July 6, 2017, 1:12am UTC


