[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4256":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":33,"discoverSource":34},4256,"netty-socketio","mrniko\u002Fnetty-socketio","mrniko","Socket.IO server implemented on Java. Realtime java framework","",null,"Java",7020,1671,386,411,0,2,3,40.67,"Apache License 2.0",false,"master",true,[25,26,27,28,29],"java","netty","polling","socket-io","websocket","2026-06-12 02:01:01","Netty-socketio Overview\n===\nThis project is an open-source Java implementation of [Socket.IO](http:\u002F\u002Fsocket.io\u002F) server. Based on [Netty](http:\u002F\u002Fnetty.io\u002F) server framework.  \n\nLicensed under the Apache License 2.0.\n\n\nFeatures\n================================\n* __1.x - 4.x__ version of [Socket.IO-client](https:\u002F\u002Fgithub.com\u002Fsocketio\u002Fsocket.io) is supported\n* Supports xhr-polling transport  \n* Supports websocket transport  \n* Supports namespaces and rooms  \n* Supports ack (acknowledgment of received data)  \n* Supports SSL  \n* Supports client store ([Redisson](https:\u002F\u002Fredisson.pro), Hazelcast, Memory)  \n* Supports distributed broadcast across netty-socketio nodes ([Redisson](https:\u002F\u002Fredisson.pro), Hazelcast)  \n* Supports OSGi  \n* Supports Spring  \n* Contains Java module info for JPMS. \n* Lock-free and thread-safe implementation  \n* Declarative handler configuration via annotations  \n\nJAR is compatible with Java 8 but needs Java 11+ for building the module-info.\n\n### Maven \n\nInclude the following to your dependency list:\n```xml\n    \u003Cdependency>\n     \u003CgroupId>com.corundumstudio.socketio\u003C\u002FgroupId>\n     \u003CartifactId>netty-socketio\u003C\u002FartifactId>\n     \u003Cversion>2.0.13\u003C\u002Fversion>\n    \u003C\u002Fdependency>\n```\n\nPerformance\n================================\n\nCustomer feedback in __2012__:  \nCentOS, 1 CPU, 4GB RAM runned on VM: \nCPU 10%, Memory 15%  \n6000 xhr-long polling sessions or 15000 websockets sessions  \n4000 messages per second  \n\n\nCustomer feedback in __2014__:  \n\"To stress test the solution we run 30 000 simultaneous websocket clients and managed to peak at total of about 140 000 messages per second with less than 1 second average delay.\" (c) Viktor Endersz - Kambi Sports Solutions\n\nProjects using netty-socketio\n================================\nMultiplayer Orchestra: [multiplayer-orchestra.com](https:\u002F\u002Fmultiplayer-orchestra.com\u002F)  \nAVOS Cloud: [avoscloud.com](https:\u002F\u002Favoscloud.com\u002F)  \nKambi Sports Solutions: [kambi.com](http:\u002F\u002Fkambi.com\u002F)  \nARSnova: [arsnova.eu](https:\u002F\u002Farsnova.eu)  \n\nRecent Releases\n================================\n#### Please Note: trunk is current development branch.\n\n#### 19-Mar-2025 - version 2.0.13 released\n\nFixed - Socket.IO Client v2 fails to connect (thanks to @penguinlab)  \nFixed - Support for v1 \u002F readNamespace. V1 namespace is without special characters , or ? (thanks to @Pacl0)  \n\n#### 01-Nov-2024 - version 2.0.12 released\n\nFeature - enableCors setting added (thanks to @zd925)  \nFeature - ability to define http request decoder (thanks to @gurkancakir)  \n\nFixed - if ack returns after the timeout trigger ,a IllegalStateException will be thrown (thanks to @malinGH)  \nFixed - prevents the client from repeatedly connecting to the namespace (thanks to @bigtian99)  \nFixed - treat attachments as binary by default (thanks to @nicsor)  \nFixed - recoverable handshake failure handling (thanks to @berinhardt)  \nFixed - HashedWheelTimeoutScheduler should remove scheduledFutures before task execution (thanks to @berinhardt)  \n\n#### 25-Jul-2024 - version 2.0.11 released\n\nFixed - custom namespaces support auth data (thanks to @Addi)  \nFixed - attachments frame buffer reading  \nFixed - memory leak while WebSocketServerHandshakeException or Channel failed (thanks to @h3mant-1)\n\n#### 01-Mar-2024 - version 2.0.9 released\n\nFeature - v3\u002Fv4 parsing of multiple messages in one HTTP polling body (thanks to @unverbraucht)\n\nFixed - IllegalReferenceCountException error\n\n#### 24-Jan-2024 - version 2.0.8 released\n\nFixed - possible OOM caused by attachments parsing\n\n#### 23-Jan-2024 - version 2.0.7 released\n\nGithub Actions support made by @liangyuanpeng\n\nFeature - Java module support (thanks to @unverbraucht)  \nFeature - AuthTokenListener added (thanks to @unverbraucht)  \nFeature - multi-packet separator support (thanks to @unverbraucht)  \n\nImprovement - Send Bulk leave event instead of multiple leave events on disconnect (thanks to @ksahu750)  \n\nFixed - NPE during ack response timeout (thanks to @BlueSodaWater)  \nFixed - Resource Leak in readVersion() method (thanks to @JHOANG23)\n\n#### 24-Oct-2023 - version 2.0.6 released\n\nFeature - added availability to add key-value pairs to socket store during authorization (thanks to @shutuper)  \nFeature - getRoomOperations() method with room varargs param (thanks to @shutuper)  \n\n#### 01-Jul-2023 - version 2.0.3 released\nFixed - client can't connect to non-default namespace (thanks to @lyjnew)\n\n#### 17-May-2023 - version 2.0.2 released\nFixed - NPE in WebSocketTransport and PollingTransport (thanks to @Hunterk95)\n\n#### 14-May-2023 - version 2.0.1 released \nJDK 8 is minimum version required for usage. \n\nFixed - message larger than maxFramePayloadLength causes memory leak  \n\n#### 14-May-2023 - version 2.0.0 released \nFeature - SocketIO 4.x protocol support (thanks to @HashZhang)  \n\nFixed - add all the socketio specific classes to bundles (thanks to @rishabhgup)  \n\n#### 17-Apr-2023 - version 1.7.25 released  \nFixed - io.netty.channel.ChannelPipelineException error\n\n#### 14-Apr-2023 - version 1.7.24 released  \nFeature - SocketIOClient.isWritable() method added (thanks @xuwenqing04)  \nFeature - Namespace.addListeners(Iterable\u003CL> listeners) method added (thanks @damonxue)  \n\nFixed - disconnect event packet should be a subtype of MESSAGE (thanks @MasterShi)  \nFixed - BaseStoreFactory throws NPE  \n\n#### 02-Feb-2023 - version 1.7.23 released  \nFeature - Added support for bulk join and leave (thanks @ksahu750)\n\nFixed - auto disconnected (regression since 1.7.22)\n\n#### 22-Sep-2022 - version 1.7.22 released  \nFeature - ping\u002Fpong support for socketio v4 protocol (thanks to @HashZhang)\n\n#### 06-Aug-2022 - version 1.7.21 released  \nFixed - transport name should be checked in uppercase (regression since 1.7.20)\n\n#### 26-Jul-2022 - version 1.7.20 released  \nFeature - needClientAuth setting added (thanks to @huws)\n\nFixed - ContinuationWebSocketFrame should be used if payload > maxFramePayloadLength (thanks to 俞伟搏)  \nFixed - event listener src class and dest bean is no match (thanks to @cifaz)  \nFixed - illegal transport parameter (thanks to @mirus36)  \n\n#### 29-Apr-2021 - version 1.7.19 released  \nFeature - writeBufferWaterMarkLow and writeBufferWaterMarkHigh settings added (thanks to @xuminwlt)  \nFeature - allowHeaders setting added (thanks to @HuangHuan)  \nFeature - getCurrentRoomSize() method added (thanks to @sunxiaoyu3)  \n\nFixed - namespace bug (thanks to @@johntyty912)  \nFixed - multiple nodes with redisson receive same message (thanks to 梁嘉祺)  \nFixed - multiple nodes receive only one LEAVE msg on client disconnect (thanks to @GaryLeung922)  \n\n#### 17-Jan-2020 - version 1.7.18 released  \nFeature - support for event interceptors which catch all events (thanks to @yosiat)  \nFixed - namespace event broadcasting (thanks to Volodymyr Masliy)  \n\n#### 11-Jan-2019 - version 1.7.17 released  \nFeature - randomSession setting added to Config object (thanks to @yuanxiangz)  \nFixed - NPE in WebSocketTransport  \nFixed - NPE & memory leak (thanks to zhaolianwang)  \nFixed - namespace parsing (thanks to Redliver)  \nFixed - Redisson 3.9+ compatibility  \n\n#### 06-Jul-2018 - version 1.7.16 released  \nFixed - non thread-safe ACK handling (thanks to @dawnbreaks)  \nFixed - inactive long-polling channels cause memory leak (thanks to @dawnbreaks)  \nFixed - websocket CloseFrame processing (thanks to @hangsu.cho)  \nFixed - WebSocketTransport NPE  \n\n#### 15-May-2018 - version 1.7.15 released  \n\nFixed - Session ID is not unique anymore  \nFixed - fixed underlying connection not closing on ping timeout  \nFixed - the \"fin_close\" problem  \n\n#### 26-Feb-2018 - version 1.7.14 released  \nFeature - added local socket address for the connection (thanks to @SergeyGrigorev)  \nFeature - `addPingListener` method added (thanks to @lovebing)  \nFeature - add ThreadFactory for HashedWheelTimer (thanks to @hand515)  \nFixed - changed SO_LINGER to be handled as child channel (not server channel) option (thanks to @robymus)  \nFixed - ByteBuf leak if binary attachments are used  \nFixed - restore session from Cookie (thanks to @wuxudong)  \nFixed - NumberFormatException when b64 is bool value (thanks to @vonway)  \nFixed - data encoding for polling transport  \n\n#### 20-Sep-2017 - version 1.7.13 released  \nFeature - Added option to change the SSL KeyFactoryAlgorithm using Configuration (thanks to @robymus)  \nImprovement - Binary ack handling improvements (thanks to Sergey Bushik)  \nFixed - Failed to mark a promise as success because it has succeeded already (thanks to @robymus)\n\n#### 27-Aug-2016 - version 1.7.12 released  \nFeature - `SocketIOServer.removeAllListeners` method added  \nFeature - `BroadcastOperations.sendEvent` method with `excludedClient` param added  \nImprovement - Redisson updated to 2.4.0  \nFixed - memory leak in Namespace object (thanks to @CrazyIvan007)  \n\n\n#### 13-Jul-2016 - version 1.7.11 released  \nFixed - Throw error if transport not supported  \nFixed - Client disconnecting when using Polling - IndexOutOfBoundsException  \n\n#### 4-Mar-2016 - version 1.7.10 released  \nFixed - netty updated to 4.1.0.CR3 version  \nFixed - binary packet parsing (thanks to Winston Li)  \n\n#### 6-Feb-2016 - version 1.7.9 released  \nFeature - Compression support  \nFixed - DotNET client request handling  \nFixed - Packet length format parsing  \nFixed - skipping 'd=' in packet  \nFixed - Polling clients sporadically get prematurely disconnected (thanks to lpage30)  \nFixed - connections stay open forever if server sent `close` packet  \nFixed - compatibility with Redisson latest version  \n\n#### 30-Nov-2015 - version 1.7.8 released  \nImprovement - `WebSocketServerHandshaker.allowExtensions` is `true` now  \nImprovement - SessionID cookie implementation (thanks to @ryandietrich)  \nFixed - clientRooms leak (thanks to @andreaspalm)  \nFixed - ExceptionListener not used for errors in JSON parsing  \nFixed - \"silent channel\" attack    \n\n#### 26-Mar-2015 - version 1.6.7 released  \nImprovement - `useStrictOrdering` param added for websocket packets strict ordering  \nImprovement - `FAIL_ON_EMPTY_BEANS = false` option setted in json decoder  \n\n#### 18-Feb-2015 - version 1.7.7 released  \nImprovement - no need to add jackson lib if you use own JsonSupport impl    \nFixed - SocketIO client 1.3.x support  \nFixed - Charset encoding handling (thanks to  alim-akbashev)  \n\n#### 17-Jan-2015 - version 1.7.6 released  \nImprovement - `SocketIONamespace.getName()` added  \nFixed - WebSocket frames aggregation  \nFixed - WebSocket buffer release  \nFixed - `Unexpected end-of-input in VALUE_STRING` error  \nFixed - Access-Control-Allow-Credentials is TRUE for requests with origin header  \n\n#### 05-Dec-2014 - version 1.7.5 released  \nFeature - `Configuration.sslProtocol` param added  \nFixed - BinaryEvent ack handling  \nFixed - BinaryEvent non b64 encoding\u002Fdecoding  \nFixed - buffer leak during packet encoding  \n\n#### 15-Nov-2014 - version 1.7.4 released  \nFixed - packet encoding  \nFixed - BinaryEvent encoding\u002Fdecoding  \nFixed - unchallenged connections handling  \n\n#### 29-Sep-2014 - version 1.6.6 released  \nFeature - `origin` setting added  \nFeature - `crossDomainPolicy` setting added  \nFeature - `SocketIOServer.startAsync` method added  \n\n#### 24-Sep-2014 - version 1.7.3 released  \nFeature - Epoll support  \nImprovement - BinaryEvent support  \nFixed - SocketIOClient disconnect handling  \nFixed - broadcast callback  \nFixed - NPE then no transport defined during auth  \nFixed - ping timeout for polling transport  \nFixed - buffer leak in PacketEncoder  \n\n#### 22-Aug-2014 - version 1.7.2 released  \nFixed - wrong outgoing message encoding using websocket transport  \nFixed - NPE in websocket transport  \nFixed - multiple packet decoding in polling transport  \nFixed - buffer leak  \n\n#### 07-Jul-2014 - version 1.7.1 released  \nFeature - ability to set custom `Access-Control-Allow-Origin` via Configuration.origin  \nFixed - connection via CLI socket.io-client  \n\n#### 28-Jun-2014 - version 1.7.0 released\nFeature - Socket.IO 1.0 protocol support. Thanks to the new protocol decoding\u002Fencoding has speedup  \n__Dropped__ - `SocketIOClient.sendMessage`, `SocketIOClient.sendJsonObject` methods and corresponding listeners  \n__Dropped__ - Flashsocket transport support  \n__Dropped__ - protocol version 0.7 ... 0.9.16  \n\n#### 13-May-2014 - version 1.6.5 released\nImprovement - single packet encoding optimized, used mostly in WebSocket transport. Encoding time reduced up to 40% (thanks to Viktor Endersz)  \nImprovement - rooms handling optimized  \nImprovement - ExceptionListener.exceptionCaught method added  \n__Breaking api change__ - Configuration.autoAck replaced with ackMode  \nFeature - trustStore setting added  \nFeature - maxFramePayloadLength setting added  \nFeature - getAllClients and getClient methods added to SocketIONamespace  \nFixed - SocketIOServer.getAllClients returns wrong clients amount  \n\n#### 25-Mar-2014 - version 1.6.4 released\nFixed - message release problem  \nFixed - problem with exception listener configuration redefinition  \n__Breaking api change__ - DataListener.onData now throws Exception  \nImprovement - data parameter added to exception listener  \nImprovement - ability to setup socket configuration  \nImprovement - Configuration.autoAck parameter added  \n\n#### 06-Mar-2014 - version 1.6.3 released\nFixed - AckCallback handling during client disconnect  \nFixed - unauthorized handshake HTTP code changed to 401  \n__Breaking api change__ - Configuration.heartbeatThreadPoolSize setting removed  \nFeature - annotated Spring beans support via _SpringAnnotationScanner_  \nFeature - common exception listener  \nImprovement - _ScheduledExecutorService_ replaced with _HashedWheelTimer_  \n\n#### 08-Feb-2014 - version 1.6.2 released\nFixed - wrong namespace client disconnect handling  \nFixed - exception in onConnect\u002FonDisconnect\u002FisAuthorized methods leads to server hang  \n__Breaking api change__ - SocketIOClient.sendEvent methods signature changed  \nImprovement - multi type events support via _MultiTypeEventListener_ and _OnEvent_ annotation  \nImprovement - multi type events ack support via _MultiTypeAckCallback_  \nImprovement - SocketIOClient.getHandshakeData method added  \nImprovement - Jedis replaced with [Redisson](https:\u002F\u002Fgithub.com\u002Fmrniko\u002Fredisson)  \n\n#### 14-Jan-2014 - version 1.6.1 released\nFixed - JDK 1.6+ compatibility  \nFeature - authorization support  \n\n#### 19-Dec-2013 - version 1.6.0 released\nFixed - XHR-pooling transport regression  \nFixed - Websocket transport regression  \nFixed - namespace NPE in PacketHandler  \nFixed - executors shutdown during server stop  \nFeature - client store (Memory, [Redis](http:\u002F\u002Fredis.io\u002F), [Hazelcast](http:\u002F\u002Fwww.hazelcast.com\u002F)) support  \nFeature - distributed broadcast across netty-socketio nodes ([Redis](http:\u002F\u002Fredis.io\u002F), [Hazelcast](http:\u002F\u002Fwww.hazelcast.com\u002F)) support  \nFeature - OSGi support (thanks to rdevera)  \nImprovement - XHR-pooling optimization  \nImprovement - SocketIOClient.getAllRooms method added\n\n#### 07-Dec-2013 - version 1.5.4 released\nFixed - flash policy \"request leak\" after page reload (thanks to ntrp)  \nFixed - websocket swf loading (thanks to ntrp)  \nFixed - wrong urls causes a potential DDoS  \nFixed - Event.class package visibility changed to avoid direct usage  \nImprovement - Simplified Jackson modules registration\n\n#### 24-Oct-2013 - version 1.5.2 released\nFixed - NPE during shutdown  \nImprovement - isEmpty method added to Namespace\n\n#### 13-Oct-2013 - version 1.5.1 released\nFixed - wrong ack timeout callback invocation  \nFixed - bigdecimal serialization for JSON  \nFixed - infinity loop during packet handling exception  \nFixed - 'client not found' handling  \n\n#### 27-Aug-2013 - version 1.5.0 released\nImprovement - encoding buffers allocation optimization.  \nImprovement - encoding buffers now pooled in memory to reduce GC pressure (netty 4.x feature).  \n\n#### 03-Aug-2013 - version 1.0.1 released\nFixed - error on unknown property during deserialization.  \nFixed - memory leak in long polling transport.  \nImprovement - logging error info with inbound data.\n \n#### 07-Jun-2013 - version 1.0.0 released\nFirst stable release.\n","mrniko\u002Fnetty-socketio 是一个基于 Java 的 Socket.IO 服务器实现，旨在提供实时通信功能。该项目基于 Netty 框架构建，支持 Socket.IO 客户端的 1.x 至 4.x 版本，同时兼容 xhr-polling 和 websocket 传输协议，并具备命名空间、房间、ack 支持、SSL 加密及客户端存储等功能。此外，它还支持通过 Redisson 或 Hazelcast 实现跨节点的分布式广播，并且可以与 OSGi 和 Spring 框架集成。由于其高性能和低延迟特性，非常适合需要处理大量并发连接的应用场景，如在线游戏、即时通讯服务或任何要求实时数据交换的系统。","2026-06-11 02:59:17","top_language"]