Sshfs, Textmate & Rails project, very slow

I am a Linux user and I recently bought a MAC. I am working on a large project that should run on a dedicated server.

With Gedit and SSHFS I didn’t have to download the Rails project, just as when I create a new controller / model from the command line, the Gedit file tree is updated instantly, without any slowdowns.

I installed Homebrew, then fuse4x and sshfs. I mount my server as on linux:

sshfs my.server.tld:/home/me Sshfs/my.server.tld/ -o 'volname=MyServer' 

so far so good.

I open Textmate, then load my project ... disaster, two minutes + to load the whole project I switch another window ... back to textmate ... again updated with focus. But fixed with Remate after some research.

But now, when you create new resources from the command line, I need to update the whole project to get new files, and this may take two minutes or more

Tried extension, same problem.

What is the problem? Textmate? Sshfs on mac?

I have googled for a long time, and most people do not seem to experience slowdown using sshfs. I'm a little depressed, I always dreamed of using TextMate!

EDIT: So, this is definitely TextMate.

I tried with Sublime Text 2 and it works very well (better than gedit: p) Save / open / update project very fast

And even with NFS sharing via VPN, it works well.

+4
source share
2 answers

AND.

TextMate can be very slow, and beachball can be very happy when working on slow or high latency networks. A few years ago, when Fuse was ported to Mac OS X, a plugin was created that blocked several functions to make TextMate more susceptible in such cases. Here it is , I have never used it, so no guarantees.

I never liked using SSHFS on Mac OS X: slow save, slow copy, slow open ... it never cost problems even on a local network or using Expandrive.

+2
source

You should try running textmate from another directory so that it writes temporary files to the local drive.

-2
source

Source: https://habr.com/ru/post/1392187/


All Articles