• 14 Posts
  • 415 Comments
Joined 2 years ago
cake
Cake day: August 8th, 2023

help-circle
  • Ok so this one is someone trying to move to “the cloud.”

    They had a database they used. It was on a server in the office. We were tasked to clone the db server to a hosted VM. Due to order of creation this got put on a new host without anything yet on it.

    They needed a site to site VPN to keep privacy, that was all fine. However after the clone and during testing, their guy there said that this one part was really slow. We take a look and everything is good with performance of the server and of the VPN. I have to pop on to take a look.

    It was in an office app and written in VB. (I forgot which one.) It was indeed slower on the hosted server. So I took a look at the function (he got it up for me) and I could instantly tell the issue.

    This part was a lookup page that searched for you input. The function retrieved the entire table, then filtered the results in the client. I explained that transferring the whole table over the internet would be slower than on the local lan.

    This guy said he originally wrote this, but “forgot VB.”

    In the end they decided not to update the app or keep the server in the office, but instead they rented some VDIs in the same data centre as the db.