> On Oct 24, 2017, at 3:58 AM, Erik Porsche <[email protected]> wrote: > > I have a conceptual question regarding this topic. Instead of building a > wrapper using node-ffi or edge-js (when building on top of > couchbase-lite-net) - is it maybe better to wait for this issue to be solved: > https://github.com/couchbase/couchbase-lite-core/issues/19 > <https://github.com/couchbase/couchbase-lite-core/issues/19> ?
That would be another approach, but going through the REST API is (comparatively) slow. JS API calls have to be marshaled into HTTP requests, then unmarshaled into native API calls, then the same process in reverse for the response. (TouchDB, the ancestor of Couchbase Lite, also worked this way. It got a lot faster when we refactored it to connect the front-end API directly to the engine without the HTTP layer.) —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/11A667CD-6645-4694-B977-70B9B1989675%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
