Build latency-sensitive microservices with CloudNexus's optimized gRPC implementation. Native SDKs for every major language with automatic retries, streaming, and observability baked in.
package main
import (
"context"
"log"
"time"
cn "github.com/cloudnexus/sdk-go/v3"
pb "github.com/cloudnexus/sdk-go/v3/proto"
)
func main() {
client := cn.NewGRPCClient(context.Background(), cn.Config{
Region: "us-east-1",
Timeout: time.Second * 5,
})
resp, err := client.DeployInstance(context.Background(), &pb.DeployRequest{
Image: "cloudnexus/ubuntu:22.04",
Size: "micro",
})
if err != nil {
log.Fatal(err)
}
log.Printf("Deployed: %s\n", resp.GetInstanceId())
}
import cloudnexus.grpc as cn
from cloudnexus.proto import deploy_pb2, instance_pb2_grpc
client = cn.GRPCClient(
region="us-east-1",
timeout=5.0,
retry_policy="exponential"
)
# Deploy a new instance
resp = client.deploy_instance(
image="cloudnexus/ubuntu:22.04",
size="micro",
region="us-east-1"
)
print(f"Deployed: {resp.instance_id}")
import { CloudNexusGRPC } from '@cloudnexus/grpc-sdk';
const client = new CloudNexusGRPC({
region: 'us-east-1',
timeout: 5000,
retry: { strategy: 'exponential', max: 3 }
});
(async () => {
const resp = await client.deployInstance({
image: 'cloudnexus/ubuntu:22.04',
size: 'micro'
});
console.log(`Deployed: ${resp.instanceId}`);
})()
import com.cloudnexus.grpc.CloudNexusClient;
import com.cloudnexus.grpc.config.ClientConfig;
import com.cloudnexus.proto.DeployRequest;
public class Main {
public static void main(String[] args) {
CloudNexusClient client = CloudNexusClient.create(
ClientConfig.builder()
.region("us-east-1")
.timeoutSec(5)
.build()
);
var resp = client.deployInstance(
DeployRequest.newBuilder()
.setImage("cloudnexus/ubuntu:22.04")
.setSize("micro")
.build()
);
System.out.println("Deployed: " + resp.getInstanceId());
}
}
Binary protocol over HTTP/2 with header compression, bidirectional streaming, and connection multiplexing for sub-millisecond latency.
Automatic idempotent retries with exponential backoff, jitter, and circuit breaking. Handles transient network failures transparently.
OpenTelemetry native tracing, metrics, and structured logging. Drop-in integration with Jaeger, Prometheus, and Datadog.
Automatic certificate rotation, mTLS encryption in transit, and IAM-scoped credentials for granular access control.
Intelligent request routing to the nearest CloudNexus edge node. Automatic failover and geographic load balancing.
Native Protocol Buffers support with seamless JSON fallback. Schema validation and backward compatibility guarantees.
| Language | Packge | Version | Status | Install |
|---|---|---|---|---|
| Go | github.com/cloudnexus/sdk-go/v3 |
v3.2.1 | Stable | go get github.com/cloudnexus/sdk-go/v3 |
| Python | pip install cloudnexus-grpc |
v3.2.0 | Stable | pip install cloudnexus-grpc |
| Node.js | @cloudnexus/grpc-sdk |
v3.2.1 | Stable | npm i @cloudnexus/grpc-sdk |
| Java | com.cloudnexus:grpc-client |
v3.1.4 | Stable | mvn dependency:cloudnexus |
| C# | CloudNexus.Grpc |
v3.1.2 | Beta | dotnet add package CloudNexus.Grpc |
| Rust | cloudnexus-grpc |
v0.9.4 | Beta | cargo add cloudnexus-grpc |
Authentication, configuration, and your first gRPC call in under 5 minutes.
Implement server streaming, client streaming, and bidirectional RPCs for real-time workloads.
mTLS setup, scope-based credentials, role policies, and audit logging integration.
Side-by-side comparison, latency benchmarks, and automated code conversion tools.