cloudwego / shmipc-go

A high performance inter-process communication golang library developed by CloudWeGo
Apache License 2.0
417 stars 31 forks source link

routing through shmipc "twice" within itself generates Syscall6 issues #35

Closed kolinfluence closed 1 year ago

kolinfluence commented 1 year ago

i'm not sure how to explain this but i'm using shmipc within a process twice, as both server and client.

under heavy use, this is the issue. how to resolve?

screen161

goodbye-babyer commented 1 year ago

i'm not sure how to explain this but i'm using shmipc within a process twice, as both server and client.

under heavy use, this is the issue. how to resolve?

screen161

The meaning of this SVG image is not clear on its own and requires a specific context and business logic to understand.

hiqsociety commented 1 year ago

@goodbye-babyer i realised that if you have 2 or more listening and connecting shmipc-go, if you do heavy read / write + some other processes e.g. rocksdb, you will oom

hiqsociety commented 1 year ago

@goodbye-babyer can you check this?

Screenshot from 2023-07-21 07-29-28