{"id":4025,"date":"2021-03-27T09:49:47","date_gmt":"2021-03-27T04:19:47","guid":{"rendered":"https:\/\/www.suramya.com\/blog\/?p=4025"},"modified":"2022-06-16T15:18:49","modified_gmt":"2022-06-16T09:48:49","slug":"outrun-run-a-local-command-on-a-remote-server","status":"publish","type":"post","link":"https:\/\/www.suramya.com\/blog\/2021\/03\/outrun-run-a-local-command-on-a-remote-server\/","title":{"rendered":"Outrun: Run a local command on a remote server"},"content":{"rendered":"<p>A lot of times we have to run a command that requires a lot of processing power and is extremely slow on your local computer. I have faced this issue in the past and at times wished there was a way to push these commands to a remote machine with a more powerful CPU to run the command. Now, thanks to the efforts of  Alexander Overvoorde (Overv), Jakub Wilk and Xiretza this is now possible. They have created a tool called <a href=\"https:\/\/github.com\/Overv\/outrun#outrun\">Outrun<\/a> which lets you execute a local command using the processing power of another Linux machine without having to install the command on the remote machine. <\/p>\n<p><center><img decoding=\"async\" src=\"https:\/\/www.suramya.com\/blog\/wp-content\/uploads\/2021\/03\/outrun.gif\"\/><br \/>\nSample Execution of ffmpeg on a remote server<\/center><\/p>\n<p>The software does have a few limitations, but on the whole it is very cool:<\/p>\n<ul>\n<li>We need to have root access on the remote server (or sudo access) as the system needs to run chroot on the remote server<\/li>\n<li>Both client and remote server need to be on the same architecture, so you can&#8217;t set up a session from an x86 machine to an ARM machine. Which is unfortunate because the first usecase I had for this tool was to run software from the RaspberryPI on my server as and when it needed more processing power.<\/li>\n<li>File system performance remains a bottleneck<\/li>\n<\/ul>\n<p>Check it out if you need to run commands with more CPU cycles than what is available on the local machine. <\/p>\n<p>Thanks to <a href='https:\/\/news.ycombinator.com\/item?id=26504131'>Hacker News<\/a> for the initial link.<\/p>\n<p>&#8211; Suramya<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A lot of times we have to run a command that requires a lot of processing power and is extremely slow on your local computer. I have faced this issue in the past and at times wished there was a way to push these commands to a remote machine with a more powerful CPU to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":""},"categories":[18,15,13,2],"tags":[],"class_list":["post-4025","post","type-post","status-publish","format-standard","hentry","category-computer-software","category-interesting-sites","category-linuxunix-related","category-techie-stuff"],"_links":{"self":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/4025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/comments?post=4025"}],"version-history":[{"count":3,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/4025\/revisions"}],"predecessor-version":[{"id":4029,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/4025\/revisions\/4029"}],"wp:attachment":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/media?parent=4025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/categories?post=4025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/tags?post=4025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}