Facebook: Why our 'next-gen' comms ditched MySQL
channelregister.co.uk
channelregister.co.uk
So easily (as many companies do) they could have taken a 'not invented here' decision and run with Cassandra.
https://secure.wikimedia.org/wikipedia/en/wiki/The_Register#...
Rather than have 2 copies of all the api methods (one for people storing just Strings, and one for arbitrary byte arrays), it's simpler to have a single call and let the caller use the Bytes.toBytes method if they want to store a String.
Earlier versions of the API actually did have String based versions, and were changed to just byte arrays to reduce clutter.