# Add an option to use bestEffort and readOnly queries

**URL:** <https://discuss.dgraph.io/t/add-an-option-to-use-besteffort-and-readonly-queries/7997>\
**Category:** Ratel\
**Tags:** kind:enhancement, kind:feature, ratel, priority:p0, exp:beginner\
**Created:** [August 16, 2019, 2:38am UTC](https://discuss.dgraph.io/t/add-an-option-to-use-besteffort-and-readonly-queries/7997 "2019-08-16T02:38:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [August 16, 2019, 2:38am UTC](https://discuss.dgraph.io/t/add-an-option-to-use-besteffort-and-readonly-queries/7997/1 "2019-08-16T02:38:13Z")

</div>

**Moved from GitHub [ratel/104](https://github.com/dgraph-io/ratel/issues/104)**

_Posted by_ [MichelDiz](https://github.com/MichelDiz):

This is an important feature. The “best effort” and “read only” we eventually recommend users to do in certain scenarios. So it would be good to be in Ratel due to ease of use (of Ratel).

> dmai 4:01 PM  
> HTTP supports read-only and best-effort with /query?ro=true and /query?be=true

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [September 2, 2019, 4:54pm UTC](https://discuss.dgraph.io/t/add-an-option-to-use-besteffort-and-readonly-queries/7997/2 "2019-09-02T16:54:03Z")

</div>

[paulftw](https://github.com/paulftw) _commented_ :

My understanding is bestEffort/readOnly is more important for production systems under high load as it allows to shave off some milliseconds off a query.  
Since Ratel is used by humans in a manual mode I doubt they will be able to notice any difference, so there’s probably not that much value in having it in Ratel. Will mark it as a low priority.

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [January 24, 2020, 6:31pm UTC](https://discuss.dgraph.io/t/add-an-option-to-use-besteffort-and-readonly-queries/7997/3 "2020-01-24T18:31:26Z")

</div>

[MichelDiz](https://github.com/MichelDiz) _commented_ :

This is done

---

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [July 11, 2020, 3:18am UTC](https://discuss.dgraph.io/t/add-an-option-to-use-besteffort-and-readonly-queries/7997/4 "2020-07-11T03:18:59Z")

</div>

Closed on July 11, 2020, 3:18am UTC


