cloudwego / shmipc-go

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

Not supported to run on Linux with ARM architecture #46

Closed Huafanfan closed 2 months ago

Huafanfan commented 1 year ago

I run helloworld on Linux with ARM architecture. When the client sends a request, a panic occurs at position queue.go #249. I want to ask if this is a known issue? Will it be supported in the future?

zhquzzuli commented 1 year ago

We have supported ARM architecture, @goodbye-babyer will submit pr.

GuangmingLuo commented 1 year ago

@Huafanfan Hi, please let us know if you are going to use it in real scenario in your company so that we can provide better and timely support.

Huafanfan commented 1 year ago

@GuangmingLuo Hi, master. my development computer is mac m1, and the architecture is arm. Because mac is not currently supported, I need to run it in docker. Because m1 pulls the arm architecture image by default, an error occurred when I ran it. Now it needs to be run in the amd64 image, but the performance on the m1 chip is very poor. So I hope it can support arm

GuangmingLuo commented 1 year ago

@GuangmingLuo Hi, master. my development computer is mac m1, and the architecture is arm. Because mac is not currently supported, I need to run it in docker. Because m1 pulls the arm architecture image by default, an error occurred when I ran it. Now it needs to be run in the amd64 image, but the performance on the m1 chip is very poor. So I hope it can support arm

Thanks for your reply, but please do not call me master, call my name instead. You still haven't answered my question yet. Are going to use it in real scenario in your company (which means in production) ? The project based on shmipc should be run in Linux env. @Huafanfan

Huafanfan commented 1 year ago

@GuangmingLuo We are conducting research on this product. We are currently using UDS, but its performance is not good enough in certain scenarios. If shmipc can significantly improve performance and have good stability, it will be deployed to the production environment (Linux).

GuangmingLuo commented 1 year ago

@goodbye-babyer please evaluate this request to support ARM.

maple0575 commented 6 months ago

我们已经支持ARM架构,将提交pr。

请问,什么时候可以支持ARM架构,已经修复了吗

beaquant commented 2 months ago

any update?

GuangmingLuo commented 2 months ago

done by https://github.com/cloudwego/shmipc-go/pull/56 , added a tag v0.2.0