Peer-to-Peer Lending Marketplace for Retail Finance

Our client is a London-based startup operating in the consumer finance sector. It is a platform for merchants, lenders, and intermediaries, where customers can spread the cost of any purchase over several months while the merchant gets paid in full right away.


INDUSTRY

Banking and Finance

COUNTRY

UK


Peer-to-Peer Lending Marketplace for Retail Finance

Business Challenges

01

To provide merchants with an instant point of sale finance solution that works in-store, online, via mobile and over the phone.

Business Value

The challenges

  1. The first challenge that our team encountered was due to a large stream of query inputs(webhook) in the context of processing DB-connections and in the context of transactions. We had to increase maximum bandwidth in order to quickly proceed with requests per second. Moreover, we had to organize transaction and rollback actions to avoid deadlocks and other similar issues (data corruption, etc.) that may occur during high request rates.
  2. The next challenge that occurred was the loading speed page at a large data volume. The page was loaded in about 30 seconds, which was too slow for us.
  3. We had a problem with effective multithreading. There was a large number of functions (jobs) that occurred simultaneously and intersected. So, our task was to make sure there are no conflicts between them in order to keep the data consistent and avoid having one function-blocking another.
  4. A small problem also arose with cash transactions. The calculations should be accurate and take into account all the marks after the comma.

The Solution

  1. We organized precise transaction management and set up a correctly configured connection pool.
  2. To speed up the loading time we assimilated SQL queries, extracting the necessary data for a particular page. In addition, we transferred many aggregation operations to the database level. Also, a part of the resources was located in RAM. We had to abandon a static page load in favour of a dynamic one. All these steps allowed us to reduce the page load time down to less than a second
  3. To overcome the problem with effective multithreading we applied spring scheduler and native tools like ScheduledExecutorService, as well as proper transaction management.
  4. To deliver greater accuracy for the cash transactions we used specific classes that provided more accurate calculations. Also, we applied proper error handling, therefore, in case of system problems, money will not be sent anywhere.

Looking for the right team to accelerate your business growth?

Contact Us

Trusted consulting technology company

Money-back

guarantee

320+

tech talents

83

Net Promoter Score in 2023

10+

years on the market

Certifications & Reviews

Setificat Logo
Setificat Logo
Goodfirms logo
Find us on Glassdoor.