Making your software enterprise grade

enterprise grade software

One fine Sunday afternoon I was browsing the internet and suddenly a question from the previous week hit my mind. Is Adjutas enterprise grade? It was a prospective customer that asked me this question. I did not have a convincing answer at the moment, but I’m pretty sure I did nod my head and assumed that my prospect took that as a yes.

I fired up my browser and navigated to google.com and typed enterprise grade software. Among the thousands of link I found one article to be interesting. The author in the very first paragraph claimed that the term “enterprise grade software” is a total myth. My intention is not to challenge any school of thought or to downplay the need to have robust software but it is to express a different thought process which I believe might make some sense in the world that we are living in which is fast paced and is constantly evolving every day.

We as the business consumers have to accept one thing. No software is perfect.

Benefits of adopting Google App Engine

developers image

Google App Engine (GAE) is a powerful platform to build both web and mobile apps. Its very scalable and takes google app engine imageaway the headache that comes along with a regular server. We have been using Google App Engine for everything from our internal applications to our flagship product Adjutas. We would like to share the reasons we went with Google App Engine so that it might be useful to you.

Continue reading

Using an external database with Google App Engine

GAE SQL

 

Recently we helped a situation where the customer for certain reasons did not want to use cloud SQL but wanted to use Google App Engine. This means that now we had to setup the application on Google App Engine but the database would run on an internally hosted server.

Theoretically this was possible but we did run across some issues while setting up.

'hostname' => '202.202.202.202',
'username' => 'user',
'password' => 'password',
'database' => 'dbname',
'dbdriver' => 'mysqli',

The moment we made this change in our database.php file we got the following error.

Error: Server Error
The server encountered an error and could not complete your request.
Please try again in 30 seconds.

Google and Stackoverflow did not help us so had to post a new question on Stackoverflow (our question), but that was not of much help either. So we had to stick with what we knew and some trial and error. I decided to change the IP address to a proper host name.

'hostname' => 'dbserver.domain.com',
'username' => 'user',
'password' => 'password',
'database' => 'dbname',
'dbdriver' => 'mysqli',

The error that we go after we deployed to Google App Engine was different this time. The error said that the server was not able to connect to the server. We then looked at the error log and found out that the socket API was disabled. We then activated the billing for this project and the socket API was on (this might take some time, so in case you get an error, please give it some time and try again).

We then tested and everything was fine. Our software worked seamlessly. The performance might not be as good as Google Cloud SQL, but it was good enough and our client was not complaining.

Related help article:

Using Third-Party Databases