High performance serialization: Java vs Google Protocol Buffers vs …?

前端 未结 7 1282
借酒劲吻你
借酒劲吻你 2020-12-04 08:05

For some caching I\'m thinking of doing for an upcoming project, I\'ve been thinking about Java serialization. Namely, should it be used?

Now I\'ve previously writt

7条回答
  •  孤街浪徒
    2020-12-04 08:16

    Here is the off the wall suggestion of the day :-) (you just tweaked something in my head that I now want to try)...

    If you can go for the whole caching solution via this it might work: Project Darkstar. It is designed as very high performance game server, specifically so that reads are fast (so good for a cache). It has Java and C APIs so I believe (thought it has been a long time since I looked at it, and I wasn't thinking of this then) that you could save objects with Java and read them back in C and vice versa.

    If nothing else it'll give you something to read up on today :-)

提交回复
热议问题