ezoerner / scalable-chat Goto Github PK
View Code? Open in Web Editor NEWSample client-server chat application using Akka Persistence/Cassandra, Akka Cluster, Akka Streams, Akka I/O, and ScalaFX.
License: Apache License 2.0
Sample client-server chat application using Akka Persistence/Cassandra, Akka Cluster, Akka Streams, Akka I/O, and ScalaFX.
License: Apache License 2.0
I'm preferring scalatest these days with scalacheck property-based testing
Implement chatroom sessions using Akka Cluster Sharding
Demonstrate scalability of the architecture
For client->server request/response, use akka-http
For server->client events, use WebSockets from akka-http (when available)
Use akka-streams for staging transformations, integrated with akka-http
In UI, gray out or otherwise indicate when the chat is in a disconnected state.
Reactivate after new RoomInfo is received
So a user can have multiple windows open on the same chat
Consider incorporating Sentinel I/O https://github.com/gideondk/sentinel
with sound, popups, email, etc., when a chat message is received
Currently using Java serialization for both akka-persistence and over the wire (both use the akka serialization framework).
Should be able to drop µPickle or scala-pickling into the akka serialization framework.
Note that deserializing a type Any is not a use-case.
However, would prefer to use JSON for over the wire and a binary format for akka-persistence.
For the binary format, could continue to use Java serializiation, or could use scala-pickling if and when it's ready.
It would be nice to use scala-pickling for both JSON and binary serialization. Tried it before and it was too buggy. It's time to try it again.
See cassandra-unit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.