Re: Redis 16 times faster than Postgres?
От | Imre Samu |
---|---|
Тема | Re: Redis 16 times faster than Postgres? |
Дата | |
Msg-id | CAJnEWw=aPmFnbp5Phev=p=91JcdN3MV6Ry+CO_MY+bQKLuBWqA@mail.gmail.com обсуждение исходный текст |
Ответ на | Redis 16 times faster than Postgres? ("Colin 't Hart" <colinthart@gmail.com>) |
Список | pgsql-general |
from the original article:
> For example, the PostgreSQL speeds depend on the Django ORM code
> For example, the PostgreSQL speeds depend on the Django ORM code
> that makes the SQL and sends the query and then turns it into the model instance.
> I don't know what the proportions are between that and
> the actual bytes-from-PG's-disk times. But I'm not sure I care either.
imho: the "Django ORM" is not so fast.
according to "TechEmpower Web Framework Benchmarks" ...
it has only ~3% performance - compare to the best rust+pg (100%) results.
example:
the "django-postgresql" performance = 766 - only 3.0% of the best pg + rust results
checking the other test types ( "Single query" ;" Multiple queries" ) has a similar results.
the Django implementation of the test:
Imre
Colin 't Hart <colinthart@gmail.com> ezt írta (időpont: 2019. szept. 29., V, 23:42):
Hi,Can someone take a look at this blog post?Can Redis really be 16 times faster than Postgres? Surely Postgres can get closer to the raw speed of the hardware than 1 order of magnitude?Thanks,Colin
В списке pgsql-general по дате отправления: