Hello PyTables Discussion,
Could you perhaps give me the best advice on read/write from a single file
in PyTables? I currently have a parsing system that accepts a stream of
data and consistently writes the data to pytables; however, on the other
hand, I have an independent server that accepts requests for data and those
queries might come from the current day (so for data in the same file). My
first implementation was to have a set of current files stay in write mode
and have an overall lock over these files for the current day, but
(stupidly) I forgot that lock instances cannot be shared over separate
processes, only threads.
So could you give me any advice in this situation? I'm sure it has come up
before. ;)
Thanks,
Jacob Bennett
--
Jacob Bennett
Massachusetts Institute of Technology
Department of Electrical Engineering and Computer Science
Class of 2014| benne...@mit.edu
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users