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?