I’m working on a C++ Client Server Application where client is on Windows and Server is on AIX. Both the existing applications are on 32-bit and we are planning to move them to 64 bit.
As per the investigation I could see that 64 bit machine long datatype is taking 8 bytes of memory on AIX and it remains 4 bytes on windows. There should be lot of calls between Server and client to exchange the data through these long datatypes
One thing I’m sure is that , we are not crossing the range (2147483647) of these long variables at both server and client any more.
Question : Will there be any issue if I migrate my applications to 64 bit ? If yes how can I handle this scenario?
I haven’t tried anything yet…..
6
Will there be any issue if I migrate my applications to 64 bit?
- Yes. Since underlying hardware is being updated, the application code possibly behave in uncertain ways.
If yes how can I handle this scenario?
- Try wrapping up your application layer into a docker container and deploy your docker container.
- Docker deployment stays agnostic to underlying hardware (unix or windows), resulting in expected behaviour of programs.
- While running docker, you will be required to specify the platform, https://docs.docker.com/build/building/multi-platform/
2