score:7
Akka uses Java serialization or Google Protobufs by default (see here and here). You can define your own serializers, if you think you can code up something that's more optimized for your application.
If you want to optimize your network protocol, you'll have to break out your favorite network sniffer to find out what's actually being sent back and forth. Then you can better decide what to do.
In general, though, you can probably create a better optimized network protocol by hand, but it's more likely to be brittle and break when you need to make changes (unless you've got a lot of experience writing network protocols).
Source: stackoverflow.com
Related Query
- Scala Case Classes vs. Protocol Buffers with Akka over the network
- How can I get random data generated for scala case classes with the ability to "change some values" for unit testing?
- How to make the scala compiler find case classes used with wrong arguments
- How to convert between to case classes with `mostly the same` fields using Scala Shapeless
- Handling heavy load on the GC with Scala Case Classes
- "Forward reference extends over definition value exp" when using an abstract class with case classes of a Scala tutorial
- Several case classes with the same behavior in Scala
- Filter list of scala case classes by list with the class?
- Case Classes with optional fields in Scala
- Scala case classes with Mixin traits
- Scala spark: how to use dataset for a case class with the schema has snake_case?
- How do I pull apart Case Classes filled with Options in Scala
- Using shapeless scala to merge the fields of two different case classes
- Encoding ADT case classes with a discriminator, even when typed as the case class
- Is the Akka Actors library installed with the Scala IDE for Scala 2.10?
- 2 Extension Methods with the same name in different classes do not work in Scala 3?
- scala map get the value by key with key case insensitive
- Scala with spark - "javax.servlet.ServletRegistration"'s signer information does not match signer information of other classes in the same package
- Pattern matching in Scala with case classes
- Case classes in Scala with behavior
- What is the idiomatic Scala way of breaking collection's `find` method with Failure in case of error?
- Scala shapeless typing Map[Symbol, String] with case classes
- scala circe encoders/decoders for an abstract class with case classes
- How to share behavior over case classes in scala
- Models as Scala case classes interacting with DAO?
- Factory design pattern in Scala with case classes
- Scala semantics of equals/hashCode for case classes with traits
- Why scala serializability differs in case classes with same constructor parameter types?
- Intergrating Scala Case Classes with Java Spring MVC
- JSON response with Http AKKA and case classes
More Query from same tag
- What is the canonical way to do a one-to-many outer join with NULLs and case classes?
- Scala_Spark_DataFrame using Future method
- Loading files in a loop in spark
- Wrong number of arguments for pattern
- Json writes doesn't seem to be working when extending an abstract class
- Dataframe in Scala
- Scala empty class,object,traits
- Is it possible to generate Apply from WeakTypeTag inside a scala macro?
- Scala type alias naming rules?
- Play for Scala: replicate structure in Json of array within array
- Should 'require' go inside or outside of the Future?
- Summing a List of Options with Applicative Functors
- Validating list of strings
- Val at object level and thread safety in Scala
- How do I accept a generic that extends a class in Scala
- Map and reduce/fold over HList of scalaz.Validation
- How to send a data from scala to a particular div tag in Html page
- How to add unzipWithIndex to all Scala collections where it makes sense
- Real World Functional Programming in Scala
- Scala multiple assignment to existing variable
- Unable to parse a complex language with regex and Scala parser combinators
- Why does executing Spark application fail in IntelliJ IDEA with "NoClassDefFoundError: org/apache/spark/mllib/regression/LabeledPoint"?
- Scala Multiple Implementations Design
- Handling models with circular references in Spark SQL?
- Scala test issues
- Comparing 2 Scala 2D arrays: getting error: value sameElements is not a member of (String, String)
- Using guice when creating a custom Action using ActionBuilder in play
- Spark Streaming RDD with a list of previous values
- Scala implicit type class dependency injection
- can I get a function from an overloaded method in scala?