How can WeAreFrank! help with data loss between applications and databases such as Oracle, MySQL and MongoDB?

Databases are the foundation of your IT infrastructure, and on that foundation you build your CRM or HR applications, for example. Applications and databases are directly connected, and the data from them in turn serves as input for reports and overviews. But what if the connection between an application and a database does not work (properly)? Then messages with essential data are not processed correctly and your reports will be wrong too. That is when to call in WeAreFrank!. We explain how we can help you with data loss between different systems and applications.

Data loss in practice: an example

Say you run an e-commerce business. When an order is placed in your web shop, several pieces of data are collected, such as the items in the shopping cart, the delivery address and the invoice. All that information belongs to one order and is written to one or more databases with different queries. What if something goes wrong while that data is being written? The power or internet connection drops and only a few order lines have been saved. Together with you, we then walk through the process at both the functional and the technical level.

Step 1: functional level

What do the connections between your web shop, the underlying applications and the databases look like? Is data written in several steps or all at once? What happens if only half of the order lines are saved and the other half are not? Together we go through the flow of placing an order, and by testing it we find out which data does and does not end up in the databases.

Another important aspect at the functional level is user-friendliness. Does the user get feedback when the order has been placed successfully? And what if the connection drops: does the user get an error message, such as 'please try again'? That is already a simple solution that helps you save on overhead costs, because you want to avoid customers phoning customer service when something like this happens.

Step 2: technical level

Of course we also look at the ordering process and the processes behind it at the technical level. A web service communicates via the HTTP protocol, and that is not transactional, whereas you do want to process the order data transactionally. That means the whole set of data (addresses, order lines and invoicing) is written in one go to one or more databases, and not in parts. To achieve transactional processing, you need to take measures on both the browser side and the server side.

You also do not want the same data to be stored several times, because that creates duplicates in your databases. By making sure an order or message gets a unique ID, you can set up a check in the process to see whether the order has already been received. You can then again communicate to the user whether the order was processed successfully. That way you prevent orders from being processed only half or twice, and you prevent uncertainty for the user.

Preventing data loss in the future?

When data has been lost, it is hard to get it back. But we are happy to help you set up your IT infrastructure and the connections to your application domain, so that in the future data is not lost or processed twice. Do you want real control over your application chain, so that you are not only busy solving incidents and problems but can act proactively based on insight? Get in touch with us.

Questions about this case?
Get in touch
Portrait of Jeroen Jansen van Rosendaal

Written by
Jeroen Jansen van Rosendaal