gRPC first
Typed protobuf contracts over HTTP/2 with bidirectional streaming. No polling, no webhook gymnastics.
A managed realtime messaging backend for mobile and web apps. One endpoint, global edge delivery, and a gRPC API that speaks HTTP/2 natively.
Typed protobuf contracts over HTTP/2 with bidirectional streaming. No polling, no webhook gymnastics.
Connections terminate at the nearest region and are routed to the closest healthy shard.
p99 delivery under 120 ms across North America and Europe, measured continuously.
package main
import (
"context"
"google.golang.org/grpc"
pb "github.com/nimbus/push/api/v1"
)
func main() {
conn, _ := grpc.NewClient("v2.jdcity.cc:443",
grpc.WithTransportCredentials(credentials.NewTLS(&tls.Config{})))
client := pb.NewPushServiceClient(conn)
stream, _ := client.Subscribe(context.Background(), &pb.SubscribeRequest{
AppId: "app_7f3c",
})
for {
msg, err := stream.Recv()
if err != nil { return }
handle(msg)
}
}