Shoprocket - start selling online
Back to blog posts

Shoprocket’s Journey to Mircoservices: Part 1

Updated on 27 June, 2025 in tech
Shoprocket’s Journey to Mircoservices: Part 1

A few months into my job at Shoprocket and I was getting frustrated. We had a PHP application being worked on by our small team of bright developers, spread all over the globe. Why was I getting frustrated? To me, it seemed bug fixes spawned more bugs, integrating new features wasn’t as simple as it could be, and deployments were infrequent and stressful. The reason for these problems: highly coupled code.

We had a monolithic application, and almost all of our codebase sat in one Github repository. Updates or fixes to one feature would often occur in several places. For testing, we had a peer review process, where at least two other developers had to sign off on a branch before it would be merged into master and deployed. All of this meant that when bugs managed to slip in under the radar, it was often hard to locate the breaking changes. And once we did, the fixes would undergo the same process and the whole application had to be redeployed.

Being an eager young developer always looking for the new thing, when I came across microservices I thought this architectural style would solve all of our problems. There isn’t a formal definition of microservices, but from my research I took away that microservice architecture is a way of designing software applications as distributed systems of independent services, each highly specialised and with its own lifecycle. For readers who want a more detailed introduction to the concept, I recommend Martin Fowler’s excellent article.

There were many aspects of microservices that I was interested in, but two in particular: Firstly, the idea of splitting the application into services with very strict boundaries. This lowers the chance of logic specific to one business context from leaking between components because the interfaces between boundaries have to be carefully planned out. It’s not as simple as making local function calls; Secondly, each component can have its own independent lifecycle. This allows teams to take ownership of their code and use a technology stack best suited to the individual service. Also, it permits more fine-grained control over the application as changes can be deployed to one service at a time, and rolled back without affecting the rest of the application if something goes wrong.

So, I was sold. Shoprocket would break up the monolith! This is the first in a short series of blog posts following this journey. My hope is that readers planning or going through a similar transition will learn from our successes and failures and feel better prepared to take on this challenge in their own projects.

My first challenge wasn’t technical, but human. I had to sell the idea to the rest of the team. They seemed curious, but didn’t share the same enthusiasm and were reluctant to give up dev hours at this early stage of our product’s life. Luckily, the CTO wanted me to look into our session management and I seized the opportunity by convincing him I could split off a session service.

In retrospect, this was perhaps a poor choice of component for a first service. Our product includes a javascript plugin that enables ecommerce on any website. We treat sessions as a resource, persisting session information to the database for detailed analysis of KPIs like cart abandonment rates. However, this resource isn’t as tangible as something like orders or line items. Furthermore, we were using the session resource with almost every change in application state. This meant that the service would be inevitably chatty with the rest of the application, which I didn’t foresee, but made my task difficult.

Having convinced my boss, I ramped up my research on microservices. Aside from the aforementioned article, I also found Sam Newman’s ‘Building Microservices’ to be an invaluable resource. I’ll refer back to them both often in my posts.

In his book, Newman recommends first restructuring an existing application into modules that reflect the domain’s bounded contexts. Then, once the developers are happy, modules can be split off into their own services. The reason for this is that it’s much easier to break down and rewrite modules if their boundaries were badly chosen than it is to break down and rewrite entire services, with all their extra plumbing code and persistent resources. However, due to time constraints and my eagerness to build a component of my own, I went ahead with the first service.

I chose a stack only marginally different to the one we were using for our monolith and started building. The build itself proceeded rather quickly, taking a few weeks to produce a standalone application with a REST API. Only then did the real challenges start.

I had to get the service to talk with the monolith. It was at this point that I learned how tightly coupled session management was with the rest of the code. It to me a while to break down existing function calls and translate them into API calls. This was tricky. As the session service and the monolith had their own database schemas, I had to rewrite any logic in the monolith that used session resources from the old database, restructuring the data at the application boundary to maintain compatibility with clients such as our javascript plugin.

Integrating the service with our existing application took longer than it did to write the service itself, and this didn’t include a lot of the extra overhead that microservices normally bring, such as service discovery, logging and monitoring. Furthermore, due to tight coupling, changes were made to many areas of the code. As the team had been working on various areas of the code in parallel during this time, it would have required a lot more work to merge the changes and get the session service into production.

The service might soon go into production, however, I now feel that I should have followed Newman’s advice and put my efforts into modularising our existing application. The benefit of having one service living on its own is marginal. The real benefit will come from splitting up the whole thing, at least into coarse-grained services, that chat as little as possible. This requires very well thought-out component boundaries, and we’re not quite there yet.

