Giter Site home page Giter Site logo

dedo1911 / socket.io-pm2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from socketio/socket.io-redis-adapter

2.0 2.0 0.0 182 KB

Adapter to enable broadcasting of events to a cluster of socket.io nodes running under PM2.

Home Page: https://www.npmjs.com/package/socket.io-pm2

License: MIT License

Makefile 0.17% JavaScript 99.83%

socket.io-pm2's Introduction

Dario Emerson (dedo1911)

๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป Software developer, ๐Ÿ”ง tech entusiast, ๐Ÿ™Œ open source supporter, ๐Ÿฃ sushi addicted .

Development Stats

GitHub Stats Top Langs

Code Time

Profile Views

Lines of code

I'm an Early ๐Ÿค

๐ŸŒž Morning                1524 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   17.79 % 
๐ŸŒ† Daytime                4146 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   48.39 % 
๐ŸŒƒ Evening                1762 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   20.56 % 
๐ŸŒ™ Night                  1136 commits        โ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   13.26 % 

๐Ÿ“Š This Week I Spent My Time On

๐Ÿ•‘๏ธŽ Time Zone: Europe/Rome

๐Ÿ’ฌ Programming Languages: 
No Activity Tracked This Week

๐Ÿ”ฅ Editors: 
No Activity Tracked This Week

Last Updated on 12/08/2024 00:36:58 UTC

socket.io-pm2's People

Contributors

barisusakli avatar basarat avatar beaucollins avatar billouboq avatar carsonf avatar darrachequesne avatar dazorni avatar dedo1911 avatar dingggu avatar hannesvdvreken avatar hgcummings avatar julianlam avatar kevin-roark avatar knoxcard avatar kosta-github avatar krinkle avatar luislobo avatar mymomsaysiamspecial avatar naderio avatar nkzawa avatar objectivesee avatar omrilitov avatar overflowz avatar rase- avatar rauchg avatar reqshark avatar ryoqun avatar siedrix avatar tomasvts avatar veyond avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

socket.io-pm2's Issues

Will this work with latest 3.1.1 socket io version

Hi, thanks for simple adapter.

But its not working as expected with rooms as expected. I m using latest socket.io 3.1.1 and I m not getting event msgs across multiple rooms.
And I m using pm2 in cluster mode.

Please help me running pm2 in cluster mode with msgs working across rooms.

Thanks in advance.

pm2 is not up to date, still on "pm2": "^3.5.0"

pm2 has rolled out the 5.2 version, but socket.io-pm2 still dwells on ^3.
there has to be an update here.

pm2 had a few breaking changes, and some versions are not stable for mac, as i have experienced. so please can someone update it

Continous Random Erros

Getting these random errors. I'm using pm2 with cluster mode for 2 nodejs instances.


TypeError: Cannot read property 'sock' of null
 at ReqSocket.connectHandler (/home/felb2bnode/live/felb2bnode/node_modules/pm2/lib/Client.js:363:17)
    at Object.onceWrapper (events.js:421:28)
       at ReqSocket.emit (events.js:327:22)
          at Socket.<anonymous> (/home/felb2bnode/live/felb2bnode/node_modules/pm2-axon/lib/sockets/sock.js:291:10)
             at Socket.emit (events.js:327:22)
                at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1127:10)

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.