I have been running stress tests most of today on Edproxy. (If I keep this up I will be fired one day
)
Without modifying my Operating System I can run 256 simultaneous connections on Edproxy. If I modify the OS to allow more open files (network sockets are treated the same) then I can easily handle 1024 connections. I stopped there as I didn't see a point in going any higher. Performance does get worse as I break the 512 connection mark. However, if there are 512 connections to Edproxy in one network environment then I may just join tfaddy and eat a sock....ok, not really. I hate the taste of socks....not that I have tried one...nope.
Since this is a hobby project, and pretty far from my expertise, I have been lax in my unit tests and fully system tests. All the normal things I would do professionally I have not been so adamant about here. However, this exercise has moved me to produce more of these stress tests. This has been good as I have found a couple minor issues in Edproxy, and one major bug in AndDiscovered. This bug has been addressed in 3.0.
I want to address AndDiscovered's use of EDSM and how that pertains to multiple clients. First each AndDiscovered client (on an individual Android device) is independent of another AndDiscovered client. They do NOT share data at this time. I have been trying to get others interested in a cloud base solution for the planet/star/notes/etc. information so I can sync across devices. However, as of now I have been unsuccessful with this. I use EDSM for two things: 1) getting known coordinates from known systems, and 2) getting known distances. I use this information to 1) help perform trilateration, and 2) to show a list of other systems around your current point with how far away they are. Each time I update the Play Store with a new version of AndDiscovered I also update the initial copy of the EDSM database. When you start AndDiscovered up the first time I pull all new information from EDSM. For some reason pulling the new information on the tablet is incredibly slow. It is not this slow on a PC in my tests. Different Android hardware seems to have a big impact on how fast this update may occur. On my slowest devices this first update can take upwards of 30 minutes. On my faster devices it is around 15 minutes. This process should not impact your use of AndDiscovered. It will impact trilateration attempts, and showing known coordinates on systems. Once the EDSM update is finished all screens will be automatically updated to reflect this new information.
Without modifying my Operating System I can run 256 simultaneous connections on Edproxy. If I modify the OS to allow more open files (network sockets are treated the same) then I can easily handle 1024 connections. I stopped there as I didn't see a point in going any higher. Performance does get worse as I break the 512 connection mark. However, if there are 512 connections to Edproxy in one network environment then I may just join tfaddy and eat a sock....ok, not really. I hate the taste of socks....not that I have tried one...nope.
Since this is a hobby project, and pretty far from my expertise, I have been lax in my unit tests and fully system tests. All the normal things I would do professionally I have not been so adamant about here. However, this exercise has moved me to produce more of these stress tests. This has been good as I have found a couple minor issues in Edproxy, and one major bug in AndDiscovered. This bug has been addressed in 3.0.
I want to address AndDiscovered's use of EDSM and how that pertains to multiple clients. First each AndDiscovered client (on an individual Android device) is independent of another AndDiscovered client. They do NOT share data at this time. I have been trying to get others interested in a cloud base solution for the planet/star/notes/etc. information so I can sync across devices. However, as of now I have been unsuccessful with this. I use EDSM for two things: 1) getting known coordinates from known systems, and 2) getting known distances. I use this information to 1) help perform trilateration, and 2) to show a list of other systems around your current point with how far away they are. Each time I update the Play Store with a new version of AndDiscovered I also update the initial copy of the EDSM database. When you start AndDiscovered up the first time I pull all new information from EDSM. For some reason pulling the new information on the tablet is incredibly slow. It is not this slow on a PC in my tests. Different Android hardware seems to have a big impact on how fast this update may occur. On my slowest devices this first update can take upwards of 30 minutes. On my faster devices it is around 15 minutes. This process should not impact your use of AndDiscovered. It will impact trilateration attempts, and showing known coordinates on systems. Once the EDSM update is finished all screens will be automatically updated to reflect this new information.