<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ahmed Nasir on Medium]]></title>
        <description><![CDATA[Stories by Ahmed Nasir on Medium]]></description>
        <link>https://medium.com/@ahmednasir91?source=rss-b2599b34d35a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*4AIcpk4fV7JpZi3b.jpeg</url>
            <title>Stories by Ahmed Nasir on Medium</title>
            <link>https://medium.com/@ahmednasir91?source=rss-b2599b34d35a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 13:30:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ahmednasir91/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Using DigitalOcean in production for 2 years]]></title>
            <link>https://medium.com/@ahmednasir91/using-digitalocean-in-production-for-2-years-f86e64f90f27?source=rss-b2599b34d35a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f86e64f90f27</guid>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Ahmed Nasir]]></dc:creator>
            <pubDate>Wed, 08 Mar 2023 17:15:37 GMT</pubDate>
            <atom:updated>2023-03-08T17:15:37.812Z</atom:updated>
            <content:encoded><![CDATA[<p>Following are some of the thoughts that highlights the good and bad about using DigitalOcean cloud services, in case you are planning to use it in your future project its good to read this article that will help you in making the decision.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/0*QrwkjENKhGMIZloX.png" /></figure><p>I want to keep this short and to the point. I’ve worked with AWS for quite sometime and then 2 years back in my new job we decided to use DigitalOcean.</p><p>So lets start …</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V-9ZnTMLzUkrfbYPtKc2AQ.png" /><figcaption>1. Invoice for the current month</figcaption></figure><p>DigitalOcean pricing is very straight forward, the resource pages even the bill itself is very clear and there are no hidden prices. As compared to AWS where its very difficult to calculate prices by tagging, reporting etc. etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RzhJk-mfZWwmyyrAim18WQ.png" /><figcaption>2. Cost of Database Cluster on the resource itself</figcaption></figure><p>For storage the DigitalOcean Spaces service can be used, the best thing about it is that you can use AWS S3 SDK to access it and some features that are not available on the console can be done via the AWS CLI like setting up lifecycle policy on the bucket.</p><p>The EC2 instance equivalent is Droplet, provisioning is easy, simple and quick, there are terraform providers too that can be used.</p><p>Now the things that are missing …</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*-4rrff9EBNvUDxxy8u7A0A.png" /><figcaption>3. User roles in console</figcaption></figure><p>In terms of security and access control there is nothing, if you add some to the console they can view everything there are just 3 type of users Owner, Member and Biller. The difference between Owner and Member is only of Billing :| there is no concept of authorization / permission control. A member can be anything with the resources then you will have to look into the audit logs (yeah audit logs are present in the console).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*peaNj_Mb1Jlm4D3UzCP28w.png" /><figcaption>4. Uptime alerts</figcaption></figure><p>The monitoring for managed services like database, cache is limited but recently they added uptime monitoring, I think this is a good way to at least have alerts on the key public endpoints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QD2dMbZmomZZzs_1A6V36A.png" /><figcaption>5. Resource alerts</figcaption></figure><p>There are resource alerts also present that can be configured on system metrics like CPU, disk, network usage but missing support of metrics like number of requests, queue depth on the specific services like load balancer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HXbJ2AiUUs11IHSNmdNDig.png" /><figcaption>6. A very simple VPC creation interface</figcaption></figure><p>The VPC can be easily created and we can have resources in a VPC but there is no way to avoid a Public IP in a droplet, all droplets have public IPs, there is a firewall that you can attach but not an easy way to do it for the Kubernetes node group which I think should be easily doable, or having a way to have just private instances without public IP.</p><p>The managed database include Postgres, MySQL, Redis and MongoDB. Have been using Postgres and MySQL mainly, have support for read replicas, limit access to specific instances or Kubernetes clusters via tags, resource names or specific IPs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BjKIGmoK7q2tFWPvY0CPVg.png" /><figcaption>7. Database access</figcaption></figure><p>In terms of security, any member can see the admin password and add their IP, so you have to be very careful to whom the access is provided in the team and there is no way to launch a private database, it will always have the public network access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fv_Xxecsadldvnvo7zDNwA.png" /><figcaption>8. Database pricing</figcaption></figure><p>Another thing missing is that databases can’t be downgraded once you have upgraded you will have a hard time downgrading it and the pricing for databases is that it mostly double, so very careful and don’t over provision.</p><p>There are some services recently launched like Functions and App Platform, have used app platform in one project recently, its like providing a container service on top of Kubernetes, it has easy deployment and monitoring, even have connectors for log forwarding too, but the deployment and image building is quite slow.</p><p>To summarise DigitalOcean is good if you are early stage and want to go fast with a simple pricing model but once your business picks up and want to scale the team and the system, I think at that you might have to consider moving out of DigitalOcean as the managed services provided are still very limited and you will have a lot of over head in deploying queues, prometheus etc. to droplets.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f86e64f90f27" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why and how we migrated from popular ecommerce platform OpenCart to Rails]]></title>
            <link>https://medium.com/@ahmednasir91/why-and-how-we-migrated-from-popular-ecommerce-platform-opencart-to-rails-a73ce9be159?source=rss-b2599b34d35a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a73ce9be159</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[opencart]]></category>
            <category><![CDATA[store]]></category>
            <dc:creator><![CDATA[Ahmed Nasir]]></dc:creator>
            <pubDate>Sat, 20 Apr 2019 17:38:52 GMT</pubDate>
            <atom:updated>2019-04-20T17:38:52.354Z</atom:updated>
            <content:encoded><![CDATA[<p>Few years ago we started an online jackets store <a href="https://www.thejacketmaker.com/">TheJacketMaker.com</a> we wanted to launch it as soon as possible and hence opted for the OpenSource solution <a href="https://www.opencart.com/">OpenCart</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TmvC86SuXrp18uL9e332aA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/3cIvvzjE6Lk?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Dominik Scythe</a> on <a href="https://unsplash.com/search/photos/craft-ecommerce?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Opencart has a very good community support and has lots of plugins, themes that we can use to jump start and online if don’t want to SaaS solutions like Shopify then using OpenCart is a good choice, it’s simple and powerful.</p><p>Anything we wanted to integrate with for example one page quick checkout or stripe payment processor we were able to find a plugin and installation was a matter of minutes. We were using <a href="http://docs.opencart.com/en-gb/administration/vqmod/">vQmod</a> that makes it very easy to install plugins rather than playing with the php files.</p><p>Things were good until we decided to have a more custom experience and building the first feature moving to bespoke world, allowing customers to submit their designs for Jackets.</p><p>The following problems we faced while doing our customizations</p><ol><li>Developing a custom plugin for all of our features as we can’t change the source files directly that will make upgrading to a new version of OpenCart difficult.</li><li>The complexity of the code increased with the increase in number of plugins installed. As the way plugins works in OpenCart + vQmod is that they do search-replace in the code files and they are defined in XML files.</li><li>It’s very difficult to find what plugin is replacing which line as the logic is defined in .php files and xml files, a simple task can take hours of effort to work.</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/381bd9f8efbf17e66069a5147c51d1c0/href">https://medium.com/media/381bd9f8efbf17e66069a5147c51d1c0/href</a></iframe><p>We kept working on using OpenCart and doing our customizations then at one point we had a requirement to add a feature that will allow customers to bring their own designs and have consultations before placing an order.</p><p>It was a big change if we decided to do this in OpenCart with two developers it would have taken more than 2 weeks to build it right. At this we decided that we should consider building this as a separate app as it will serve at the front page of our store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4zPNhY7DuFi0z5gMp1DxPg.png" /></figure><p>We decided to use Rails as we read a lot about how it simplifies the development and the abstractions it provides, we thought this will help us build and deliver faster.</p><p>In the first phase we moved the main store to a subdomain store.thejacketmaker.com and <a href="https://www.thejacketmaker.com/">thejacketmaker.com</a>. For backend management we already had a <a href="https://medium.com/datadriveninvestor/scaling-your-multi-thousand-dollar-business-with-technology-cc64dda30fc2">Laravel based app for process automation</a> that we leveraged to serve it as the backend and both the apps shared the same database schema, this took us about 2 weeks but this investment helped in future development and iterations.</p><p>Then we decided to migrate the whole store to Rails app — although OpenCart is very flexible as a ecommerce solution for any kind of type, so we created our new designs, HTMLized those and integrated them in Rails. We were able to migrate the store fully in about a month.</p><ol><li>We kept using the OpenCart schema, it’s quite flexible we just simplified the order options since we just need sizing so created a table for sizes.</li><li>All the new tables we added we didn’t use the oc_ prefix.</li><li>For management we continued to use the OpenCart admin panel.</li></ol><p>Now when we had a our own ecommerce solution anything we wanted to integrate we had to do ourselves, these things took time in integration as compared to OpenCart where plugins are provided by the vendors like Stripe, Paypal integration.</p><p>The bottom line is when you have to start its better to start with an open source or a SaaS based solution but when you realize it’s becoming a bottleneck in development and growth that’s the point where you should consider moving to a custom solution that can be built easily using the modern frameworks like Rails.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a73ce9be159" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scaling your multi-thousand dollar business with Technology]]></title>
            <link>https://medium.datadriveninvestor.com/scaling-your-multi-thousand-dollar-business-with-technology-cc64dda30fc2?source=rss-b2599b34d35a------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc64dda30fc2</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[comics]]></category>
            <category><![CDATA[online-shopping]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ecommerce]]></category>
            <dc:creator><![CDATA[Ahmed Nasir]]></dc:creator>
            <pubDate>Thu, 20 Dec 2018 17:28:09 GMT</pubDate>
            <atom:updated>2018-12-29T03:29:14.361Z</atom:updated>
            <content:encoded><![CDATA[<figure><a href="http://www.track.datadriveninvestor.com/1B9E"><img alt="" src="https://cdn-images-1.medium.com/max/700/0*40bbp4zVg6G0RTHR" /></a></figure><p>You often read stories where companies share how technology helped them turn into a multi-billion dollar business. What about small and medium-size businesses? Can they take benefit by adapting to technology in their pursuit of growth?</p><p>In this story, we would like to share how adapting technology helped in making our multi-thousand dollar start-up. My friends started <a href="https://thejacketmaker.com/">TheJacketMaker</a> a few years back as an online store for selling Leather Jackets targeting comic fans.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2mTu03Fnb2mdQ3DjHwXUpw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/FQ83tBxftJc?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Dương Trần Quốc</a> on <a href="https://unsplash.com/search/photos/stitching?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>They got a domain name, hosting from GoDaddy and used <a href="https://www.opencart.com/">OpenCart</a> framework for store frontend, soon after the launch the stream of orders started. The order processing at that time was very manual.</p><ol><li>Customer places an order</li><li>Customer support receives an email notification, verifies the payment and shipping address.</li><li>The order is then added to a Google Sheet shared with the production team.</li><li>The production print creates a job card in Excel using a form copying all the details.</li><li>A typical jacket making requires at least 4 steps which includes pattern making, leather cutting, stitching, finishing.</li><li>Once the jacket has passed through finishing and QC check, a shipping label and gate pass are printed.</li><li>The jacket is then handed over to the courier company, then create and print AirWay bills and pack the jackets in boxes for final shipment.</li><li>The courier company sends a daily summary of jackets shipped, then a support agent will add the shipping to the orders in OpenCart which sends them an email, we were using a plugin as OC doesn’t provide this out of the box.</li></ol><p>So there are lots of manual work but things used to work fine in the start when we had single digit orders per day, soon there was a peak season as Halloween time approached and there was chaos situation in production as the orders have to be shipped before the Halloween and having more than twenty orders per day. What worse could happen that some customers received the jackets that they didn’t order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*0oZTvG4dMoZ1QEQn_PK4VQ.png" /><figcaption>Job Card as a spreadsheet.</figcaption></figure><p>It used to take around 4 hours each day to verify the payment details, address and to print the job card for production. At that time we realized that it’s time we should get rid of the manual steps and automate to avoid copy-paste errors that resulted in thousands of dollars.</p><p>So we decided that we should automate the job card printing which was the main bottleneck in our growth and it can be easily automated. Whenever we wanted to add something to OpenCart we start a search for plugins, however this time we decided to have developed a custom portal as there will not be any plugins that will tailor to our needs.</p><p>I formally joined the team as a developer working part-time, we bought a bootstrap based dashboard theme and created a <a href="https://laravel.com/">Laravel</a> application. We used <a href="https://www.heroku.com/">Heroku</a> to host our the dashboard application primarily as it allows easy deployment with just `git push` and we could survive for months on a free tier.</p><p>We connected the application to the main website database and started showing the orders categories by their status. We were able to bring down the order verification and job card printing to less than 30 minutes for the same amount of orders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UXeZFprHQpqa4tTTQkGPMg.jpeg" /><figcaption>List of new orders that are waiting for review.</figcaption></figure><p>The order detail overview page, provide an overall picture of the order with everything related to order, it also includes customer information, jacket information, printing job card, changing order state and communications with the customer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sVrKYcwVwkux-G0VATafew.jpeg" /><figcaption>Order overview page</figcaption></figure><p>As the time passes by we kept adding more functionality, reporting, integrations with Zendesk (customer support ticketing), Twilio for SMS communications, Aftership to track deliveries.</p><p>This helped us a lot in streamlining our operation and to avoid human mistakes and to improve customer satisfaction.</p><p>Our decision of going with a custom solution proved to be correct in the long that we later moved away from OpenCart pretty soon to a custom solution that will be shared in the next story.</p><p>A small business can even take advantage and streamline their business by automation even starting with one software engineer, so a small investment tech is worth a lot. If you are still running your whole business on worksheets its time to invest in tech!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fb2a0d6%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2Fb2a0d6%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/0707f5c806284d01a4a13c7b13a91ce3/href">https://medium.com/media/0707f5c806284d01a4a13c7b13a91ce3/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc64dda30fc2" width="1" height="1" alt=""><hr><p><a href="https://medium.datadriveninvestor.com/scaling-your-multi-thousand-dollar-business-with-technology-cc64dda30fc2">Scaling your multi-thousand dollar business with Technology</a> was originally published in <a href="https://medium.datadriveninvestor.com/">DataDrivenInvestor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>