DEV Community

Akash Chaudhari
Akash Chaudhari

Posted on

How We Implemented Fault Tolerant Hosting For ERPNext

taylor-vick-M5tzZtFCOfs-unsplash

ERPNext is Open Source CRM and Business Management tool that Provide Control over Various Aspects of your Business Ranging from Work Order to Sales Invoice to Payment.It is Straight Competitor for Odoo, SAP and Other Leading Competitors. Grynn Offer this CRM Customized For European Markets. We already have Built apps like For E-Invoicing , Security Card, Tax FX Rates and Much More which Make ERPNext Native to Europe. Now we have implimetned Hosting for ERPNext. Our Initial Version of Hosting Offers 3 Months Trial for Free you can get it Here.

The stack

From the very first we were into lambda thing. Also we wanted to impliment our front end that is compleatly isolated from our provisioning Infra. So we Picked Up Netlify as our hosting and it also provides functions which is what we wanted. Our backend infra is using Linode For Provisioning machines and creating Sites. Now benifit of this is our front facing is totally based on functions and probability of its going down is very less. Our backend on the other hand requires monitoring facilities and usage to track down it's uptime and automated heaing.

The Front end

Our Front end is Using React with Gatsby and Netlify Functions. The Reason for Using Gatsby is it's Performance , SEO and Automated Splitting is built into framework which makes it perfect for Creating High Performant Pages. If you are a Vue Fan then you can use Gridsome. At Front end We take Information through Form , Verify it and Then Call a Function that queue the site creation process. Now our backend Part Comes in.

The back End

In Backend We we take request in the Queue and process it and notify user with their site and temporary password. we have a Nginx Instance Running Detached From our Infra that Helps in Monitoring. Now our Nginx Decides where to Put our site. We are using Name Based Resolution for our free trial websites.

Here is Summary of Our Infra Looks Like
Structure

Now this is view from ten thousand Feets i can say. Implimeting Hosting for Anything requires many things to be taken care of.

Playwright CLI Flags Tutorial

5 Playwright CLI Flags That Will Transform Your Testing Workflow

  • 0:56 --last-failed
  • 2:34 --only-changed
  • 4:27 --repeat-each
  • 5:15 --forbid-only
  • 5:51 --ui --headed --workers 1

Learn how these powerful command-line options can save you time, strengthen your test suite, and streamline your Playwright testing experience. Click on any timestamp above to jump directly to that section in the tutorial!

Watch Full Video 📹️

Top comments (1)

Collapse
 
aburassin profile image
aburassin

that is great, what if I want to do it on self-hosting?

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay