4

I'm working on a JavaEE Webshop (Uni assignment) that has to send and receive JMS messages to and from a server, which is located inside the university network, so I have to use a VPN to run the shop. The problem is, the VPN is so goddamn slow that I get SocketTimeOutExceptions regularely! I have Gigabit-Connection, but with the VPN it slows down to ~1Mbps for whatever reason, which is apparently too slow for Java.

Comments
  • 2
    Direct comparison: Top without VPN, bottom with VPN
  • 0
    @gathurian
    1. Use Spring Retry to retry the calls
    2. Use your own settings for HttpClient, very long timeout
    3. For the development needs, set up your own version of the vpn-ed backend.
Add Comment