in-memory Questions

2

Solved

I have a big data.frame that I want to write into a compressed CSV file. Is there any way to directly write the data into a CSV.TAR.GZ compressed file instead of performing write.csv/gzip steps in ...
Untinged asked 5/7, 2013 at 15:31

2

My understanding of an in-memory table is a table that will be created in memory and would resort to disk as little as possible, if at all. I am assuming that I have enough RAM to fit the table the...
Brashear asked 8/3, 2020 at 2:22

1

Say i have the two buffers: const bufferFile1 = Buffer.from('Hello World!', 'utf-8') const bufferFile2 = Buffer.from('Hello Again World!', 'utf-8') How can i create tarball file buffer/stream/blob...
Individualism asked 15/12, 2021 at 14:36

1

Is there a way in python to get the path to the in-memory file, so it'll behave as a normal file for methods which needs file path? My objective is to protect the file, so avoiding dumping into /t...
Uela asked 6/2, 2018 at 11:9

3

Solved

I'm using Rails 5.1. I have application-wide memory_store caching happening with Rails. This is set up in my config/environments/development.rb file £ Enable/disable caching. By default caching i...
Thermosetting asked 1/6, 2018 at 22:13

3

Solved

I was wondering if it is possible to 'stream' data using the OpenCV VideoWriter class in Python? Normally for handling data in memory that would otherwise go to disk I use BytesIO (or StringIO). ...
Engler asked 26/6, 2018 at 22:40

1

I do not want to get a detailed comparison. Neither do I want to define 'what is the best or fastest' in-memory DB. They are both similar, so I want to get an overview of critical differences. So w...
Norbert asked 11/5, 2021 at 5:30

2

How can I save/load full embedded h2 in-memory database to some file or directory in binary mode for faster loading. I want to use this for caching data so I don't have to run all the lines of cre...
Selfsame asked 7/3, 2012 at 11:54

6

I need to be able to search over a collection of approx 2 million items in C#. Search should be possible over multiple fields. Simple string-matching is good enough. Using an external dependency l...
Inequity asked 11/6, 2020 at 13:55

3

Solved

Is there an appender for log4j that only stores a list of the logging events (to be used in unit tests, to verify no error logs were written) ?
Virgievirgil asked 19/7, 2009 at 11:0

2

I have installed HazelCast 2.5. I want to persist my records into disk. I learned that MapStore does this job. However i'm not sure how to implement MapStore. Code I've written so far: public cla...
Rapprochement asked 28/2, 2013 at 10:19

3

Solved

I made a database through sqlite in c++. The db has been created in memory (using the ":memory:" parameter insted of a filename), in order to have a very quick behavior. The database is created ...
Celtic asked 17/9, 2009 at 7:53

6

Solved

I am trying to run some Hibernate/JPA examples using an in-memory HSQL DB. The error message I get is the following: 13:54:21,427 ERROR SchemaExport:425 - HHH000389: Unsuccessful: alter table Refe...
Aedile asked 21/8, 2012 at 12:3

0

I'd like to write some integration tests using www.eventstore.org to test that I am able to serialize some domain events and append them to a stream, and retrieve them and deserialize them, etc. I...

3

Solved

How can I create an in-memory table in PostgreSQL?
Dross asked 16/10, 2011 at 15:51

3

Solved

I need a completely in-memory object that I can give to BufReader and BufWriter. Something like Python's StringIO. I want to write to and read from such an object using methods ordinarily used with...
Firecure asked 9/12, 2016 at 22:27

2

Solved

I have an instance of org.apache.spark.rdd.RDD[MyClass]. How can I programmatically check if the instance is persist\inmemory?
Raylenerayless asked 6/6, 2015 at 22:22

1

I was wondering if there is a in-memory OLAP server which can handle MDX. I found the Wikipedia article. But it says nothing about in-memory functionality... The only one I know of them is ...
Tough asked 18/9, 2014 at 14:3

2

Solved

I have created a excel file using jxl library. The code is working fine but the only problem is that each time for building an excel file from the dynamic values coming from a service, the excel co...
Marcmarcano asked 26/10, 2016 at 4:0

3

I've been reading, browsing, searching a lot on this, I've criss-crossed stackoverflow back and forth many times and I managed to narrow my problem as much as I could. The only thing I do not und...
Ajit asked 25/7, 2012 at 19:31

3

Solved

I need to do a lot of things with resources on the fly: parsing xsd/xml docs, building and compiling java classes, package them into jars ans wars, persist in DB, deploy them as OSGi, etc. Most of...
Passade asked 24/1, 2011 at 1:16

1

Solved

I guess there is not built-in way to achieve that: I have some cached data, that need to be always up to date (interval of few 10s of minutes). Its generation takes around 1-2 minutes, therefore i...
Ultraviolet asked 23/6, 2017 at 13:46

8

Solved

I am writing a unit test, and one of them is returning a zip file and I want to check the content of this zip file, grab some values from it, and pass the values to the next tests. I'm using Rack ...
Fieldstone asked 5/12, 2012 at 19:13

1

Solved

I'm using Rails 5. I'm currenlty using Rails in-memory cache to cache db query results, for instance, this is in my state.rb model ... def self.cached_find_by_iso_and_country_id(iso, country_id) ...
Dyanne asked 12/4, 2017 at 16:50

4

Solved

Is there any library for distributed in-memory cache, distributed tasks, publish/subscribe messaging? I have used Hazelcast in Java, I would like something similar. I know that Memcached is ...
Acrid asked 29/6, 2009 at 10:36

© 2022 - 2024 — McMap. All rights reserved.