Floret Creates Interactive Dating App Using PubNub
Floret is a matchmaking application that blends gamification and virtual romance together to create a unique and interactive dating experience.
- Gamification: Users join a game room and have ninety seconds to browse each other’s profiles and rank one another. They are then matched based on the Stable Marriage Problem, a famous concept in Economics and Computer Science.
- Virtual romance: Once matched, pairs can communicate on the platform with text and video messages, with new features continuously being added.
Burden of Building Real-time In HouseFloret originally tried to build out a real-time infrastructure for both their messaging platform and their Matchmaking Game in house. The development team soon found that doing this would not only take months to build, but would also require heavy maintenance and operations commitments to keep it running.
The mere cost and time to build out a real-time infrastructure was a huge burden. We had to hire an engineer solely to build in real time, which is infeasible for an early stage startup,Milad Moh Founder and CEO/CTO of Floret
The Real-time Matchmaking Game Needs Real-time SpeedReal-time functionality is vital for the core feature of Floret, the Real-time Matchmaking Game. With only ninety seconds, PubNub is able to deliver speed and reliability to ensure that users can rate one another and interact within the application.
Synchronization the Real-time Matchmaking Game across all connected users was a key concern for the Floret team. They originally used a combination of fetch and push notifications to synchronize the game room, which soon proved to be unreliable.
We had problems synchronizing the game room for all players, which was also accounting for long loading times.
With PubNub, loading time is a quarter of what it used to be. We now have no issues synchronizing the game, and it’s significantly improved user experience and speed.
Building a Real-time Messaging LayerIn addition to the Real-time Matchmaking Game, Floret uses PubNub extensively for messaging inside their application. PubNub Data Streams is at the core of Floret’s messaging platform, enabling users to communicate over text in real time.
Before we implemented PubNub, we had a large number of users were leaving Floret to chat on other messaging services and platforms. After implementation, we’ve eliminated this problem and can provide a fast and smooth messaging experience.
Ease of Implementation and ValueFloret had PubNub fully implemented and running in their application in under two weeks. Since implementing PubNub, Floret doesn’t have to worry about orchestrating and maintaining their backend infrastructure. Additionally, PubNub has significantly reduced the number of API calls to their backend, and made their messaging and Matchmaking Game faster and more reliable.
With the help of PubNub, we can now focus on other aspects of Floret rather than worrying about building and maintaining real-time functionality on our own. Scalability is also an important factor for us, and we now know that we can support hundreds of thousands of users,Moh