Load balancing is an integral part of system design and is key for the scalability, availability & performance of any application. I have been part of few discussions where these concepts are mystified and made unnecessarily cryptic than required.
I have actively participated in the load balancing design of my current app, but by no measure am I an expert. The main idea here is to simplify, declutter and understand load balancing and related topics. I will use Gmail (hypothetical) as an example to share my experience & understanding. …
I am working on a Flutter project primarily for the Web (of course, supported on devices as well). Keyboard and mouse actions are an absolute must and an MVP (minimal viable product). I want to share how have I used FocusableActionDetector to support both the keyboard and mouse.
For a quick overview just refer to the ‘Sample App’ & ‘Screen Recording’ sections below.
I have a sample app where I have used FocusableActionDetector to listen to both keyboard and mouse. Below are the details of the app and Github repo.
Searchbox like Gmail with Overlay widget: Simple app to demonstrate…
I am working on enabling Elasticsearch for an enterprise app. On the server, it is a Java-based microservice with multiple search endpoints (communicating with Elasticsearch) for various modules. On the UI, I wanted a simple search widget (interacting with REST endpoints) that can be used across screens with different search contexts. I am sharing requirements and implementation details of developing Gmail like search widget with Flutter’s Overlay widget. It was more challenging for the web as I needed basic keyboard support.
For a quick overview just refer to Screen recording, See it in action, and GitHub sections below.
I recently started working on a new Flutter project primarily for the Web (of course works on devices as well). I want to share few things that I had to sort out before getting steady and speeding through web app development such as:
CORS (cross-origin resource sharing) and handling app-specific custom headers, Change in REST endpoint URL in development and production, Routes to effectively work with browser back and deep linking, Hot reloading, and debugging
If you are already familiar with SSE and how it is different from a typical HTTP communication and WebSockets please scroll down to the code below.
I use dio http client in my project and did not find success calling an SSE endpoint.
We have a few options if we want the server to send multiple pieces of data at different intervals as and when the data is ready: Polling, Long-polling, Server-Sent Events, and WebSockets.
Polling and Long-polling are not great options as it demands clients to periodically poll for required data. Depending on the use case there may be…
With 21+ years of experience. I see myself as a craftsman who takes a keen interest in every aspect of building a great quality product.