Deployment
Transition from dev environment to prod, and keep up with the latest fixes.
One of Couchbase’s strengths is speedy response, so deployment of apps should be in the same region as the Server — whether Capella, or your own self-managed cluster.
We always recommend the latest version of the SDK. This not only contains the latest security updates and bug fixes, but will be compatible with the latest Couchbase Server release (note, Capella always runs a recent version of Couchbase Server).
Before deploying, take note of any compatibility issues for the language platform and underlying OS. The full installation guide should cover any special cases for all supported environments.
Development & Testing Environments
During development, some shortcuts are taken to get up and running which would not be acceptable during deployment. These include use of administrator permissions, connecting from your laptop instead of a secure app server, and even disabling certificate verification for TLS. Testing environments may also differ from deployment.
The Rust SDK docs note whenever a shortcut is being taken, but here is a non-exhaustive list of those development practices which should not be carried over to production deployments:
-
Over-priveleged access
-
Geographical separation of app server and database
-
Skipping certificate verification
The best way to accommodate developing an application that is to be deployed to production is to use toml files.
Couchbase Operational Cluster Feature Compatibility
All of the SDKs have API compatibility with most of the features in Couchbase Operational clusters — whether self-managed, or Capella. The following table covers possible exceptions, and gives the version of the Rust SDK and Couchbase Server with which some features were introduced.
| Server 7.6.x | Server 8.0 | |
|---|---|---|
KV Range Scan |
All SDK versions |
|
Vector Search |
All SDK versions |
|
Zone aware replica reads |
All SDK versions |
|
KV preferred server groups reads |
All SDK versions |
|
Vector Query using GSI |
N/A |
All SDK versions |
Distributed ACID Transactions |
N/A |
|
Response Time Observability |
All supported SDK versions |
|
Field Level Encryption |
N/A |
|
Cloud Native Gateway |
N/A |
|