Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Google Drive (or any cloud storage) as development workspace? [closed]

This somewhat applies to all cloud storage, but specifically I'm wondering:

Is it practical to use Google Drive as a root development folder?

For example with setup like this:

C:\Google Drive
       \Projects\...
       \Photos\...
       \Docs\...

would I even need to have local copies or is this type of service stable enough to just use as a "workspace"

My concerns would be if I use an IDE or have many things over at once, will it causes noticeable latency or bandwidth problems while I manipulate files?

If this is not practical, is there a "best practice" for this type of infrastructure now that cloud storage is being so widely used?

Note that I'm interested in the answer from a programmer's point of view

like image 430
Terry Avatar asked Apr 25 '12 12:04

Terry


People also ask

Can I use Google Drive as cloud storage?

Drive can provide encrypted and secure access to your files. Files shared with you can be proactively scanned and removed when malware, spam, ransomware, or phishing is detected. And Drive is cloud-native, which eliminates the need for local files and can minimize risk to your devices.

What is the use of workspace in Google Drive?

Google Workspace includes the productivity apps you know and love—Gmail, Drive, Docs, Meet, and many more—in one location, so you can create, communicate, and collaborate.

Which service level offering within the Google Cloud platform would be most appropriate for data that is accessed the least often?

Nearline storage is also appropriate for data backup, long-tail multimedia content, and data archiving. Note, however, that for data accessed less frequently than once a quarter, Coldline storage or Archive storage are more cost-effective, as they offer lower storage costs.


3 Answers

This was my first thought when Google released Drive. I've been running eclipse using a Google Drive folder as the workspace for a few days now. I do mostly JavaScript and PHP.

The beauty of Google Drive is that it does all the work behind the scenes. I've manipulated folders, imported projects, deleted folders and there is no issue client side. It makes no difference whatsoever to eclipse. It just takes a minute or so and the changes are reflected on Google Drive.

That being said I can save a single file as I work and there is no noticeable lag between save and sync. I can't physically see it anyways. I also agree that revision control should be combined with this as Google Drive's revision system is a bit limited, it only works for Docs formats.

Save often and let your computer sync for a few minutes at the end of the day and you should have no trouble using Google Drive as your workspace. The System Tray Icon tells you sync progress so it's easy to see when it's done.

like image 73
Shannon Poole Avatar answered Oct 20 '22 19:10

Shannon Poole


Yes, you can safely put your workspace folder in Google Drive and as a bonus you will be able to make quick edits using an online IDE, e.g. ShiftEdit, Drive Notepad or Neutron Drive.

like image 31
niutech Avatar answered Oct 20 '22 20:10

niutech


This would work, but your probably best bet is revision control. You could of course combine both to have a revisioned directory on your Google Drive, which would be quite cool.

like image 1
Ali Afshar Avatar answered Oct 20 '22 21:10

Ali Afshar