
Example
Servers
These are examples of using Flotype Bridge in various languages to built a simple chat server. Note that a mobile device or even a browser could run this code and act as a server.
Clients
These are examples of using Flotype Bridge in various languages to built a simple chat client. The JavaScript example runs in the browser, but similar code could run on a Node.js server acting as a chat client. Python and Ruby code snippets can run on a server and also act as a chat client. The Java code snippet can run on a Java server or Android device.
Download and try Flotype Bridge for free on the Flotype Bridge Cloud. Sign up instantly for free.
Features
Server-to-server and server-to-device communication
Most message queues and pub-sub systems can only handle "backend" OR "frontend" communication, but not both at the same time. With Flotype Bridge, your client devices and your application servers are part of a unified messaging system. But no need to worry; the built-in access control model provides a strong security layer allowing you to decide who can message each resource.
Simple API to model your app's data flow
Flotype Bridge makes it simple to send messages with one-to-many, one-to-one and round-robin semantics. You can chain these simple primitives together to easily define how messages propagate throughout your application. No need to struggle with low-level sockets or overly complex message queues.
Seamless cross-language RPC
Write natural, idiomatic code with RPC-style communication between JavaScript, Ruby, Python and Java. Even more languages on the way, such as Objective C, Scala, Erlang, C/C++, .NET and more! Flotype Bridge uses a simple JSON-based protocol for maximum compatibility, and more efficient protocols are coming soon.

Easily scale and delegate with a service-oriented architecture
Flotype Bridge makes it easy to split monolithic applications into smaller components that can scale independently. With cross-language RPC, you can write each component in the language most suited for its task. This makes it easy to split up the work among your developers.
Hot swappable code
Since your app servers never handle client connections directly, you can transparently restart, upgrade or add more servers without disrupting service.
No socket management needed
Your servers never have to worry about scaling, managing or monitoring your client connections. The high-performance Flotype Bridge server brokers all communication, taking care of scaling and message buffering in the event of network disruption.
Download and try Flotype Bridge for free on the Flotype Bridge Cloud. Sign up instantly for free.
