<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rajkiran</title>
    <description>The latest articles on DEV Community by Rajkiran (@saantoryuu).</description>
    <link>https://dev.to/saantoryuu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F18447%2Fd65b49d2-c890-40d6-9b6f-78120e6f57c3.jpg</url>
      <title>DEV Community: Rajkiran</title>
      <link>https://dev.to/saantoryuu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saantoryuu"/>
    <language>en</language>
    <item>
      <title>A different way to bookmark tabs and share them!</title>
      <dc:creator>Rajkiran</dc:creator>
      <pubDate>Wed, 22 Apr 2020 05:56:43 +0000</pubDate>
      <link>https://dev.to/saantoryuu/a-different-way-to-bookmark-tabs-and-share-them-45pp</link>
      <guid>https://dev.to/saantoryuu/a-different-way-to-bookmark-tabs-and-share-them-45pp</guid>
      <description>&lt;p&gt;OneTab is a very nifty chrome extension that can be used to group web pages together. The extension's purpose as is on its website is to reduce the memory hogged by your browser, but I use it slightly differently. It has not only helped me with keeping web pages on a related topic in a single place but also made sharing them easier. &lt;/p&gt;

&lt;p&gt;The steps are pretty simple&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install the OneTab extension/add-on for your browser from &lt;a href="https://www.one-tab.com/"&gt;here&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Once you have installed it, open up all the pages which you want to group/share in a new window.&lt;/li&gt;
&lt;li&gt;Click on the OneTab icon to collapse them into a list.&lt;/li&gt;
&lt;li&gt;Once you are on the extension's page, click on "More... -&amp;gt; Name this tab group" in the tab group and give it a name. Now it's easy to refer to this in the future.&lt;/li&gt;
&lt;li&gt;Additionally, if you want to share this with someone, click on "Share as web page", you'll get a link which you can then send across.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Obvious security caveats apply. Use this with discretion.&lt;/p&gt;

&lt;p&gt;What I would like is for OneTab to offer a premium subscription plan which allows me to do periodic archives of my tab group for backup, and password-protected share of tab groups. Pretty please, OneTab? :)&lt;/p&gt;

&lt;p&gt;Originally posted &lt;a href="https://gist.github.com/rajki/c9fa459e9ce258460dc1119d33309e98"&gt;here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>onetab</category>
      <category>tabgroups</category>
      <category>lpt</category>
    </item>
    <item>
      <title>Load Testing using Hey</title>
      <dc:creator>Rajkiran</dc:creator>
      <pubDate>Wed, 25 Oct 2017 06:48:44 +0000</pubDate>
      <link>https://dev.to/saantoryuu/load-testing-using-hey-c84</link>
      <guid>https://dev.to/saantoryuu/load-testing-using-hey-c84</guid>
      <description>&lt;p&gt;I was trying to benchmark a service that I was building using Apache AB and running into some issues with it (Damn you AB for not supporting HTTP/1.1). I looked up alternatives to AB, and found &lt;a href="https://github.com/rakyll/hey"&gt;hey&lt;/a&gt;. It's written in Golang and is pretty nifty.&lt;/p&gt;

&lt;p&gt;In this post, I will walk you through a setup of golang and hey on your instance and a simple benchmark. Hey requires a Go version of 1.7 and above, and this makes the setup process look time consuming since the yum repo installs Go 1.6, and any Google search to install Go 1.7 will be met with a collection of &lt;code&gt;wget, tar, export and make&lt;/code&gt;. Fortunately, there's &lt;a href="https://github.com/moovweb/gvm"&gt;gvm&lt;/a&gt;, which simplifies things for us. &lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Go1.7 and Hey
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Run &lt;code&gt;bash &amp;lt; &amp;lt;(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)&lt;/code&gt;&lt;br&gt;
This installs GVM.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install Go1.4 and make it default. This is needed because some parts of Go 1.5 and above are bootstrapped, so Go 1.7 needs an existing version of Go to install itself. (If the install step fails, try with &lt;code&gt;--binary&lt;/code&gt; as indicated &lt;a href="https://github.com/moovweb/gvm/issues/287"&gt;here&lt;/a&gt;.&lt;br&gt;
&lt;code&gt;gvm install go1.4&lt;/code&gt;&lt;br&gt;
&lt;code&gt;gvm use go1.4&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run &lt;code&gt;gvm install go1.7&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Switch to the version required by hey &lt;code&gt;gvm use go1.7&lt;/code&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check if you have GOPATH configured using &lt;code&gt;echo $GOPATH&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install hey. &lt;code&gt;go get -u github.com/rakyll/hey to install hey&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Confirm installation &lt;code&gt;which hey&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Et voilÃ . We have installed hey.&lt;/p&gt;

&lt;h2&gt;
  
  
  A simple benchmark
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;hey -n 10 -c 2 -m POST -T "application/x-www-form-urlencoded" -d 'username=1&amp;amp;message=hello' http://your-rest-url/resource&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This opens 2 connections, and sends 10 requests. Each request is a form post with 2 parameters to your resource. Tweak the command to add/remove more flags as you need it.&lt;/p&gt;

</description>
      <category>hey</category>
      <category>go</category>
      <category>benchmarking</category>
    </item>
  </channel>
</rss>
