Systems | Development | Analytics | API | Testing

Backpressure in AI streaming: change how tokens move, keep each response one message

Backpressure in AI streaming can build anywhere from inference to the client, but delivery is where handling it can change the response itself. The three usual approaches there (buffering, batching, and rewriting a stored record) can change how the response is stored, or what storing it costs. Anyone who joins mid-answer then gets fragments to stitch together, or your database pays for a full write at every flush.

Real Estate Data Integration: How Property Managers Can Connect PMS, ERP, CRM, and Other Systems

A tenant gives notice. The property management system (PMS) records the lease change, but the website may continue to show the unit as unavailable until its next update. Maintenance may receive the turnover request by email, while finance adjusts the ledger during month-end reconciliation. These gaps can reflect missing connections, delayed synchronization, or differences in how systems process and interpret updates.

RSpec Tests in Ruby on Rails: Every Spec Type Explained (2026)

RSpec is the most widely used testing framework for Ruby on Rails. With the rspec-rails gem (v8.x, supporting Rails 7.2–8.x), you write model specs for business logic, request specs for controllers and APIs, and system specs for browser flows — plus mailer and job specs. Run the suite with bundle exec rspec. In the first part of this series, we looked at the basics of RSpec and how well it works with Behavior Driven Development in Ruby.

Resumable token streaming: why AI streams break on reconnect

Refresh the page, lose signal, switch tabs. Users expect the AI conversation to still be there when they return, with the answer picking up where it left off. Resumable token streaming makes that possible: a returning client catches up with the in-progress response instead of starting over. Making a stream resumable is an architecture decision. Starting generation, storing the response, and delivering it need to happen in separate parts of your stack.

Structured Logging: A Complete Guide with Examples

Plain-text logs are great if you want a simple explanation of how a function is performing or why a crash happened. But as your application grows, they become difficult to search and analyze. Structured logging makes production data easier to filter, correlate, and use across modern logging tools. This guide will give you the springboard to build structured logs effectively, showing you how to.

Performance Considerations with Offset and Cursor Pagination in Plain PHP and Doctrine ORM

Displaying a list of items from the database is probably the most common functionality built for web applications. This is where pagination with LIMIT clause comes into play, which is most likely what you learned to use. This pattern is called offset pagination. In this post I am going to contrast it with cursor pagination and the performance considerations that come with the choice of pagination algorithm. Examples are with Plain PHP and Doctrine ORM 3.7, which ships a new CursorPaginator class.

What a room of engineers asked me about realtime resilience

I spoke about Ably's approach to resilience at the AWS Cloud Resilience Roadshow in Dublin on 22 September 2026, and the questions afterwards covered CDNs, regional failover, outages, message ordering, and capacity. They got me reflecting on which parts of our approach are common across the industry, which are less so, and how choices made early, well before my time at Ably, have put us in a strong position today.

Best App Deployment Platforms in 2026: Which One to Pick for Your App #Shorts #appdeployment #coding

Best app deployment platforms in 2026: the right one depends on what you ship. Here is the short list by use case, with the free-tier changes that make older lists out of date. THE SHORT LIST Frontend apps: Vercel or Netlify. Every Git push gets its own preview link. Full-stack apps and APIs: Render or Railway, with databases next to your app. Mobile backend: Firebase, with auth, real-time data and hosting. Already on AWS or Google Cloud: AWS Amplify or Google Cloud Run. Static sites: GitHub Pages and Cloudflare Pages host them for free.

SwiftUI PhotosPicker Tutorial: Let Users Pick a Photo #Shorts #swiftui #swiftuitutorial

SwiftUI PhotosPicker tutorial: how to let people choose a photo in SwiftUI with PhotosPicker from PhotosUI, load it with loadTransferable(type:), and handle and log the errors when loading fails. PhotosPicker opens the system photo picker. People choose a photo, and your app gets only the items they pick. This Short shows the whole flow in a real iPhone app in the iOS Simulator, with the exact code.