Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 19 20:39

    mbabker on master

    Document that GosSocket.rpcCall… Document the rpcCall function (compare)

  • Sep 07 14:22
    rasool707 commented #251
  • Sep 03 20:05

    mbabker on master

    Tweak the DataCollectorCompiler… (compare)

  • Sep 03 19:46

    mbabker on master

    Use Symfony Flex to limit Symfo… Merge branch 'master' of github… (compare)

  • Sep 03 19:39

    mbabker on master

    Use Symfony Flex to limit Symfo… (compare)

  • Aug 27 14:49
    mbabker commented #393
  • Aug 27 14:49

    mbabker on master

    Fix amqp connect order Update default routing_key Merge pull request #393 from al… (compare)

  • Aug 27 14:49
    mbabker closed #393
  • Aug 27 12:37
    alexismarquis opened #393
  • Aug 26 20:28
    mbabker closed #185
  • Aug 26 20:28
    mbabker commented #185
  • Aug 26 20:27
    mbabker closed #186
  • Aug 26 20:27
    mbabker closed #187
  • Aug 26 20:27
    mbabker commented #187
  • Aug 26 20:25
    mbabker closed #192
  • Aug 26 20:25
    mbabker closed #195
  • Aug 26 20:25
    mbabker closed #196
  • Aug 26 20:24
    mbabker closed #206
  • Aug 26 20:23
    mbabker closed #220
Aistis
@aistis-
Hello, I am trying to implement some notifications in my app. The goal is to have a user real time notices about process in back-end. For example: the server wants to inform user with a popup flash message about new event (friend request, new message etc.). I have successfully launched websocket server and registered periodic service every 0.5 of sec. I believe this service should do foreach for all active clients fetching the messages from MySQL and should notice the client if exists any. Do you think is it a good idea or you would suggest something more clever? The key things are, that the system should use MySQL for messages and it could hold ~30k active users with low latency...
The front-end is using angular, but I do not sure yet how it will implement WebSockets (natively or whatever)
Parham Doustdar
@parhamdoustdar
Hi!
Johann Saunier
@ProPheT777
hey
Parham Doustdar
@parhamdoustdar
I'm sorry for asking so many questions. I hope I'm not being a bother. This is my first time contributing to a Symfony bundle and I'm not sure about the workflow. So if you think I could do things another way anywhere during our conversation, just let me know.
Johann Saunier
@ProPheT777
no problem, there is no special workflow to contribute on 3rd party :D
to be honest I never used ZMQ as transport to push on websocket server
Parham Doustdar
@parhamdoustdar
So, I have a problem with the way you proposed.
Johann Saunier
@ProPheT777
we just need to be sure where we go and have the same global idea.
so speak about it !
Parham Doustdar
@parhamdoustdar
Ah, nice! :)
ZMQ is the only thing in the list that you mentioned in your comment that requires PHP to also start a server. So the gos:pusher:server will need to start two servers: one for zero_mq itself, and another for the pusher server.
Johann Saunier
@ProPheT777
no
pusher server and zmq is the same thing
zmq is just a technology to handle that
but inside pusher server you can zmq or another technology to do transport
like in websocket bundle
you can run different app with one server
here it's the same, you can run different transporter with the same command
Parham Doustdar
@parhamdoustdar
Hmm, I'm new to this and maybe I'm getting this wrong, but in this tutorial there are two servers. Look at the last section that says "creating our executable".
One is on port 5555, another is on 8080.
Johann Saunier
@ProPheT777
yes 8080 is the websocket
5555 is ZMQ (push server)
Parham Doustdar
@parhamdoustdar
Right. And which one does gos:push:server start?
Both?
Or do you have to run gos:push:server and then run gos:websocket:server?
Johann Saunier
@ProPheT777
you run both yeah
pusher server is isolated of websocket
Parham Doustdar
@parhamdoustdar
Well, the problem here is two things. First, you only need to start a pusher when you're using ZMQ. Things like Redis already have their own server.
Right?