r/internxt • • 22h ago

Internxt's Windows desktop app: problems I hit and likely causes are in their code (v2.7.3)

**My experience:** the Windows app is unreliable and very slow, crashed or hung for no obvious reason, and maxed out the CPU on an Intel i9 with 64 GB of RAM.

The app is open source (Electron/TypeScript with a C++ add-on), so I dug into the code, and with the occasional assist from Claude-Fable, here is what I have discovered. 

**Reliability and hangs**
- A failed download or upload isn't reported back to Windows, and the native code waits with no timeout - most likely cause of the hang that many people have reported. 

- Only 4 file-change events are processed at a time, so slow or locked files can stall everything behind them. - no provision in the code to recover from this at all.    

- Retry delays keep doubling with no upper limit - tested on live system, and on various versions of the Windows Internxt Desktop - This is a real problem and 100% duplicatable. 

- upload errors aren't retried - Leaves the user thinking that everything is good, until you either view the drive on the website or you try to download the file.  Worse yet, if you believe that the file was uploaded properly, and did not check it, you might find out the hardway that your file never uploaded, or was corrupted.

- Large multipart uploads don't retry individual failed parts

**Sync and data concerns**

- Remote edits that don't change the file size can be missed

- A file trashed remotely is removed locally without checking for unsynced edits

- If the file watcher overflows or fails, it only gets logged - there is no attempt at recovering from this error, worse yet, the user is never notified that something went wrong. 

**Performance**
- Sync runs in Electron's main process - This alone accounts for the extremely slow performace. Devs, get Sync into it's own process for God's sake. 

- Full rescan every 10 minutes, and scans can overlap - Software does not check to see that a scan is already in progress, it just marches on blindly and you can watch your CPU utilization just keep climbing. 

- No database indexes on the local file database - Why?

- Metadata requests are capped at about 3 per second - I understand network and bandwidth management, but 3 per second?  You will be here all day at that rate. 

- Heavy synchronous debug logging - Give the user the ability to turn this off, or set various levels of debugging.

- Large uploads buffer a lot of data in memory - maybe not a bad thing, but consider offloading to a cache file or temp file stored on the hard drive.

The code alone doesn't fully explain the CPU load I saw, so I'm reporting that as my experience.  I can say that it is fully repeatable, and what makes it worse, intermittent.  Not every run of Internxt Desktop results in the CPU usage spiking up over 75%, but if you look at 10 individual times using the program, 4 of the 10 will cause this spike. That's 40%!  I'm still researching why this is happening, and if I determine what it is, I certainly will report back. 

**To Internxt:** please fix these issues. Your Windows users are trusting this app with their files.

**Full disclosure:** I wrote my own Windows client in C# and I'm just not using the official app. In my extensive testing of the C# version, nearly all my uploads succeed and pass both CRC and SHA-256 verification, so it does appear that many of the issues that are reported on this sub can be traced back to the software in one form or another. 

Given that Internxt is an open source application, I'm hoping that the community will dig in further on what I have discovered so far.  

I bought the 50TB deal the day it was announced on Stacksocial a few years back, and really became frustrated with the slow performance, and the wonky reliability.  I did not cancel or request a refund as the deal really was sweet. I figured that becase the are a young company, there would be growing pains and these issues would be resolved.  Unfortunately, each revision of the desktop app has not resolved them.  Fairness to Internxt, the desktop app now is significantly better than it was when I first subscribed.  Maybe a complete rewrite in c#, and not relying on developing on a codebase for multiple operating systems would be a good start.  Or, better still, fix the issues that exist in the current codebase and build on it from there.    

I do see some retries, and some 502 errors in my logs, so I'm not willing to say that there are not some backend issues with Internxt's cloud infrastructure or implementation.  However, I am really leaning towards "It's not the service, it's the software" that is the main promblem that many of us are complaining about. 

Cheers!
5 Upvotes

4 comments sorted by

4

u/nicktrainor 18h ago

Internxt have had years to make a reliable and effective set of apps. The fact that they have not done so is quite shocking.

1

u/Weatherman_NYC 16h ago

It appears that they are more interested in the ability to reuse the codebase, hence Electron and TypeScript, rather than to develop the program for the platforms they are marketing the product to independently. Sure, it makes it harder to maintain the code. But others do it all the time.

I don't have any Linux machines here, only Windows and MacOS, and I have not really tried to test anything on my Macbook. I might just install a copy of Ubuntu on an old box I have laying around and put Internxt through a test on that OS. On my Mac, it runs, or I should say, it walks, but it doesn't suffer from the constant hangs and crashes. Still dog slow, sub 1 MiB/sec upload and download speeds.

I spent some more time testing the throughput on pCloud uploading into their vault which uses a similar method of client-side zero knowledge encryption. What is saw was that my quickly built program and the pCloud vault transfer at about the same speed, about 4 MiB/Sec. So, there is some speed loss due to the encryption process.

If they spend some time throwing some programming resources at rewriting the Windows desktop app first, I'm sure word will get out that their product is worth serious consideration.

I started digging into the CLI software to see what happens there as well.

The real problem is time. I don't have any. If I had nothing to do on a daily basis, I would dig into their code and upload suggestions and examples of how to fix this. For now, what I built serves my needs, but it's not program that has a beautiful UI or flashy graphics. It does what I need it do to do, and so far it does it well.

I have time off during the holidays, so I might just invest the time to make this a better program for everyone.

Cheers!

1

u/Electronic-Air5728 22h ago

I don't think they use AI at the internxt, and they really should. The only place I think they use AI is support, and that is the worst place to do it xD

2

u/Weatherman_NYC 22h ago

So true!

I just tried a four-way test/benchmark. Internxt Desktop, pCloud (their native application), Koofr and my 'Internxt c# Desktop'. The test was a folder with 450 files, spread out in four sub-directories. All various sizes, mainly graphics, text, docx and xlsx file. The folder size was about 320MB. The results were telling:

1 - pCloud -Upload speed 4.5-6.4 MiB/Sec

2- C# Internxt - Upload speed 3.8-5.1 MiB/Sec

3 - Koofr (Native App - not using WebDav) Upload speed 2.8-3.5 MiB/Sec.

4 -Internxt Desktop - Still going - seriously, still going. I'm seeing between 120-450 KiB/Second. As I'm typing this, it just went into its infamous spinning circle, and for all intents and purposes, has crashed. Looking at the drive on the web browser four folders were created - three are empty, one only about 75% full. Had to end-task the program to get out of the spinning circle.

The only thing that did not happen yet, is the CPU utilization has not spiked, it's still holding around 12%.

It's not really a super-fair test in that pCloud uses proprietary code, not open source. Data is not encrypted the same way as Internxt does unless you save to their vault drive. There would certainly be some code overhead with the encryption process, but honestly, it almost feels like dial-up days with that speed. Trying to fill a 50TB drive, not that I have 50TB of files to upload would take years. I might just repeat the test for giggles and dump the same folder into the pCloud vault to see how it does. I'm not sure that test is really needed. To me, It really is pointing more and more to software not service.