johnbfair / FSharp-and-RabbitMQ

F# Agents + RabbitMQ Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FSharp-Agents-and-Queues

A POC of F# Agents along with a few different techniques of message queue management.

##Preliminary Results:

  • CBR (Content-based routing): ~2800 (durable) msgs/sec @100k messages
  • Rabbit Routing: ~8000 (durable) msgs/sec @100k mesages

##Setup:

  1. Install RabbitMQ
  2. Create 5 queues: cbr-main, cbr-message1, cbr-message2, routing-message1, routing-message2
  • These are meant to be created manually in RabbitMQ via the Management plugin.
    Administration of RabbitMQ queues and exchanges is outside of the scope of this POC.
  1. Add 2 new bindings to this exchange: amq.direct
  • To Queue: routing-message1
  • Routing key: message1
  • To Queue: routing-message2
  • Routing key: message2

About

F# Agents + RabbitMQ Example


Languages

Language:F# 100.0%