Jason,
Am 08.07.2014 16:52, schrieb Jason Yates:
> Tobias,
>
> Thanks for the fast response!
>
> The HTTP Push Bridge sounds perfect for what we need, our internal
> components only need to push data out to clients.
Alright. Then it'll only get easier for you, since you don't need any
kind of WAMP implementation in your PHP at all!
>
> Is there any other option for the frontend clients to block them
> publishing? Our clients have no need at all to ever publish messages,
Not today. As mentioned, implementing the authorization scheme as
outlined in Crossbar is high prio. We are resource constrained. If you
really need it urgently, you can throw money at us and you'll have it in
a week (yes, we do need to eat also;)
> they simply listen for updates. Whilst I can obviously not include any
> frontend code for publishing, it doesn't stop a malicious user from
> hacking around and managing it. It's kind of a killer feature for us.
I perfectly understand the need for this authorization .. no question.
>
> I may have missed a section of the documentation, but do you have any
> performance stats? We push around 10 messages a second at peak and we
10/sec .. that's .. nothing;)
Crossbar will dispatch like
"1,000 PubSub events/sec with 32+ bytes payload to 1,000 subscribers
with average latency of 25 ms at a CPU load of 65%."
on a RaspberryPi!
http://tavendo.com/blog/post/autobahn-pi-benchmark/
> have huge issues with Ratchet at AutobahnJS (WAMPv1) and clients
> disconnecting and having to refresh. Crossbar seems a far more robust
> solution so I'm hoping it will give us a huge boost in performance.
I'd expect that. Yes. Running Crossbar on any kind of small x86 server
thing under PyPy/Twisted will go a looong way before you run into
performance issues.
Given that we will have scale-out to multiple nodes with Crossbar also,
you have "piece in mind" even then. But I doubt you need that for the
numbers you push.
It's often underestimated what efficiently designed networking software
can do when running on modern hardware .. a single Xeon core has so much
steam that it's often able to saturate a 10GbE link ..
Cheers,
/Tobias
>
> Thanks
>
> On Tuesday, July 8, 2014 3:42:26 PM UTC+1, Tobias Oberstein wrote:
>
> Hi Jason,
>
> Am 08.07.2014 16:04, schrieb Jason Yates:
> > Hi All,
> >
> > We have a current setup in production using Ratchet PHP, ZeroMQ &
> > Autobahn JS however it's WAMPv1 and we have issues with Autobahn
> loosing
> > connection, especially in Chrome (I posted a few days back).
> >
> > Recently, I've been investigating
crossbar.io
> <
http://crossbar.io> and have a few of the
> > examples setup. But i'm wondering if what I'm attempting to do is
> > feesible with crossbar?
>
> Absolutely. This is 1 scenario that we want to support with Crossbar:
> JS/Browser + all backend components in PHP.
>
> Crossbar will also be happy to start/monitor your PHP components, but
> it's not a requirement. You can start them also yourself (e.g. using OS
> boot scripts etc).
>
> >
> > Our production setup at the moment revolves around a number of
> internal
> > PHP components that push messages to our Ratchet installation
> along with
> > a topic identifier. External clients then connect with AutobahnJS
> and
>
> There are 2 options here:
>
> You can have the PHP application components use Thruway
> (
https://github.com/voryx/Thruway
> <
https://github.com/voryx/Thruway>) to hook them up via WAMP2 to
> > an email to
autobahnws+...@googlegroups.com <javascript:>
> > <mailto:
autobahnws+...@googlegroups.com <javascript:>>.
> <javascript:>
> > <mailto:
autob...@googlegroups.com <javascript:>>.
> <
https://groups.google.com/d/msgid/autobahnws/8a2bffac-77cb-49b9-b9af-46466934efa4%40googlegroups.com?utm_medium=email&utm_source=footer
> <
https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Autobahn" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
autobahnws+...@googlegroups.com
> <mailto:
autobahnws+...@googlegroups.com>.
>
https://groups.google.com/d/msgid/autobahnws/0a1440de-7b5f-42fe-a8a4-075c10d2c3cf%40googlegroups.com
> <
https://groups.google.com/d/msgid/autobahnws/0a1440de-7b5f-42fe-a8a4-075c10d2c3cf%40googlegroups.com?utm_medium=email&utm_source=footer>.