Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation - and what are your plans? #1

Open
etoulas opened this issue Feb 11, 2022 · 6 comments
Open

Documentation - and what are your plans? #1

etoulas opened this issue Feb 11, 2022 · 6 comments

Comments

@etoulas
Copy link

etoulas commented Feb 11, 2022

Hi @foofoofoo97 @lokingwei

I stumbled across your Flutter library.

We were looking for something like this to connect to CouchDB. I see you implemented even two different stores including the very promising ObjectBox.

We are not very sure if we should adopt this library. The listing on pub.dev does not look very trustworthy, but I can see that you are both working for a reputable company.

The lack of even the most basic documentation raises doubts if this library should be considered for any serious app.

Can you briefly explain what are your plans?
Is it a proof-of-concept?
Do you use it already in a production app?
Do you plan to write documentation?

@lokingwei
Copy link
Contributor

lokingwei commented Feb 14, 2022

Hi @etoulas, thanks for your interest in our library. To answer your question:

Can you briefly explain what are your plans?
Our plan is to create a PouchDB liked database warper for dart and flutter. Our product was previously powered by PouchDB + CapacitorJS, and this project is intended to support migration to flutter

Is it a proof of concept?
Do you use it already in a production app?
Not a POC as the library already running in our production application, doing the live-syncing for about 3 months

Do you plan to write documentation?
Yes, we do understand that basic documentation is needed to encourage external contribution, hence we will start providing documentation once we arranged the man-power

@etoulas
Copy link
Author

etoulas commented Feb 14, 2022

Hi @lokingwei, thanks for your answers!

That sounds really promising.

Considering that you already run this in production, what would you say is missing compared to the PouchDB library?

Which storage are you using in production: ObjectBox or Hive?

And how is the sync performance working out? We would need to sync a few hundred MB of data (product catalog) to the devices.

I'm trying to figure out if a collaboration on this library would be possible on our side.

@lokingwei
Copy link
Contributor

lokingwei commented Feb 14, 2022

@etoulas, the following feature is not yet ready

  1. Attachment (not in our use case, will need PR)
  2. Javascript-based Map-Reduce Function, (still researching suitable JS runtime for flutter)
  3. Isolate to handle compaction and indexing (currently implementation, compact then save, index then read)

Our production app is using ObjectBox adapter, both performances are almost the same. But we choose object box instead of hive because of large hive database potentially have memory issue.

Our use case is document count intensive, hence I can't justify the performance in terms of document size. But for your reference, it took around 15min to replicate 10,000+ docs into our android POS system (Rockchip) which has much lower spec compared with modern commercial android phones (Samsung). The performance can be 2x to 3x with a decent android phone.

And also the production app is running on android and windows. iOS will release to production by end of this month.

@etoulas
Copy link
Author

etoulas commented Feb 15, 2022

Thank you very much for the detail answer @lokingwei!

For context: We have up to 80,000 docs with 3 KB each.

Some users have devices from a few years ago, so not the latest and greatest in terms of performance.

Our target is Android and iOS.

@RokeAlvo
Copy link

RokeAlvo commented Sep 9, 2023

Hi @lokingwei

Can you tell me what the current status of the repo is? And what are your future plans?

@VladimirCores
Copy link

Also would like to have at least basic example, so wont spend time on looking in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants