spring-web-sockets | Web Sockets - | Socket library
kandi X-RAY | spring-web-sockets Summary
kandi X-RAY | spring-web-sockets Summary
spring-web-sockets
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a Netty web socket .
- The WebSocket handler .
- Shortcut for sending SSE events
- The web socket handler mapping .
- Creates integer consumer for integer messages
- Checks to see if the long is prime .
- Get a URI from a string .
- Start the SSE push server .
spring-web-sockets Key Features
spring-web-sockets Examples and Code Snippets
Community Discussions
Trending Discussions on spring-web-sockets
QUESTION
We want to create a chat application that targets 10M users. For this we want to use spring boot message broker and spring-web-sockets. We don't want to use any message brokers like ActiveMQ or any other broker. Is there any limitation with spring boot message broker? or is it necessary to use ActiveMQ or any other broker?
...ANSWER
Answered 2021-Jan-29 at 16:51There is not such a feature like "Spring Boot Message Broker". You have been misled. Please, read Spring Framework docs about WebSockets support. There is nothing Spring Boot specific: https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#websocket
My recommendation for such a 10M requirement is indeed go with an external broker, Like ActiveMQ or RabbitMQ. This way you can scale you application for sustainability and won't overhead a local memory to keep sessions for all those users.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spring-web-sockets
You can use spring-web-sockets like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the spring-web-sockets component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page