Skip to main content

Event streaming use cases

Implement event streaming with the JSON MQ message API

FairCom DB has always supported traditional SQL and JSON database use cases. FairCom DB now includes FairCom's MQTT broker engine and the new JSON MQ Message API to enable event streaming use cases. Compared to other event-streaming databases, FairCom DB has the advantage of running anywhere with driverless JSON APIs for SQL and event-streaming actions.

Use event streaming to build mobile, web, and server solutions for chat, collaboration, shared document editing, behavior tracking, data syncing, push notification, distributed command processing, issue monitoring, performance monitoring, test lab, all-in-one hosting, etc.

Enhance existing applications or build new solutions where users send messages to each other in real-time. Messages can contain any content, including rich text, images, and videos.

  • Use JSON pub-sub actions to send and receive messages in real-time with guaranteed, in-order delivery.

  • Use FairCom DB's built-in V8 JavaScript engine to enhance messages with logic and machine learning processes.

Add collaboration to any application. Allow multiple users to edit the same content simultaneously, such as documents, notes, tasks, calendars, flow charts, dashboards, presentations, etc.

  • Use JSON event-streaming actions to push changes to users editing the same content.

  • To undo changes, replay the event stream in reverse.

Build a user profile service for applications to save and retrieve user preferences, application settings, authentication and authorization settings, etc.

  • Use JSON key-value actions to save and retrieve user profiles as JSON documents.

  • Use JSON account management actions to create and manage accounts.

  • Use JSON role actions to assign privileges to roles and roles to users.

  • Use FairCom's in-memory cache to deliver high-velocity, low-latency, and highly scalable solutions.

Build a behavior-tracking service to save user and application actions. 

  • Use JSON event-streaming actions to save and retrieve actions.

  • Use analytics on behavior to inform decisions about features and marketing. 

  • Use SQL analytics to gain insights into user engagement and application performance.

Build services that efficiently share, sync, and cache data.

  • Use data replication to synchronize subsets of data across FairCom databases.

  • Publish data changes as JSON messages for any application or service to consume.

  • Offline applications and caches automatically receive updates when they come online.

Send targeted notifications, advertisements, and opportunities to applications to increase user engagement and retention.

  • Use JSON pub-sub actions to push messages to targeted users and applications.

Send machine learning, image processing, and computationally intensive commands to a server farm for elastic, distributed processing.

  • Add servers to a server farm to increase command processing.

  • Remove servers from a server farm to reduce costs.

  • Each server in the server farm uses the JSON subscribe action to receive messages sent to a specific shared topic. 

  • An application uses the JSON publish action to push a specific command to a shared topic, and FairCom DB automatically distributes it to a different subscriber.

  • Use FairCom DB's built-in V8 JavaScript engine to process commands in a server farm of FairCom DB servers.

  • Distribute code to FairCom servers using its JSON code package API.

View app crashes and issues in real-time dashboards to improve app stability.

  • Use JSON publish actions to send application errors to dashboards for viewing. FairCom DB automatically stores the error messages.

  • Use SQL analytics on the stored error messages to prioritize bug fixes and gain insights into application errors.

Monitor performance in dashboards in real time to improve app speed.

  • Use JSON publish actions to send application performance to dashboards for viewing. FairCom DB automatically stores the performance messages.

Analyze performance metrics to identify and fix slow queries, slow-loading pages, network slowdowns, and other performance bottlenecks.

  • Use SQL analytics on the stored performance messages to gain insights into app performance.

Monitor your app while testing it on various devices and configurations to ensure compatibility and performance.

  • Use JSON publish actions to send application performance, bugs, and crashes to FairCom DB for storage. 

  • Use SQL analytics to identify and fix issues.

Build single-page web applications with easy deployment and maintenance. 

  • Use FairCom DB's built-in app server to deliver single-page web applications to browsers.

  • Single-page web applications use FairCom JSON APIs for user authentication, authorization, data processing, and messaging.

  • Use JavaScript in FairCom DB's built-in V8 engine to build web service endpoints, batch-process data, automatically modify inserted and updated data, and transform data returned from queries.