Git Product home page Git Product logo

hubiquitus's Introduction

Build Status

Hubiquitus

Hubiquitus is an ubiquitous framework for build context-aware live apps.

Docs

The whole documentation of the Hubiquitus project is available in the docs subdirectory of this repo.

For a short short intro of what Hubiquitus is and why we build it, maybe you should read this first.

If you have some time and motivation, you should then go deep into Hubiquitus.

For a technical documentation, you can see our API documentation

Code

The source code of the Hubiquitus NodeJS engine itself is in the lib subdirectory of this repo.

The source code of each Hubiquitus client is made available in a separate repo:

Issues

If you want to know what we are doing right now, you could watch our job here.

License

Hubiquitus is a free and open source software licensed under the terms of the MIT license.

This document itself, as the whole documentation provided with the project, is licensed under the terms of the Creative Commons Attribution Unported 3.0 (CC BY 3.0).

hubiquitus's People

Contributors

alexmama avatar bnadim avatar ebrulato avatar glivron avatar mattgic avatar oliviergg avatar rtardivon avatar

Stargazers

 avatar

Watchers

 avatar  avatar

hubiquitus's Issues

Some messages are lost during topology initialization.

It seems that some messages are lost during topology initialization.
The Timer is triggered before hubiquitus completly started, resulting in message loss.
(In fact message was never publish on the channel)

Lauching hubiquitus-pubsub with a timer period of 200ms result in:

info: Hubiquitus started
info: urn:localhost:a1 | A1 broadcasted message > {"publisher":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","msgid":"69f73435-f120-4aea-acb0-b2e9d48ec57a#17e7af9e-e577-49dd-b8a5-2f6c16108bcb","published":1368559245240,"actor":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","type":"data","persistent":false,"payload":{"tick":"new message #1"},"convid":"69f73435-f120-4aea-acb0-b2e9d48ec57a#17e7af9e-e577-49dd-b8a5-2f6c16108bcb"}
info: urn:localhost:a1 | A1 broadcasted message > {"publisher":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","msgid":"b87a5799-b4a0-4af4-9577-485ad7ef08ab#668c6195-ac52-4464-9393-136f5bad5a84","published":1368559245441,"actor":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","type":"data","persistent":false,"payload":{"tick":"new message #2"},"convid":"b87a5799-b4a0-4af4-9577-485ad7ef08ab#668c6195-ac52-4464-9393-136f5bad5a84"}
info: urn:localhost:a1 | A1 broadcasted message > {"publisher":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","msgid":"8aa128fc-beb4-4c86-8dc5-fa075b3b44e9#df50c8f3-847d-4660-b8e0-6fb945882838","published":1368559245643,"actor":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","type":"data","persistent":false,"payload":{"tick":"new message #3"},"convid":"8aa128fc-beb4-4c86-8dc5-fa075b3b44e9#df50c8f3-847d-4660-b8e0-6fb945882838"}
info: urn:localhost:a1 | A1 broadcasted message > {"publisher":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","msgid":"1c6a3c12-302f-4203-a548-f1ffdb4c9579#4a1df18e-e641-4fbf-a188-71623d52b8db","published":1368559245843,"actor":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","type":"data","persistent":false,"payload":{"tick":"new message #4"},"convid":"1c6a3c12-302f-4203-a548-f1ffdb4c9579#4a1df18e-e641-4fbf-a188-71623d52b8db"}
info: urn:localhost:a3 | A3 received > {"payload":{"tick":"new message #4"},"actor":"urn:localhost:a3/1394bda4-be18-4793-a25a-292d2fef6ddc","publisher":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","msgid":"c2c081c4-06db-4701-8623-fbead614a1ed#daba9db4-39ad-49c1-9eac-8c5c4e0e941b#4c2c9cf5-8b27-4a66-a498-76c7f131557a","sent":1368559245844,"convid":"c2c081c4-06db-4701-8623-fbead614a1ed#daba9db4-39ad-49c1-9eac-8c5c4e0e941b","published":1368559245844}
info: urn:localhost:a2 | A2 receive > {"payload":{"tick":"new message #4"},"actor":"urn:localhost:a2/5242a580-2c16-4830-a096-d51645aa620a","publisher":"urn:localhost:a1/07b3895b-f61e-4e20-aee3-50d2ad3ac66d","msgid":"c2c081c4-06db-4701-8623-fbead614a1ed#daba9db4-39ad-49c1-9eac-8c5c4e0e941b#54c8941c-6135-4ec0-8c8a-c8f007d07561","sent":1368559245844,"convid":"c2c081c4-06db-4701-8623-fbead614a1ed#daba9db4-39ad-49c1-9eac-8c5c4e0e941b","published":1368559245844}
....

The first message receive by a2 and a3 is hubiquitus-old#4. message #1,hubiquitus-old#2,hubiquitus-old#3 seems to be lost.

Is it possible to delay the timer's beginning after hubiquitus was fully started ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.