gRPC is a modern open source high performance RPC framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking and authentication. It is also applicable in last mile of distributed computing to connect devices, mobile applications and browsers to backend services.
Simple service definition Define your service using Protocol Buffers, a powerful binary serialization toolset and language
Start quickly and scale Install runtime and dev environments with a single line and also scale to millions of RPCs per second with the framework
Works across languages and platforms Automatically generate idiomatic client and server stubs for your service in a variety of languages and platforms
Bi-directional streaming and integrated auth Bi-directional streaming and fully integrated pluggable authentication with HTTP/2-based transport
curl --location --request GET "http://icosregistry-icosregistry-service-icos.icos.icos.city/v1/assets?pageSize=100000&pageNo=0&typeName=vehicle_speedlimit"
curl --location --request GET "http://icosregistry-icosregistry-service-icos.icos.icos.city/v1/assets?typeName=traffic_lamp_type&pageSize=100" | jq -jr '.data[]|.id," ",.name,"\n"'
curl --location --request GET "http://icosregistry-icosregistry-service-icos.icos.icos.city/v1/assets?typeName=twin_intersection_type&pageSize=100" | jq -jr '.data[]|.id," ",.name,"\n"'
curl --location --request GET "http://icosregistry-icosregistry-service-icos.icos.icos.city/v1/assets?typeName=twin_traffic_lamp_direction&pageSize=100" | jq -jr '.data[]|.id," ",.name,"\n"'
curl --location --request GET "http://icosregistry-icosregistry-service-icos.icos.icos.city/v1/assets?typeName=isvd1_hikvision&pageSize=100" | jq -jr '.data[]|.id," ",.name,"\n"'
curl --location --request GET "http://icosregistry-icosregistry-service-icos.icos.icos.city/v1/assets?typeName=cam1_hikvision&pageSize=100" | jq -jr '.data[]|.id," ",.name,"\n"'
## pull docker pull tile38/tile38 ## run docker run -d -p 9851:9851 --name tile38-dev tile38/tile38 ## in docker exec -it tile38-dev sh ## tile38-cli tile38-cli
Command Usage
Set
SET key id [FIELD name value …] [EX seconds] [NX|XX] (OBJECT geojson)|(POINT lat lon [z])|(BOUNDS minlat minlon maxlat maxlon)|(HASH geohash)|(STRING value)
FSET
FSET key id [XX] field value [field value …]
GET
GET key id [WITHFIELDS] [OBJECT|POINT|BOUNDS|(HASH geohash)]