whatsapp-api icon indicating copy to clipboard operation
whatsapp-api copied to clipboard

changing the OS version to build the image

Open DenysSamoiliuk opened this issue 1 year ago • 2 comments

Could you please change the OS version from alpine to debian, as our experience of working with a node shows that some unpleasant moments arise with alpine, in particular with network work?

DenysSamoiliuk avatar Jan 25 '24 18:01 DenysSamoiliuk

Hello, can you please share a bit more? We choose alpine for its small size

chrishubert avatar Feb 04 '24 15:02 chrishubert

we develop our product on node.js and also used alpine, but not long ago we encountered a problem with alpine and its work with DNS in the Kubernetes environment, since alpine uses a library for working with musl, if it does not work correctly with high traffic, that is why we conducted R&D and determined that Debian is much better suited to this task due to the fact that it uses a different approach and a different glibc library

by and large, musl makes 5 requests for DNS definition at the same time, but it waits for a response only one response, so if some request returned first and it failed, we did not receive the DNS again

and glibc first makes the first request step by step and waits for the answer, and depending on the answer makes the next one, which suggests that it is more stable and our practice also confirmed this

DenysSamoiliuk avatar Feb 05 '24 10:02 DenysSamoiliuk