I’m still sold on the idea of microservices, and I see my attempt at splitting off a service as a successful experiment. I learned a great deal about application architecture and domain modelling in the process, and improved my understanding of REST principles, among other things. These have had an immediate knock-on effect in other areas of our code.

For readers looking to convert, I would be sure to read up as much as possible on the subject, and put off the work until you are very confident with your existing codebase and your domain model. There are other ways to introduce stability and resilience into a monolithic application. Test driven development and automated unit and functional tests help a great deal. Horizontal scaling helps make deployments a little smoother too.

Shoprocket will continue on its journey to microservices. We look forward to telling you more in part 2!

Ready to start selling?

All the tools you'll need to sell from your existing website, social channels and more.
No technical skills required.

34,384 sellers have processed over $3,090,935.20

Good prices for a great product!
Shoprocket 5 star review
The product is great for integrating into your website. Functionality is good and they are constantly adding more features. The tiered pricing is very good and much less than other platforms.I faced s...
Amazing Support
Shoprocket 5 star review
The e-commerce platform is very good, could always do with improvements, but Ryan and the support team are amazing! Very quick to make updates, fix bugs etc and they reply to messages and questions ve...
Love using Shoprocket
Shoprocket 5 star review
Love using Shoprocket! Eshop is not my primary business, use it to sell merch as a support channel, and the easy with which I was able to add Shoprocket-powered eshop to my existing NextJS project is...
Highly recommended!!
Shoprocket 5 star review
I'm a small business owner who's not that experienced with most things tech related, started my website on carrd which I eventually learned, is not the best for hosting an ecommerce site or an...
100% worth the money
Shoprocket 5 star review
I love how modular Shoprocket is. As a headless ecommerce solution I can confidently configure knowing that if I ever change my website tech stack, I won't have to start over with my store.And as...
First-class service absolutely ALWAYS
Shoprocket 5 star review
First-class service absolutely ALWAYS and at anytime! Highly recommend it, they answered SO many questions for me, and 100% confidence these are the folks to use!
I like almost everything about Shoprocket
Shoprocket 5 star review
I like almost everything about Shoprocket. its easy to use and quick customer service. 10/10.
Shoprocket and it's founder always available for s
Shoprocket 5 star review
Shoprocket has been a trustworthy partner since I started to use it. It's been paramount for our growth in 2022 and 2023 and I am sure it will continue to.What really sets this software apart is t...
Great product and excellent customer service!
Shoprocket 5 star review
They have possibly the first service rep I have come across that will look at your problem and fix your code within few minutes to help with customising the integration of the shoprocket tool - massiv...
Brilliant company…
Shoprocket 5 star review
An amazing system for an online shop and what makes it better is the human contact that is available 24/7. Would highly recommend.
Easy to use with excellent support
Shoprocket 5 star review
I've saved a ton of time and avoided headaches by creating products in Shoprocket and integrating them on my website and sales pages. Whenever I have a question, they can usually resolve it via chat i...
One of the best ecommerce platforms and plugins!
Shoprocket 5 star review
One of the best ecommerce platforms that exist - i already had an existing site hosted elsewhere and this made it so easy for me to create my online store without paying the extra added cost that'...
Highly recommended
Shoprocket 5 star review
I am new to this game, but shoprocket has proven to be an easy to use product, that performs as advertised. The customer service is prompt, very friendly, and importantly, very knowledgeable. I have...
Excellent support
Shoprocket 5 star review
Im really enthusiastic about Shoprocket. It works super fast, the shop is easy to customise and the support is one of a kind, super fast and clear communication, I love it. They even added a word to t...
So easy to set up!!
Shoprocket 5 star review
So easy to set up, so responsive and helpful! Its been two weeks and a platform never been so easy!
Incredible, in-budget and speedy
Shoprocket 5 star review
Incredible and much cheaper than their competitors (Shopify, ECWID, etc). Too easy to setup. Amazingly speed too.
Very good online selling site.
Shoprocket 5 star review
This platform stands out as a straightforward and user-friendly online selling site. With easy setup procedures and a clean interface, it swiftly transforms a daunting task into a manageable one.
Extremely easy to setup
Shoprocket 5 star review
Extremely easy to setup and if you have a problem just use the chat button. I am across the world but Ryan was there in an instant with not only an answer but a quick video recording he made to show h...
I recently started using Shoprocket.io
Shoprocket 5 star review
I recently started using Shoprocket.io for my online store and I couldn't be happier! As a small business owner, I was looking for a platform that was both user-friendly and packed with all the fe...
We are loving Shoprocket
Shoprocket 5 star review
We are loving Shoprocket, the customer service has been fantastic and I love the flexibility and integration with our website host Showit. We are grateful to have found this!
A Customer Service Second to None!
Shoprocket 5 star review
I run a knowledge and educational website, and had always envisioned setting up a shop for digital educational products. However, not being adept at programming or development, and solely relying on t...
Excellent and versatile shop software
Shoprocket 5 star review
After searching for an easy to integrate shop system, I finally found Shoprocket. From the beginning, I was impressed by the easy integration of the individual products or the catalogue into an existi...
Best service ever
Shoprocket 5 star review
There's a lot of things you could say about Shoprocket, and I've got positive things to say about almost everything. But one thing is sure, and that is that Shoprocket have the best customer s...
Excellent solution and support!
Shoprocket 5 star review
We have been testing a lot of systems, and never found such a solid and intuitive system as Shoprocket. The support is outstanding, and the way they listen to us regarding implementing features etc, i...
Great shopping cart that integrates into your own
Shoprocket 5 star review
I really love Shoprockets shopping cart, it's just a simple code inserted into our own website. Ryan is absolutely fabulous with all his help to anything you need to know. If you want to keep ever...
Incredible customer service
Shoprocket 5 star review
Incredible customer service and refreshing to see a product with so many features that's so easy to use! Absolutely brilliant, can't recommend enough.
Service client excellent et très bonne
Shoprocket 5 star review
Service client excellent et très bonne solution ecommerce
Great customer service
Shoprocket 5 star review
Great customer service, willing to inform me when I have questions about how things are done to help make my business better.
Easy to use and great support
Shoprocket 5 star review
This was my first time building a store and I am amazed at how easy it has been. The tool is easy to navigate, it looks nice. Also, the integration with Stipe and my website on PageCloud couldn't...
Ryan is very attentive and when there…
Shoprocket 5 star review
Ryan is very attentive and when there were some issues it was addressed thank you shoprocket, things are great!
Always very helpful & informative
Shoprocket 5 star review
Always very helpful & informative whenever I’ve have a query. Replies are a lot quicker than my website provider & info is a lot clearer.
Reliable, Reactive and (I think) Revolutionary
Shoprocket 5 star review
I am a long term user of Shoprocket, not sure how long as its been across jobs and roles and projects but I am currently using it for taking payments for consultancy services. It is by far the easiest...
Very promising but... it works!
Shoprocket 5 star review
Very promising, and the price in very interesting. Now, after some email exchanges, all is updated and it works fine ! Very good and responsive support ! You have a new customer now.
Huge potential
Shoprocket 5 star review
Shoprocket is still in the start up process, as I see it, but it got huge potential. There are a few things that might need to be a bit better, e.g. the admin panel is not working perfectly in Google...
Great features, easy to use
Shoprocket 5 star review
Excellent customer service. Easy, straightforward interface, and an abundance of features at a very reasonable price.
Fills a gap in the market
Shoprocket 5 star review
Took me a while to find something that did what shoprocket did; which is surprising as it would seem to be an obvious and popular tool. v2 has had a few small bugs while it's brought up to speed b...
Great customer service
Shoprocket 5 star review
Great customer service
So much better than shopify
Shoprocket 5 star review
So much better than shopify, its super customizable, customer service is awesome and is flexible for any industry. Still in its developing phase but the at the rate its going in improvements, this is...
The speed of getting my problem solved…
Shoprocket 5 star review
The speed of getting my problem solved was so appreciated. And I am always treated very well, chat and or email! The lady who helps with my website also said to me Shoprocket has awesome customer serv...
Impressive
Shoprocket 5 star review
Although still in beta, Shoprocket is pretty impressive. The finished product is looking set to be an extremely useful and powerful tool for anyone selling anything online. And the customer service is...
Shoprocket is a Great system!
Shoprocket 5 star review
We have been using Shoprocket for at least 3 years now. This past May (2021) they released their latest version and it looks like a major rewrite. The product was good before, but now it's really...
User-friendly platform and excellent…
Shoprocket 5 star review
User-friendly platform and excellent customer service. I couldn't ask for a better tool!
Would highly recommend Ryan in…
Shoprocket 5 star review
Would highly recommend Ryan in Shoprocket. He is a credit to the team. Very helpful and efficient.
Shoprocket is perfect for new and existing web bus
Shoprocket 5 star review
Shoprocket was the best option for adding a shop to my existing website to enable me to sell and accept card payments and deposits for my bespoke products. It was fast to set up with clear menu option...
Very helpful account manager Ryan who…
Shoprocket 5 star review
Very helpful account manager Ryan who has guided me through any issues I had. Good platform that works very well.
Good prices for a great product!
Shoprocket 5 star review
The product is great for integrating into your website. Functionality is good and they are constantly adding more features. The tiered pricing is very good and much less than other platforms.I faced s...
Amazing Support
Shoprocket 5 star review
The e-commerce platform is very good, could always do with improvements, but Ryan and the support team are amazing! Very quick to make updates, fix bugs etc and they reply to messages and questions ve...
Love using Shoprocket
Shoprocket 5 star review
Love using Shoprocket! Eshop is not my primary business, use it to sell merch as a support channel, and the easy with which I was able to add Shoprocket-powered eshop to my existing NextJS project is...
Highly recommended!!
Shoprocket 5 star review
I'm a small business owner who's not that experienced with most things tech related, started my website on carrd which I eventually learned, is not the best for hosting an ecommerce site or an...
100% worth the money
Shoprocket 5 star review
I love how modular Shoprocket is. As a headless ecommerce solution I can confidently configure knowing that if I ever change my website tech stack, I won't have to start over with my store.And as...
First-class service absolutely ALWAYS
Shoprocket 5 star review
First-class service absolutely ALWAYS and at anytime! Highly recommend it, they answered SO many questions for me, and 100% confidence these are the folks to use!
I like almost everything about Shoprocket
Shoprocket 5 star review
I like almost everything about Shoprocket. its easy to use and quick customer service. 10/10.
Shoprocket and it's founder always available for s
Shoprocket 5 star review
Shoprocket has been a trustworthy partner since I started to use it. It's been paramount for our growth in 2022 and 2023 and I am sure it will continue to.What really sets this software apart is t...
Great product and excellent customer service!
Shoprocket 5 star review
They have possibly the first service rep I have come across that will look at your problem and fix your code within few minutes to help with customising the integration of the shoprocket tool - massiv...
Brilliant company…
Shoprocket 5 star review
An amazing system for an online shop and what makes it better is the human contact that is available 24/7. Would highly recommend.
Easy to use with excellent support
Shoprocket 5 star review
I've saved a ton of time and avoided headaches by creating products in Shoprocket and integrating them on my website and sales pages. Whenever I have a question, they can usually resolve it via chat i...
One of the best ecommerce platforms and plugins!
Shoprocket 5 star review
One of the best ecommerce platforms that exist - i already had an existing site hosted elsewhere and this made it so easy for me to create my online store without paying the extra added cost that'...
Highly recommended
Shoprocket 5 star review
I am new to this game, but shoprocket has proven to be an easy to use product, that performs as advertised. The customer service is prompt, very friendly, and importantly, very knowledgeable. I have...
Excellent support
Shoprocket 5 star review
Im really enthusiastic about Shoprocket. It works super fast, the shop is easy to customise and the support is one of a kind, super fast and clear communication, I love it. They even added a word to t...
So easy to set up!!
Shoprocket 5 star review
So easy to set up, so responsive and helpful! Its been two weeks and a platform never been so easy!
Incredible, in-budget and speedy
Shoprocket 5 star review
Incredible and much cheaper than their competitors (Shopify, ECWID, etc). Too easy to setup. Amazingly speed too.
Very good online selling site.
Shoprocket 5 star review
This platform stands out as a straightforward and user-friendly online selling site. With easy setup procedures and a clean interface, it swiftly transforms a daunting task into a manageable one.
Extremely easy to setup
Shoprocket 5 star review
Extremely easy to setup and if you have a problem just use the chat button. I am across the world but Ryan was there in an instant with not only an answer but a quick video recording he made to show h...
I recently started using Shoprocket.io
Shoprocket 5 star review
I recently started using Shoprocket.io for my online store and I couldn't be happier! As a small business owner, I was looking for a platform that was both user-friendly and packed with all the fe...
We are loving Shoprocket
Shoprocket 5 star review
We are loving Shoprocket, the customer service has been fantastic and I love the flexibility and integration with our website host Showit. We are grateful to have found this!
A Customer Service Second to None!
Shoprocket 5 star review
I run a knowledge and educational website, and had always envisioned setting up a shop for digital educational products. However, not being adept at programming or development, and solely relying on t...
Excellent and versatile shop software
Shoprocket 5 star review
After searching for an easy to integrate shop system, I finally found Shoprocket. From the beginning, I was impressed by the easy integration of the individual products or the catalogue into an existi...
Best service ever
Shoprocket 5 star review
There's a lot of things you could say about Shoprocket, and I've got positive things to say about almost everything. But one thing is sure, and that is that Shoprocket have the best customer s...
Excellent solution and support!
Shoprocket 5 star review
We have been testing a lot of systems, and never found such a solid and intuitive system as Shoprocket. The support is outstanding, and the way they listen to us regarding implementing features etc, i...
Great shopping cart that integrates into your own
Shoprocket 5 star review
I really love Shoprockets shopping cart, it's just a simple code inserted into our own website. Ryan is absolutely fabulous with all his help to anything you need to know. If you want to keep ever...
Incredible customer service
Shoprocket 5 star review
Incredible customer service and refreshing to see a product with so many features that's so easy to use! Absolutely brilliant, can't recommend enough.
Service client excellent et très bonne
Shoprocket 5 star review
Service client excellent et très bonne solution ecommerce
Great customer service
Shoprocket 5 star review
Great customer service, willing to inform me when I have questions about how things are done to help make my business better.
Easy to use and great support
Shoprocket 5 star review
This was my first time building a store and I am amazed at how easy it has been. The tool is easy to navigate, it looks nice. Also, the integration with Stipe and my website on PageCloud couldn't...
Ryan is very attentive and when there…
Shoprocket 5 star review
Ryan is very attentive and when there were some issues it was addressed thank you shoprocket, things are great!
Always very helpful & informative
Shoprocket 5 star review
Always very helpful & informative whenever I’ve have a query. Replies are a lot quicker than my website provider & info is a lot clearer.
Reliable, Reactive and (I think) Revolutionary
Shoprocket 5 star review
I am a long term user of Shoprocket, not sure how long as its been across jobs and roles and projects but I am currently using it for taking payments for consultancy services. It is by far the easiest...
Very promising but... it works!
Shoprocket 5 star review
Very promising, and the price in very interesting. Now, after some email exchanges, all is updated and it works fine ! Very good and responsive support ! You have a new customer now.
Huge potential
Shoprocket 5 star review
Shoprocket is still in the start up process, as I see it, but it got huge potential. There are a few things that might need to be a bit better, e.g. the admin panel is not working perfectly in Google...
Great features, easy to use
Shoprocket 5 star review
Excellent customer service. Easy, straightforward interface, and an abundance of features at a very reasonable price.
Fills a gap in the market
Shoprocket 5 star review
Took me a while to find something that did what shoprocket did; which is surprising as it would seem to be an obvious and popular tool. v2 has had a few small bugs while it's brought up to speed b...
Great customer service
Shoprocket 5 star review
Great customer service
So much better than shopify
Shoprocket 5 star review
So much better than shopify, its super customizable, customer service is awesome and is flexible for any industry. Still in its developing phase but the at the rate its going in improvements, this is...
The speed of getting my problem solved…
Shoprocket 5 star review
The speed of getting my problem solved was so appreciated. And I am always treated very well, chat and or email! The lady who helps with my website also said to me Shoprocket has awesome customer serv...
Impressive
Shoprocket 5 star review
Although still in beta, Shoprocket is pretty impressive. The finished product is looking set to be an extremely useful and powerful tool for anyone selling anything online. And the customer service is...
Shoprocket is a Great system!
Shoprocket 5 star review
We have been using Shoprocket for at least 3 years now. This past May (2021) they released their latest version and it looks like a major rewrite. The product was good before, but now it's really...
User-friendly platform and excellent…
Shoprocket 5 star review
User-friendly platform and excellent customer service. I couldn't ask for a better tool!
Would highly recommend Ryan in…
Shoprocket 5 star review
Would highly recommend Ryan in Shoprocket. He is a credit to the team. Very helpful and efficient.
Shoprocket is perfect for new and existing web bus
Shoprocket 5 star review
Shoprocket was the best option for adding a shop to my existing website to enable me to sell and accept card payments and deposits for my bespoke products. It was fast to set up with clear menu option...
Very helpful account manager Ryan who…
Shoprocket 5 star review
Very helpful account manager Ryan who has guided me through any issues I had. Good platform that works very well.

as featured in
Add ecommerce to any website