Re: java serialization alternative
Bob Lee <[email protected]> Tue, 8 Jul 2008 10:40:00 -0700
| Newsgroups | gmane.comp.windows.devel.java.advanced |
|---|---|
| Message-ID | <[email protected]> |
Rodrick, you might be interested in Protocol Buffers. We just open sourced them: http://code.google.com/apis/protocolbuffers/ Compared to serialization, PBs will make your system more efficient and more maintainable. Bob On Fri, Mar 28, 2008 at 8:18 AM, Rodrick Brown <[email protected]> wrote: > Do any of you guys have experience with Java serialization and what > kind of overheads it causes? As far as I know, it produces very large > messages and is not particularly fast, so I am concerned about that > given that it is pervasively used in our system core for sending > messages between daemons over our messaging API. > > One possible alternative is http://xstream.codehaus.org/ which can be > tuned to produce fairly small messages (by aliasing class names and > types for example). However, I have no sense of the speed. I will > do some performance tests. > > Comments, questions, etc? > > > -- > [ Rodrick R. Brown ] > http://www.rodrickbrown.com > http://www.linkedin.com/in/rodrickbrown > > =================================== > This list is hosted by DevelopMentor(R) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com