tarantool / vshard

The new generation of sharding based on virtual buckets
Other
99 stars 30 forks source link

go-vshard-1: init golang vshard library #470

Open KaymeKaydex opened 10 months ago

KaymeKaydex commented 10 months ago

since the tarantool router is a stateless application, we did a small implementation of the router in golang, we did several performance tests that showed positive results

in the case of the router, we took resources from the golang service and gave them to tarntool routers

the library allows you to avoid unnecessary network trips and speed up the route map update due to golang runtime ; now we use https://github.com/KaymeKaydex/go-vhsard-router but we want to get official support

we want to hear some feedback on this topic and review, now there are several non-critical todos, as well as an unfinished readme. Before finishing I would like to know your opinion and feedback

new topology scheme:

Снимок экрана 2024-01-29 в 13 40 11
spatecon commented 9 months ago

Seems legit

KaymeKaydex commented 9 months ago

we found more productive hardware and got more interesting bench results, unfortunately without tarantool-vshard-proxy for now. We haven't been able to overclock it to the maximum yet and the rps is too small, we're trying to get the maximum

more details https://github.com/KaymeKaydex/go-vhsard-router