What is our primary use case?
PubNub is a real-time messaging and event streaming platform that we use in an application where users can raise complaints about problems in their homes. All real-time technicians available at that time receive push notifications on their phones or real-time messages indicating an open complaint, and they can accept it immediately. When one message needs to be sent to multiple people, we use PubNub.
We have channels in PubNub where users can publish requests. For example, when I need a technician in my home, I immediately publish a message to a PubNub channel. All subscribers, such as all technicians available in the market, consume the message from that particular channel so that everyone receives the real-time message without any latency. PubNub can also be used for chat and messaging applications. We use it to see how many technicians are available in the market at any given time, which is an online and offline status feature. We are using the Python SDK to handle PubNub functionality.
The client publishes a message to a channel whenever a person needs a technician. PubNub instantly delivers it to all clients subscribed to that channel. Suppose there are 10 million users or technicians; it immediately delivers the particular message to all subscribers, connecting the user in milliseconds even without refreshing the app. There is a direct link available between the technician and the customer.
What is most valuable?
The fast implementation allows us to easily implement PubNub in our application without any problems. PubNub has available SDKs in multiple languages, and it is very easy to implement in the application. The documentation is quite simple and easy to understand. Auto-scaling can handle millions of concurrent connections, unlike the problems we see in WebSocket connection management. I have not seen any problems with PubNub in this regard. It also stores previous messages so that no message is lost. If I send a message and the person is not available at that time, whenever they come online, it will immediately fetch the message. It has a message history feature for storing and retrieving previous messages. Regarding security, it provides access management in three ways: user management, channel-based security, and group roles.
The fast auto-scaling and fast implementation are the best features in my daily work because users usually face problems with connection management in WebSocket. With PubNub, we do not need to worry about it at all.
PubNub has positively impacted my organization by reducing implementation time and developers' work. If we were using something else like WebSocket instead of PubNub, we would need our own infrastructure to manage live connections and to check whether the connection is lost or not. With PubNub, it is very easy to implement, enabling fast development. It has reduced the developers' time by 40-50%.
What needs improvement?
Regarding PubNub improvements, we do not have any control over infrastructure, network configuration, or internal message routing. Sometimes a company needs these aspects as well. They may want a network configuration where messages are stored or internal message routing for how messages route between channels and users. PubNub completely manages this. PubNub could consider offering an optional setup in the future for users who want to manage these aspects themselves.
For how long have I used the solution?
I have been using PubNub for around four years.
What do I think about the stability of the solution?
What do I think about the scalability of the solution?
PubNub allows scalability. I have seen it support 10 million concurrent users from my own experience, and it works fine without any latency or issues.
How are customer service and support?
I have not had a chance to connect with customer support, but I find the documentation and SDKs to be very good, easy to implement, and detailed.
Which solution did I use previously and why did I switch?
I have previously used Kafka, but it has a different use case as it is a message broker. For our use case, PubNub is a better choice because it allows one subscriber and millions of consumers, which is essential.
How was the initial setup?
The setup cost is very low. Regarding pricing, when the data scales, the pricing increases gradually, but PubNub does not charge much in the initial phase.
What was our ROI?
We see a return on investment with time saved for developers, and the user experience increases. While we do not have a specific metric for user experience, we have saved around 40% of the development time because without PubNub, we would have to manage connections ourselves if we were using WebSockets. PubNub handles everything and allows fast implementation and development.
What's my experience with pricing, setup cost, and licensing?
The setup cost is very low. Regarding pricing, when the data scales, the pricing increases gradually, but PubNub does not charge much in the initial phase.
Which other solutions did I evaluate?
We have evaluated other options like RabbitMQ and Apache Kafka, but we stuck with PubNub because it does not charge much in the initial phase and is very easy to implement.
What other advice do I have?
I would advise others to use PubNub if they want quick real-time communication, do not want to manage WebSocket or infrastructure, and need global scalability. If your team is small and wants faster development, then go for PubNub. I do not see any need for improvement; it is totally the best.
Regarding PubNub's security, it provides three levels of security: user-level, group-level, and channel-level. No person who does not have access to a channel can subscribe to that channel or see its messages. The security is totally good and secure. It also provides end-to-end encryption support, secure TLS connections, role-based permissions, and token-based authorization.
I gave PubNub a rating of nine out of ten because of the many features discussed, but I deducted one point because the cost increases with scale. If there are millions of users, like 10 million concurrent users, the cost will gradually increase. Additionally, PubNub does not give us control over infrastructure, network configuration, and internal message routing, which also contributed to the deduction.