With SG1.2 there is a new functionality named accelerator. Despite having searched in different places, I have not been able to found out any documentation on it.I more or less understood (but may be I am wrong here) that SG accelerator refers to the ability to use a distributed index to handle sequence’s replications numbers.
If indeed it refers to distributed index, it will be very useful to have information on:
- how to set it up
- a kind of target architecture diagram with data workflows
If it refers to something else, back to my original question about its documentation and expected benefits.
One more word, we are currently in the process of using and benchmarking SG in a very demanding environment (with couchbase lite phonegap for both IOS and Android and some backend servers in GO), nginx and couchbase DB server, and we will be happy to work closely with SG team to share our results and findings.
I am running example couchbase-sg-accel by
but I got nothing but:
2016-07-11T17:05:02.588+08:00 Enabling logging: [HTTP+]
2016-07-11T17:05:02.589+08:00 PANIC: SG is running in normal mode but there are databases configured as index writers -- rest.ValidateConfigOrPanic() at config.go:688
panic: SG is running in normal mode but there are databases configured as index writers
goroutine 1 [running]:
github.com/couchbase/sync_gateway/base.LogPanic(0x4ac1540, 0x50, 0x0, 0x0, 0x0)
goroutine 17 [syscall, locked to thread]:
goroutine 19 [syscall]:
created by os/signal.init.1
goroutine 23 [select, locked to thread]:
runtime.gopark(0x4bc36b8, 0xc82002a728, 0x4986bb8, 0x6, 0x18, 0x2)
runtime.selectgoImpl(0xc82002a728, 0x0, 0x18)
goroutine 24 [chan receive]:
created by main.main
It really confuse me :
Q1: What is couchbase-sg-accel? ( What is the difference between Couchbase-sg and couchbase-sg-accel)
Q2: How should I use couchbase-sg-accel?
Sorry this wasn’t answered earlier. Accelerator has been under development. Stay tuned for an announcement about it coming very soon.