background
i'm working on a very small team to update the css on a struts 2 website. i'm deploying my code to a tomcat server for testing, and the server pulls its data from an oracle database running in a centos virtualbox. needing a way to connect my teammates to my machine, i connected my computer's ip address to a dynamic dns (ddns) service at freedns.afraid.org and set-up forwarding on my router to route port 8080 traffic to my local machine (base URL example: http://nameOfMyApplication.chosenDDNSDomain.com:8080/nameOfApplicationRootDirectory/)
specs
- processor: intel core i7-9700k cpu @ 3.60ghz
- installed ram: 16.0gb (15.7gb usable)
- os: windows 10 pro 64-bit version 1903
- internet: wi-fi connection to at&t fiber
- router: arris bgw210
- server: apache tomcat version 6.0.37
- java runtime environment: 1.6.0_45
- vm: oracle virtualbox version 5.2.6 r120293 (Qt5.6.2)
- vm os: centos version 5.7
- database: oracle database version 11.2.0
problem
while i think this configuration should generally work for very small load testing (3 users maximum), i'm running into issues even when i am the only user testing the application. pages take a long time to load, and the connection times out roughly half the time on my local machine. sometimes page content loads with none of my css applied. the css seems to either work entirely or not at all, and a given page's css may work at one point but not at another. our website build involves a "baseUrl" string, so i don't believe i can have the application built for both localhost and ddns access at the same time.
questions/requests for advice
- is there anything about connecting to my own machine through the internet that would make things load especially slowly? while i expect some slowdown since my machine is sending the request, receiving/processing the request, responding to the request, and receiving/processing the response, i'm wondering if i should expect the slowdown to be so great that the site is not reliably usable.
- how would i go about determining where the slowdown is occurring? while the domain i'm using for my ddns has been running without any apparent downtime, i'm wondering if there is some domain-specific issue or maybe an inefficiency in how freedns.afraid.org domains do dns look-up. essentially, i'm looking to figure out if my problem is caused by the general strategy i'm using or just the specific ddns provider i chose.