Thank you. some questions:
The architecture  of My project looks like as following:

CBLite  <--> SG
                       ^
                       |
                       v
                      Web

How should I configure CBLite side and Web side for add SG Accel Cluster?
As I understand, SG Accel Cluster offer write node, and SG Cluster offer 
read node,
so CBLite read data from SG,and write data to SG Accel;
Web read data from SG,and write data to SG Accel;
Am I right?

For CBLite, when I need *pull*  data from SG, I need post /_replicate as 
following
```
{
    "headers": {
              
"Cookie":"SyncGatewaySession=287d228958b5d02c3dd652900cd74035a830165c"
          },
    "source": {
          "headers": {
              
"Cookie":"SyncGatewaySession=287d228958b5d02c3dd652900cd74035a830165c"
          },
          "url":"http://*SG_Cluster*:4984/sgdb/";
    },
    "target" : "cbldb",
    "continuous" : true
}
```

when I need *push*  data to SG, I need post /_replicate as following
```
{
    "headers": {
              
"Cookie":"SyncGatewaySession=287d228958b5d02c3dd652900cd74035a830165c"
          },
    "source":"cbldb" ,
    "target" : {
          "headers": {
              
"Cookie":"SyncGatewaySession=287d228958b5d02c3dd652900cd74035a830165c"
          },
          "url":"http://*SG_Accel_Cluster*:4984/sgdb/";
    },
    "continuous" : true
}
```

And for Web, When I need *read* data from SG, I need get data from
```
http://*SG_Cluster*:4984/sgdb/<someDocs>
```
And when I need *write* data to SG,I need post data to
```
http://*SG_Accel_Cluster*:4984/sgdb/<someDocs>?rev=<some_rev> -d"<some json 
data>"
```

And Can I deploy SG_Accel_Node And SG_Node on the same mathine?



On Saturday, September 17, 2016 at 12:58:31 AM UTC+8, James Nocentini wrote:
>
> Preview docs for SG Accel are at 
> https://github.com/couchbase/sync_gateway/wiki/Introduction-to-Sync-Gateway-Accelerator
>
> On Friday, 16 September 2016 16:36:49 UTC+1, atom992 wrote:
>>
>> Any update about document of Sync Gateway Accelerator?
>>
>>
>> On Tuesday, February 16, 2016 at 12:27:33 AM UTC+8, Traun Leyden wrote:
>>>
>>> Hey Todd,
>>>
>>> The docs on sg_accel are still pending, but we're looking to have them 
>>> pushed up in the next week or so.
>>>
>>> In the meantime we have some rough notes here:
>>>
>>> https://github.com/couchbase/sync_gateway/wiki/Sync-Gateway-1.2-Changes
>>>
>>> Also, anything specific you are looking for?  Are you looking to find 
>>> out how to use it, how it works, or both?
>>>
>>>
>>> On Sat, Feb 13, 2016 at 10:18 AM, Todd Freese <[email protected]> 
>>> wrote:
>>>
>>>> Is there any documentation on Sync Gateway Accelerator?
>>>>
>>>> T
>>>>
>>>> --
>>>> 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/75274814-a7e6-4db9-ab56-d03610a9c21c%40googlegroups.com
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>

-- 
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/0e2a7fce-1463-4b35-8592-819a75ced040%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to