Являются ли встроенные функции mongo быстрее, чем функции в Java?JAVA

Программисты JAVA общаются здесь
Ответить Пред. темаСлед. тема
Гость
 Являются ли встроенные функции mongo быстрее, чем функции в Java?

Сообщение Гость »


Is it worth using MongoDB built-in functions to filter data? I think the functions in MongoDB are faster because the database is mostly written in C++ and is designed to be as performant as possible. Besides, to create POJO, the database has to parse it from JSON, on the other hand, mongo functions probably work on a low level with bson. For example, what is better in terms of performance and memory consumption: get the full array of items and slice it using Java, or get the sliced array using $slice from Mongo?


Источник: https://stackoverflow.com/questions/781 ... ns-in-java
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «JAVA»