<?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 Jan Myszkier on Medium]]></title>
        <description><![CDATA[Stories by Jan Myszkier on Medium]]></description>
        <link>https://medium.com/@janmyszkier?source=rss-5c6357f3c78b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*M58J5G24uCyNNYzTteXPxg.jpeg</url>
            <title>Stories by Jan Myszkier on Medium</title>
            <link>https://medium.com/@janmyszkier?source=rss-5c6357f3c78b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:07:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@janmyszkier/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[Why is Shopify not worth it]]></title>
            <link>https://medium.com/@janmyszkier/why-is-shopify-not-worth-it-c8485087bfa1?source=rss-5c6357f3c78b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8485087bfa1</guid>
            <category><![CDATA[shopify]]></category>
            <category><![CDATA[e-commerce-software]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[e-commerce-solution]]></category>
            <dc:creator><![CDATA[Jan Myszkier]]></dc:creator>
            <pubDate>Wed, 22 May 2019 21:54:44 GMT</pubDate>
            <atom:updated>2019-05-23T08:12:58.103Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CYOp9IUfPS7wrMu61ympsA.jpeg" /></figure><p><em>Note: Have in mind this is a developer perspective, if you have a very simple store, you may stay unaffected and I hope you are.</em></p><p>I’m cooperating with many agencies around the world and you’ll probably see me here and there answering questions and aiding people in solving their problems on stack overflow, slack channels or official forums. Usually helping with basic issues, but I remember the issues when starting and sharing is caring.</p><p>This gave me an opportunity to work with many teams and freelancers and help them out with getting their projects done and figure out which seem to be THE best out there and also…..which one is not.</p><p>Magento (v1) had its flaws, but it was overall a platform standardized enough for developers to know WHERE to look at and code up things the way clients wanted. The problem with it was: bigger the project was, it took more and more money to maintain it (but guess what, you could hire testers to avoid this, but you didn’t!) and here we are. In a year, the platform won’t get any updates anymore, so we had to decide where to go next. Considering how popular M1 platform is, people WILL try to find security holes in it, and even if I was paid tons of money I won’t be able to analyze every piece of plugin code the Magento stores are often using, and because I have seen SQL injection vulnerability in Magento official partner code, I know I cannot rely on them and cannot give a guarantee that the plugin code is top-notch, even if you have paid for it, you’re not secure nor optimized.</p><p>Will never understand people saying testers are only a cost not worth having. But then again, I hope you enjoy your car stripped out of the safety belts. They are cost, too. Enjoy your crash course. :)</p><p>Because magento2 is what it is, with many clients, we decided to try other solutions and some of them went with the next popular platform: Shopify.</p><p><strong>Poor catalog handling</strong><br>I’d say Let’s say it: Shopify IS FAST by default. However, month have shown it is not always fast. If you decide to have a big category tree, Shopify is not your platform. Either simplify it or choose another platform, because they will look into it, and that’s where the issue is, months after. You want to optimize it? well bad for you, the code will not be public, and you won’t be told what you can do, because Shopify support will only tell you to hire some developers, even when you are one.</p><p><strong>No easy way to test</strong><br>There’s no reliable way to test the platform either. I have created a thread on their official forum:<br><a href="https://community.shopify.com/c/Shopify-Discussion/Testing-Shopify-stores-with-selenium/td-p/459685">https://community.shopify.com/c/Shopify-Discussion/Testing-Shopify-stores-with-selenium/td-p/459685</a><br>then, sometime later, wrote to Shopify support directly. <br>What I got was a suggestion to ask on the forums. <br>Few emails back and forth, the Shopify community still know nothing. Countless emails and I knew people on the line have no intention of even googling what selenium is, the problem is still not solved.<br>I did find a workaround for this by trial and error, but man… it took days to figure that out.</p><p><strong>Support is awful</strong><br>Now when it comes to Shopify support… I know how it looks when you are working as a support. You need to work with many people angry at you when you’re not responsible for their problems. Sometimes people are simply lazy and do not read the docs. Sometimes, you know the issue will be fixed, but you know how developers rarely keep their timelines and cannot really tell the angry customer when the damn thing is going to be fixed. But then, Shopify support is (in my experience so far) the LEAST HELPFUL support I had from any paid solution. Not only you have to wait a long time for an answer, but when you get the answer it turns out they cannot find anything in their logs, they cannot reproduce the problem or are asking irrelevant questions.</p><p>Tickets are often reassigned to people not in the ticket earlier, sometimes they don’t even read the previous messages and you have to answer the same questions twice.</p><p>Docs are outdated, or not complete and if you point it out they’ll tell you they’ll forward it to the team to fix. Somewhere in the future.</p><p><strong>Community is not there</strong></p><p>You can TRY to ask the community but you will most often NOT get the response. I believe this is not because the community doesn’t want to share but there is nothing to be shared. Yes, there’s no solution to your problem.</p><p><strong>No checkout customizations<br></strong>If you would like to customize your checkout experience, you’re out of luck.<br>Some things can be done with checkout customizations but some simply cannot. You would like you to customize the product display in the checkout? Well, you’re out of luck, Shopify knows better and according to them, you didn’t need it anyway. Sometimes the support will tell you you can write an APP that can handle this, but there are things even app cannot do. (as far as I remember last time we have checked you cannot even check product properties like tags on checkout unless they were part of line_items and you cannot and do not want to simply put everything in line_items).</p><p><strong>Bad Error handling / reporting<br></strong>Just to get things going at all we decided to go with an external app to keep things synced via payloads and webhooks. But turns out we can not because Shopify will remove your webhooks if they happen to get some errors. <br>It doesn’t matter you have online checks implemented and your site was online for the whole month. It doesn’t matter you have implemented log watching mechanism to even report to you if someone tries to visit 404 pages of the service that’s not even public. It doesn’t matter last error you got was over a month ago. Not only Shopify will not tell you they have removed your webhooks, but they will not allow you to check what and when went wrong. I’m fine with that, but when you reach out to them, they do not know either, because they cannot find anything in their logs (did I mention support is bad? No? The technical one is). <br>What you could do is rely on yourself only, and implement webhook setup with the API described on <a href="https://help.shopify.com/en/api/reference/events/webhook#index">https://help.shopify.com/en/api/reference/events/webhook#index</a><br>Well, maybe if the code was tested against their docs. For some reason, an account with all the permissions will get empty array when it tries to get the list of webhooks registered. <br>Could it be done well? Definitely! Github somehow had no issue showing every data connected to a webhook and payload. Want to see and copypaste what GitHub sent? no problem! You have fixed the code already and want to re-send the payloads? No problem! For some reason, Shopify doesn’t have any idea what payloads and webhooks are used for and give you literally no guarantee things will be stable.</p><p><strong>Docs are bad<br></strong>If the support was ok, the docs can be bad. The thing is they are not. docs will never tell you what permissions you need to set (want to access webhook list? good luck guessing what access you need). Do you want to update X? well, it’s trial and error, but don’t worry, you’ll eventually get there.<br>Could it be done well? Yes, we have things like Swagger nowadays, yet Shopify decided not to tell you how to filter things out.</p><p><strong>API is just basic… and bad<br></strong>Do you want to filter products by SKU? That’s not the feature Shopify has. Wait, what? Yes, finding the product by SKU requires querying all of them until you find matching SKU in the set. So optimal!<br>Today there are some fantastic things like GraphQL, or even APIs with a well-made filtering method (ElasticSearch hint hint). <br>Sometimes Shopify API responds with server errors like error 500 or 502. For months now they cannot find this in their logs and even told me to fix my code to fix their server errors!</p><p><strong>Summary: stay away</strong><br>If you would like to do any of this, stay away from Shopify. <br>Carefully analyze your business, write down what you want to do and browse the community forums. If the problem you want to solve is not solved on the forums, it’s not solvable and Shopify is not the solution you want to use. Considering how many “solutions” are really ugly workarounds, I’m pretty sure a lot of the apps out there are a mess if you look into their code and is not something you can rely on.</p><p>After working with Shopify I’m VERY concerned about the platform. They gave me no reason to trust their solution is stable or well-written. Some weeks ago I could deploy erroneous SCSS file (theme watch does this automatically on CTRL+S, don’t blame me), which put the whole site down and the only way for the store to work at all again was to write to the support and cross fingers it will not take hours to fix.</p><p>If you still need some help with your Shopify store (or anything else web or server related), feel free to reach out and I’ll still help, but have this in mind: With Shopify, some things are easy, some are doable and some things will be ugly if you want them to work at all. However, some are not reasonably doable regardless of what other people and Shopify itself will tell you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8485087bfa1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we used Redis database software to help with growing pains]]></title>
            <link>https://medium.com/idealx/how-we-used-redis-database-software-to-help-with-growing-pains-88b759b5ab72?source=rss-5c6357f3c78b------2</link>
            <guid isPermaLink="false">https://medium.com/p/88b759b5ab72</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[redis]]></category>
            <category><![CDATA[ecommerce]]></category>
            <dc:creator><![CDATA[Jan Myszkier]]></dc:creator>
            <pubDate>Fri, 20 Jan 2017 13:06:22 GMT</pubDate>
            <atom:updated>2017-01-20T13:06:22.142Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCaJA8fJ2cIm9fwMyqoqTg.jpeg" /></figure><h4><strong>One way we increased site capacity without adding new servers</strong></h4><p>So you’re up and running with your retail business. You’re even growing, which is what you want — and congratulations! If you’ve got a physical retail store, maybe there are lines for the changing rooms, and it’s taking longer to serve your customers. The same thing is probably happening in your online store: you’re getting more and more customers, the site has gone down once or twice, and orders aren’t always processing quickly enough — your servers are built for your old customer load, not your new and increasingly successful one.</p><p>I’m going to walk you through a way we used database software called <a href="https://redis.io/">Redis</a> to ease our server loads, and talk about why that matters, even if your e-commerce role has (seemingly) nothing to do with servers.</p><h4><strong>The standard way to approach growing pains</strong></h4><p>It’s neither reasonable nor affordable to build your initial setup to handle unlimited customers. But how you handle your growth-related system load today will make a real difference to how you grow tomorrow. You don’t want to overload your retail staff or exhaust the team members who maintain your servers by forcing them to keep up with demand, but you also don’t want to end up frustrating your customers and would-be customers by being too slow.</p><p>For both web-based and physical stores, the conventional approaches to this are really similar.</p><p>You could</p><ol><li>Hire more people</li><li>Change the way you handle customer interactions and traffic in the store</li></ol><p>You might need more people, but no matter how many you hire, you won’t be able to handle your new customer load with the same process you used before. In other words, while you will need to increase your resources in some way, throwing money at the problem will just alleviate the symptoms and won’t solve the problem in the long-term.</p><p>At <a href="https://www.youngskilled.com/">Young/Skilled</a>, we’re in the growth business, and that means we’re focused, not just on a few growth metrics, but on developing approaches that scale. That means looking beyond symptoms and finding the root, so that we don’t just solve it for a Saturday afternoon, but for the longer-term.</p><h4><strong>We can’t just throw servers at the problem</strong></h4><p>We recently had a situation with a client who was growing rapidly, which was fantastic for us and for them. It felt good, and still does. Of course, as always happens when growth is quicker than expected, the servers started to strain, and we needed to address it. We decided that rather than try to build for unlimited growth, we would focus on handling the current customer load and then preparing for that load to double.</p><p>At first we thought we should try switching to solid state drives (SSD), or buying more inexpensive servers to split the work. But then we asked ourselves: was the only underlying problem that there weren’t enough servers?</p><p>We were inspired to look under the hood and dig deeper into the data, to see where the bottlenecks were, and find a solution that wouldn’t just be about adding more servers and hiring more people.</p><p>We started by doing things like splitting work into a larger number of smaller, less expensive machines. The real-world parallel is that when your stores are overcrowded, you sometimes hire more junior employees, or maybe more managers. And while you might actually need that extra staff, this won’t make you grow faster if the problem is actually somewhere in your process, and can be addressed by the team you already have.</p><p>So we checked every piece of code and found that the real problem wasn’t “not enough servers”, it was that the MySQL server was eating a lot of resources at peak hours. We were lucky because when <a href="https://www.centra.com/">Centra</a>, the in-house system we use was built, the forward-thinking founders used a really simple data storage mechanism. (Neither WooCommerce nor Magento support this, for example.) It gave us the opportunity to test a few other approaches to storing data — not everyone will have the time or money to do this with a different system.</p><p>Finally, we found a solution that seemed to work: we successfully turned our MySQL database into a Redis database.</p><h4><strong>The business value of Redis for data storage</strong></h4><p><a href="https://redis.io/">Redis is an open-source data storage software</a> that uses the computer’s available RAM (Random Access Memory), which is the fastest type of data storage. Most database software uses hard disk storage (HDD), and while this is okay for most systems, at some point, your server is going to be doing so many operations for every customer using your website that the hard disk won’t be able to handle it anymore and it becomes a bottleneck. For example, “get me all the SALE products,” “find me all the RED items,” “get the homepage content,” or “show me all the photos in the lookbook.” Imagine your retail store staff running around a warehouse every time a customer needed something — exhausting, right?</p><p>To compare, we talk about input/output operations per second (IOPS). The HDD solution can handle about 300 operations per second. The SSD solution can do 30,000. RAM can do — are you ready? — around 3,000,000 IOPS. Of course, this varies a bit from device to device, and each of those devices shares operations between all of the other software that’s running, so you can’t use that entire 3,000,000 IOPS for what you’re doing. But HDD, SSD, and RAM all have to share IOPS with everything else that’s running, so RAM is still the clear winner.</p><p>Choosing Redis allowed us to switch from the HDD solution to this in-memory solution that was even better than the SSD servers we had initially been considering — which would have been expensive. Plus, it allowed us to do it without spending more money or risking additional server downtime, and it gave our clients more room to grow.</p><h4><strong>Other things we learned</strong></h4><p>The switch for us got rid of the first bottleneck we encountered, and it also showed us a few others that lay ahead. We made this first bottleneck better but it still didn’t solve the issue that servers still go down from time to time. We did, however, learn to break the server on purpose so that we could prepare protection systems for this issue.</p><p>The experience was a really good reminder that while, sure, maybe we need more servers, or we might need more staff (and we do — <a href="https://www.youngskilled.com/#jobs">come work with us!</a>), fixing processes, both technical and internal, can help us make the most of what we already have.</p><p>Along the way we found that the operating system software — the same software that is used around the world for handling websites — is not reliable, simply because of how it’s made. It took us tens of hours to figure it out and we finally prepared our own replacements.</p><p>The whole process was a lot more work than we expected and it took us time to solve all of the issues we spotted along the way. “Why does that query use so much RAM?” “Why do we connect to that external system now?” “Why doesn’t the service come up if it has auto-restart in its configuration?” What started as “how do we stop the web server from going down?” ended up in a change that allowed us to handle several times the number of users than we could, without buying expensive new servers.</p><p>We know there are still ways to optimize our application, and we’re always working on plans for this, but for us, knowing that we had the support of management, who let us do what we needed to do — and helped us get it done — really made a difference.</p><p>What also mattered was that we have a great DevOps on the team who has that combination of low-level knowledge, full-picture view, and super-current knowledge of developments in open source. Without him, we might have taken longer, and we might have ended up with a perfectly serviceable but certainly less-good SSD solution.</p><p>Instead, we got something that, while not bulletproof, is a lot better than what was there before, and we’re really excited to roll it out for other customers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88b759b5ab72" width="1" height="1" alt=""><hr><p><a href="https://medium.com/idealx/how-we-used-redis-database-software-to-help-with-growing-pains-88b759b5ab72">How we used Redis database software to help with growing pains</a> was originally published in <a href="https://medium.com/idealx">IdealX</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>