Answer the question
In order to leave comments, you need to log in
Alternatives to DbSimple
I have been using DbSimple in my projects for a year now , but for highly loaded projects I would like something faster. What do you advise?
Answer the question
In order to leave comments, you need to log in
Typically, the layer creates a completely negligible load compared to the request itself.
From DbSimple alternatives: pyha.ru/go/godb/ , code.google.com/p/go-db/
For highload it is desirable to use pure SQL queries. Of course, a small layer for convenience is needed ... ala $this->db->query(); $this->db->escape()… But anything more than that is redundant. And in general, in highly loaded projects, it is better to abandon the muscle)
Are there any measurements/figures that prove that DbSimple will be a bottleneck in loaded projects?
Yes, I have never seen anything better than select *, id AS ARRAY_KEY from table where 1 {and field=?d} I would also like to see a modern analogue, or someone would rewrite this one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question