ServiceComb Turbo(experimental)

High performance service center running mode, it leverages high performance codec and http implemantation etc to gain better performance.

How to enable

edit conf/chassis.yaml

servicecomb:
  codec:
    plugin: gccy/go-json
  protocols:
    rest:
      listenAddress: 127.0.0.1:30106

edit conf/app.yaml

server:
  turbo: true

service center and etcd deployed in local host

Resource Consumption:

  • 2 cpu cores, 4 threads
  • 8 GB memory
  • SSD
  • concurency 10
  • virtual box, ubuntu 20.04

Topology:

service center and etcd deployed in local host, even run benchmark tool in same host, so the performance is affected by benchmark tool

Report

APINo TurboTurbo
register growing instance603/s826/s
register same instance4451/s7178/s
heartbeat one instance6121/s9013/s
find one instance6295/s8748/s
find 100 instance2519/s3751/s
find 1000 instance639/s871/s