Closed iapicca closed 2 years ago
Basically this - hive is being replaced by another project
https://github.com/hivedb/hive/issues/246
TLDR: Hive 2.0 will be rewritten in Rust to get amazing performance, multithreaded queries, read and write transactions, and super low memory usage. I have thought a long time how to correctly implement queries in Hive and I have come to the conclusion that it is not possible with the current architecture. I have reviewed many projects on GitHub which use Hive and most of them have to create their own suboptimal workaround for queries. Apart from queries, Hive has another problem: Dart objects use much RAM. Since Hive currently keeps at least the keys in RAM, you can hit the OS limit of mobile devices quite fast.
Basically this - hive is being replaced by another project
hivedb/hive#246 TLDR: Hive 2.0 will be rewritten in Rust to get amazing performance, multithreaded queries, read and write transactions, and super low memory usage. I have thought a long time how to correctly implement queries in Hive and I have come to the conclusion that it is not possible with the current architecture. I have reviewed many projects on GitHub which use Hive and most of them have to create their own suboptimal workaround for queries. Apart from queries, Hive has another problem: Dart objects use much RAM. Since Hive currently keeps at least the keys in RAM, you can hit the OS limit of mobile devices quite fast.
@vaind
seems quite a stretch to paraphrase the post as the package has been deprecated
, for 4 reasons:
the post does not mention the package being deprecated
the same post states later Hive and Isar are so different that it is a good idea to keep both around.
the post is more than an year old and 9 versions
including 1 major release
subsequent to that date
hive readme states
If you need queries, multi-isolate support or links between objects check out Isar Database.
seem to present isar as a different product rather than a direct replacement,
with substantial differences, for example isar
(or objectbox for the matter) does not supports web
#
opinion: since you consider isar
being a replacement for hive
it would be just fair include the it in the benchmark
@iapicca Yes, you are right and we're going to make adjustments to the article. Our assessment of the situation goes back when we published our first benchmark back in February when the last real release was August 2020...
@greenrobot nothing has happened to the article since May.
nothing has happened to the article since May.
@lil5 This is wrong. The article has been updated to the situation back in May and does not say it's deprecated. Let us know in more detail if you see the necessity for further clarifications.
@greenrobot Look again
This link still includes the graphic stating the false "deprecated"
https://objectbox.io/flutter-databases-sqflite-hive-objectbox-and-moor/
That's a completely different URL... OK, I'll ping someone to fix it. Thanks for spotting this.
@lil5 I think @greenrobot and objectbox's team in general have shown that was an honest mistake and was addressed instantly I have no doubt that their heart is the right place (plus the add competition to the dart scene and that makes me happy)
You can now see the new chart in the article.
I guess this can be closed then.
this article claims hive being deprecated but I cannot find any reference that validates that statement, can you provide the source of this information? thank you
cc @leisim