Systems | Development | Analytics | API | Testing

Building a realtime chat application using WebSockets with Angular and Firebase

The joke used to be that no piece of software was complete until it could send and receive email. Fast forward to today, replace email with realtime chat, and actually you might not be too far from the truth. Whether you’re delivering customer service, connecting community members, or helping colleagues communicate, realtime chat is quickly becoming a standard part of the web developer’s toolkit.

Scaling live experiences: Horizontal vs vertical scaling for WebSockets

Live experiences are at the heart of the modern web. And delivering them to small audiences is relatively easy, thanks to protocols such as WebSockets. But there is a challenge. The difficulty involved in scaling WebSockets is non-linear. In other words, there comes a point where serving more clients demands significantly more complex architecture.

The WhatsApp outage highlights our dependence on realtime technology - but why is it so hard to get right?

Billions of people rely on WhatsApp each day to communicate in realtime. Friends exchange memes, expats catch up with their families, businesses take bookings and run customer support, and teams ranging from emergency services to on-call engineers at tech companies even use WhatsApp as their primary communication tool. So when WhatsApp had an hours-long global outage on 25 October 2022, the world noticed.

Embracing remote-first: how we communicate and collaborate at Ably

Like many other companies, Ably began working remotely because of the Covid pandemic. In time, we discovered that a remote-first approach is well suited and a key driver to our success. Remote-first makes the most sense to us, considering our mission and the goals we want to achieve. It has many perks, such as being able to hire diverse talent from all over the globe, as well as reaching more customers with our technology and product offering.

Adobe is buying Figma because building collaborative experiences is hard

Yesterday, Thursday 15th September, Adobe agreed to buy the collaborative design tool Figma for $20bn. Figma is a browser-based tool that enables team members to work together simultaneously to create, modify and comment upon designs in realtime. It’s part of a new breed of online tools that enable the creative process to be live and collaborative. Figma was rumored to be in the running for acquisition by Microsoft, and Adobe has paid top price to snap it up.

Key choices in AWS network design: VPC peering vs Transit Gateway and beyond

This blog post is the first in what we intend to be a series to detail Ably’s journey in building the next iteration of our global network. It focuses on the design and we will follow up with posts detailing the building, and finally migration from old to new. If you are interested in how you can network AWS accounts together on a global scale then read on! Ably operates a global network spanning 8 AWS regions with hundreds of additional points-of-presences.

Developer inspiration: live features showcase with Ably examples

To ensure a great user experience, whether that’s attending a live virtual event, chatting with friends or collaborating on a document, you need to ensure that the core realtime works in any situation and that you provide a feature-rich application. Disruption, downtime or lags result in poor realtime user experiences.

How to build a serverless WebSockets platform

When building modern web applications, it is increasingly important to be able to handle realtime data with an event-driven architecture to propagate messages to all connected clients instantly. Several protocols are available, but WebSocket is arguably the most widely used as it is optimized for minimum overhead and low latency. The WebSocket protocol supports bidirectional, full-duplex communication between client and server over a persistent, single-socket connection.

Creating realtime experiences in e-commerce with Fauna and Ably

As e-commerce has continued to mature, the level of service expected from consumers creates the need to build more reactive experiences. To meet those expectations, you’ll need a site that shows up-to-date information, with reliable displays of the latest product availability and discounts provided frictionlessly. We’ll be using Fauna and Ably to build this site.