How do I configure in-memory storage?

51 views
Skip to first unread message

Stefan Arentz

unread,
Aug 15, 2012, 12:04:04 PM8/15/12
to cleo-ty...@googlegroups.com
Is it possible to run Cleo completely from in-memory storage only? I am not interested in persisting data on disk.

I see a MemoryConnectionsStore but where would I configure Cleo to use that?

 S.

Jingwei

unread,
Aug 16, 2012, 7:37:00 PM8/16/12
to cleo-ty...@googlegroups.com
Hi Stefan,

It is not possible at the present time to configure Cleo use pure memory store without any persistence support, unless that you create new ConnectionsStore class.

Cheers.

Jingwei

Stefan Arentz

unread,
Aug 17, 2012, 11:41:11 AM8/17/12
to cleo-ty...@googlegroups.com
On Thu, Aug 16, 2012 at 7:37 PM, Jingwei <jingw...@gmail.com> wrote:
Hi Stefan,
 
It is not possible at the present time to configure Cleo use pure memory store without any persistence support, unless that you create new ConnectionsStore class.

Thanks Jinwei. I will give that a try.

Do you maybe have some general hints on speeding up the process of importing data?

I am trying to import 4.6 million Wikipedia page titles and I am getting about 250 inserts per second on a crazy high-end EC2 instance. (The one with 64GB of memory and 2TB of SSD)

 S.

Jingwei

unread,
Aug 27, 2012, 7:14:38 PM8/27/12
to cleo-ty...@googlegroups.com
Hi Stephan,

The current implementation of cleo is not really efficient at bootstrapping. I am working on some code to mitigate this effect. However, it will take some time.

Thanks.

Jingwei
Reply all
Reply to author
Forward
0 new messages