I’m doing a little research for a server application I’m planning to build.
The main function will be – lots of users will be able to perform live editing.
So looking into all the options for a scalable string, which basically be some kind of stringbuffer but be able to handle lots(hundreds?) of threads working on it at the same time with quite a large amount of text.
Instead of reinventing the wheel, I hope to see libraries shared that have such features 🙂
I couldn’t really find much with Google.
The main issue was keep track of changes since you no longer rely on the index, it made things difficult.
So I’m currently looking at storing the strings in something like a LinkHashMap or ListOrderedMap now. But still doing more research in the correct data structure …
Edit: At this stage I will go with a ListOrderedMap to store my strings in and see how that goes…