You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, a query string holds all attributes for any query. This doesn't matter if a model has a couple of attributes. But, if the model has 100 attributes, 100 attributes will present in the single query string even though only one of attribute is needed.
Another problem is that the query string is generated every time the query happens. This will cause a performance issue especially under the circumstance that millions of queries rush within a minutes.
The text was updated successfully, but these errors were encountered:
I've been toying with Query string generation (more generally fully-realized sets of attributes vs. lazy attributes).
Lazy attributes would certainly be more in line with the clojure/datomic way of doing things, but it is definitely a digression from what rubyists are accustomed to.
Any opinions?
On Tuesday, December 4, 2012 at 9:39 AM, Yoko Harada wrote:
Currently, a query string holds all attributes for any query. This doesn't matter if a model has a couple of attributes. But, if the model has 100 attributes, 100 attributes will present in the single query string even though only one of attribute is needed.
Another problem is that the query string is generated every time the query happens. This will cause a performance issue especially under the circumstance that millions of queries rush within a minites.
—
Reply to this email directly or view it on GitHub (#25).
Currently, a query string holds all attributes for any query. This doesn't matter if a model has a couple of attributes. But, if the model has 100 attributes, 100 attributes will present in the single query string even though only one of attribute is needed.
Another problem is that the query string is generated every time the query happens. This will cause a performance issue especially under the circumstance that millions of queries rush within a minutes.
The text was updated successfully, but these errors were encountered: