by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 29 14:56
    smscr opened #360
  • May 28 19:37

    jsor on master

    Add team section to homepage Merge pull request #51 from clu… (compare)

  • May 28 19:37
    jsor closed #51
  • May 28 17:56
    WyriHaximus commented #77
  • May 28 17:49
    CharlotteDunois closed #77
  • May 27 07:12
    clue review_requested #51
  • May 27 07:12
    clue review_requested #51
  • May 26 07:18
    clue synchronize #51
  • May 26 07:16
    clue synchronize #51
  • May 25 21:56
    cboden review_requested #51
  • May 25 15:35
    clue labeled #51
  • May 25 06:44
    WyriHaximus commented #84
  • May 24 21:05
    clue opened #51
  • May 21 11:14

    jsor on master

    Simplify Travis CI test matrix … Skip all TLS tests on legacy HH… Merge pull request #235 from cl… (compare)

  • May 21 11:14
    jsor closed #235
  • May 21 11:13

    jsor on master

    Minor code cleanup, remove dead… Merge pull request #236 from cl… (compare)

  • May 21 11:13
    jsor closed #236
  • May 18 16:29
    developernaren opened #84
  • May 18 15:41
    clue review_requested #236
  • May 18 15:41
    clue review_requested #236
Jason Judge
@judgej
The server is saying, "go get me a new token, and let me know when you have it. I'll hang around for up to three seconds, then I'll be gone. If I'm gone, just carry on, store the token, and I'll come back later for it". It's the "let me know when you've got the token, but I'll be listening for only three seconds" bit that I'm looking at here.
(need to pop out for half an hour, will be back later)
Cees-Jan Kiewiet
@WyriHaximus
@judgej I don't see why ReactPHP wouldn't fit that description :)
Jason Judge
@judgej
The application lives in containers/K8s, so something like redis for the transport I guess would provide a medium for the pub/sub communication. nrk/predis-async hasn't been touched in years though. Is it still maintained, or would I be better tansport?
Cees-Jan Kiewiet
@WyriHaximus
Jason Judge
@judgej
@WyriHaximus very nice, thank you.
Jason Judge
@judgej
Not been able to get that one working unfortunately. Trying all the quickstart examples for pub/sub (with the proper namespaces) and none of the events are being triggered. No errors either, which is the frustrating thing.
Jason Judge
@judgej
Ah, the sub client and the pub client must be separate clients.
Christian Lück
@clue
@judgej Happy to hear you've got this working now :+1: If you have any questions, just reach out, we're happy to help :+1:
The pubsub examples should have worked as-is and should report an error message if anything's wrong
I suppose you may have imported this into your own namespace and perhaps didn't adjust Exception to \Exception?
If so, this would be another +1 for reactphp/promise#87 to address default error reporting :)
Jason Judge
@judgej
Morning @clue yes, I checked the namespaces. I think a few use statements are needed in the README to make it a little clearer. For example Factoryand Client. I'm using \React\EventLoop\Factory for the loop and \Clue\React\Redis\Factoryto create the client, but the README is not explicit on that, so I could be wrong.
I'm also a little stuck conceptually. The examples that I can see all show a blocking subsctibe loop. I'm looking for a loop that may be blocking, but will exit either on a timer (after 5 seconds) or explicitely after receiving a message it is interested in. I'm kind of bridging the asynchronous (a job that has to complete) with the synchronous (a REST API that has to return something within a short timeframe).
johnmitz
@johnmitz_gitlab
Hi everyone. Is it possible to host reactphp with the app itself on the same server? Also would this be recommended? It's not a big app in general and won't be scaled up. It's aprox. gonna be used by 3000 people at max.
TornadoTwins
@TornadoTwins_twitter
@johnmitz_gitlab I'm new to ReactPHP but not to hosting. It depends on how much memory you're sharing with other applications. For example, if you're running MySQL on the same box, an HTTP server, etc and those 3000 people all log in at the same time, you may have a problem. If not, I don't think it would be much of an issue.
@johnmitz_gitlab However, I'll refer to other folks on here with much more experience to their answer.
Cees-Jan Kiewiet
@WyriHaximus
@johnmitz_gitlab as @TornadoTwins_twitter mentions that's what it's designed to do.
johnmitz
@johnmitz_gitlab
@TornadoTwins_twitter @WyriHaximus thanks guys
Christian Lück
@clue
Just released react/promise v2.8.0 🎉 Maintenance release marking unneeded classes as deprecated, some minor bug fixes and improved documentation: https://github.com/reactphp/promise/releases/tag/v2.8.0
Jaussoin Timothée
@edhelas
clue congrats :)
Cees-Jan Kiewiet
@WyriHaximus
:tada:
johnmitz
@johnmitz_gitlab
Hi guys. Anyone implented react inside chat app? What I am interested if someone have implemented "typing.." feature for the frontend?
Christian Lück
@clue
Just released v2.8.0 of clue/reactphp-buzz 🎉 https://twitter.com/another_clue/status/1260598727749885953
Cees-Jan Kiewiet
@WyriHaximus
Nice!
TornadoTwins
@TornadoTwins_twitter
@johnmitz_gitlab Perhaps this tutorial by @zhukserega_twitter can help: https://sergeyzhuk.me/2017/06/22/reactphp-chat-server/
Matt Bonneau
@mbonneau
@WyriHaximus Do you use https://github.com/WyriHaximus/reactphp-event-loop-inspector in production?
Cees-Jan Kiewiet
@WyriHaximus
@mbonneau hmm thanks should have marked it archived: https://github.com/reactphp-inspector
But yeah using it in production, why?
Matt Bonneau
@mbonneau
I really like to watch metrics - see how things are working, but that had a big warning on it - I will check out the reactphp-inspector above though
Cees-Jan Kiewiet
@WyriHaximus
Same warning applies tho, it will impact performance. So it is up to you if it is worth it it. Designed it for minimal impact tho
Matt Bonneau
@mbonneau
Being able to see what is going on is worth the performance impact IMO.
Cees-Jan Kiewiet
@WyriHaximus
Yup same
Jaussoin Timothée
@edhelas
clue is on fire 🔥
Christian Lück
@clue
@edhelas Let's get this shipped! 😏
Let's ping @jsor for final review, otherwise good to go 💪
Ramon Ennik
@cyrnetix
@clue We have some trouble with the new new buzz browser 2.8.1 (upgrading from 2.7) and Elasticsearch. Elastic is returning the wrong content-length on HEAD requests so the new handleEnd() method is throwing an exception. Is there a simple workaround that you know?
Christian Lück
@clue
@cyrnetix Ouch, that shouldn't have happened!
Sounds like a bug indeed
Ramon Ennik
@cyrnetix
Did some further reading... It seems elastic is ok, RFC 2616 says it should return no body when doing a head request but still report the content-length in case it was a get request.
Christian Lück
@clue
Can you report a bug in https://github.com/clue/reactphp-buzz and I can take a look at it?
@cyrnetix Yep, elastic sounds correct
Ramon Ennik
@cyrnetix
Ok, thanks. I'll do.
Christian Lück
@clue
You can downgrade to the old version in the meantime, but I'll take a look as soon as time permits 👍
Thank you
Ramon Ennik
@cyrnetix
Cool, we stick to 2.7.0 for now
The Doctor
@xX-TheDoctor-Xx
Hey, do you guys know of any async mysql client for react? The "friends-of-reactphp" mysql repo seems that is no longer supported
I'm switching from amphp to react, I guess I could use the amphp mysql client
Cees-Jan Kiewiet
@WyriHaximus
Hey @xX-TheDoctor-Xx that client is still supported