A Doctolib
success story

1M+ healthcare providers rely on Akka for resilient, secure messaging via Doctolib

Executive summary

Doctolib Siilo recognized an opportunity to modernize outdated technology for tracking patient care, handling referrals, and exchanging medical expertise. With Akka as the core technology, Doctolib Siilo built a comprehensive modern solution that up-levels patient care through a reliable and secure system.

 

Doctolib on Akka: the numbers
Elasticity Agility Resilience

2,500

patient data messages per second 

3 months w/2 devs

from inception to production, the Doctolib developer team of two built and maintains the system

99.9999%

service availability

Thanks to Akka, our messaging is always reliable—it never goes down! In healthcare, this is incredibly important.

Jasper Aarts
Senior Staff Engineer. Doctolib

The challenge

Building any application that needs to manage individual medical records presents specific challenges, security and reliability first among them.

The Doctolib Siilo team set out to build a solution that could:

  • Securely exchange sensitive patient data and other information in an easy-to-use solution
  • Maintain compliance with global and EU security protocols and regulations
  • Scale to add thousands of new users each month
  • Guarantee reliability as the nature of the information exchanged could literally mean life or death for patients

The solution

The initial solution was built using Spring Boot, and a distributed cache like Redis was considered. This approach lacked a communication mechanism between servers without introducing an external message queue, breaching compliance with many global and EU protocols and regulations. The team determined an encrypted inter-server communication without external components such as a distributed cache was the right path.

Akka provided a platform for building a distributed system that provides resilience and performance, and didn’t require complex configuration. Akka enables embedding the inter-service messaging for cache invalidation and session partitioning directly into its Java application code, thus eliminating the need for a cache and external message queue resources. The simple setup enabled their two-person team to build a redundant and scalable system with just application servers and a database—in only 3 months.

Key features for the Doctolib team included:

  • Low latency via sharding and pub/sub messaging: Over a million healthcare professionals, including doctors, nurses, and admins, requires the delivery of millions of messages daily. Akka sharding and publish/subscribe (Pub/Sub) messaging automatically shards events over different servers, and simple pub/sub messaging with local server caching provides instant event notifications.
  • Ease of deployment and ongoing management: Akka handles the back end, enabling the two-person team to build the system in three months and continue to manage the entire system while incorporating new features.
  • Clustering: New users and more servers are able to be added easily.
  • Replication: Akka also immediately offered the team redundancy across multiple servers. 

What’s great about Akka is that it just works. It’s saved us a lot of hours in terms of setup, and we are able to run our entire backend system with just two engineers.

Jasper Aarts
Senior Staff Engineer. Doctolib

The results

By adopting Akka, the team is able to achieve:

  • Better scalability: Continuously scale to support adding thousands of new users every month. At peak traffic, the system is exchanging about 2,500 messages per second.
  • Real-time healthcare: Health professionals can instantly and securely discuss patients' cases and protocols with colleagues and peers through rich media messaging or voice and video calling without interrupting workflows.
  • Security and compliance: This solution maintains the highest of global standards and complies with the GDPR, E-Privacy, the NHS information governance, DCB 0129, ICO, ISO 27001, and NEN 7510, 7512, and 7513.
  • Reliable service: Guaranteed uptime. The Doctolib Siilo service has yet to go down for any reason, giving its customers peace of mind.

Stay Responsive
to Change.