I am having trouble understand how realm works with memory and threads.
1- I do need memory caching to speed up the queries. If every time I make a query it is done on disk. This is very painful and slow. Does realm have memory caching built in?
2- If realm have memory caching. Is it only per realm object? If so then how I can do that using threads? I spring a new background operation thread that READ ONLY from the file. Currently I can't
share the realm object without it blowing in my face and crashing. When i restart the thread it just blows up.
Any idea how I can approach that problem?