Commit Graph

104 Commits

Author SHA1 Message Date
babic_a 86b452312e Change ZMQ to SUB 2020-04-09 13:37:51 +02:00
babic_a d0961ea3d0 Temp disable compression 2020-04-09 13:35:52 +02:00
babic_a 7cb0dc1f29 Fix REST api declaration 2020-04-09 13:22:54 +02:00
babic_a 477424ab21 Add status interpretation logic 2020-04-08 17:03:21 +02:00
babic_a 11452bc0aa Remove memory order relaxation 2020-04-08 17:00:15 +02:00
babic_a e1df737e4f Implement Process shutdown 2020-04-08 16:57:07 +02:00
babic_a 93176daeee Add joining of previously finished thread to start_writing 2020-04-08 16:50:58 +02:00
babic_a b75596e8a0 Add destructor to Recv Module 2020-04-08 16:42:42 +02:00
babic_a d5258f546e Add destructor to WriteModule 2020-04-08 16:41:04 +02:00
babic_a e699a2c09a Add missing methods stubs - just to write unit tests 2020-04-08 16:29:03 +02:00
babic_a 770674aae8 Throw exception if starting to write before starting to receive 2020-04-08 15:42:21 +02:00
babic_a 9512dd1522 Add is_receiving function to ZmqRecvModule 2020-04-08 15:38:27 +02:00
babic_a 9bcd559fae Implement start and stop writing logic 2020-04-08 15:17:58 +02:00
babic_a f9b222a3e6 Add buffer clearing to stop_saving procedure 2020-04-08 15:16:09 +02:00
babic_a a6cea76fb5 No memory relax order 2020-04-08 15:12:26 +02:00
babic_a 311a58a46d Add thread wait parameter for ms sleep 2020-04-08 15:12:15 +02:00
babic_a 2e9568da8d Revert "Add counter for frames to save instead of just flag"
This reverts commit 16612a2d
2020-04-08 15:04:33 +02:00
babic_a 16612a2d72 Add counter for frames to save instead of just flag 2020-04-08 14:09:49 +02:00
babic_a 70f8218bcd Make receiver code more readable 2020-04-08 10:39:20 +02:00
babic_a 5e5dab461e Add debug output to ProcessManager 2020-04-08 10:30:35 +02:00
babic_a 596893bcf9 Improve debug text in RingBuffer 2020-04-08 10:18:41 +02:00
babic_a 5d1811b650 Change RingBuffer to use function instead of direct flag call 2020-04-08 10:17:35 +02:00
babic_a f7ba7916b5 Implement basic operations on ProcessManager 2020-04-08 09:02:56 +02:00
babic_a 3503e6c754 Check for n_receiving_threads parameter 2020-04-08 08:59:33 +02:00
babic_a b872bb7510 Wrap entire thread in try-catch for ZmqReceiverModule as well 2020-04-08 08:48:45 +02:00
babic_a 934cf9e0c4 Wrap entire thread in try-catch 2020-04-08 08:43:34 +02:00
babic_a 01bb292d40 Change n_frames to size_t 2020-04-07 17:18:31 +02:00
babic_a 9fc3e49bc0 Add is_writing retrieval flag 2020-04-07 16:16:56 +02:00
babic_a 38a8b2363b Add setting uid and gid and creating destination folder 2020-04-07 16:13:05 +02:00
babic_a d1ba7b0b43 Revert back changes to setting the effective user id 2020-04-07 16:07:58 +02:00
babic_a 21e70bc7cd Rename FS ID setting function 2020-04-07 16:01:40 +02:00
babic_a a3c3d3e59d Remove unused variable 2020-04-07 15:56:14 +02:00
babic_a 2c9987d33f Remove useless close file command 2020-04-07 13:13:24 +02:00
babic_a 0448c7a264 Implement new rest api for process manager 2020-04-07 12:20:23 +02:00
babic_a eab61a693c Rename REST start function 2020-04-07 11:58:50 +02:00
babic_a cdc6eb4266 Refactor ProcessManager 2020-04-07 11:13:59 +02:00
babic_a 77408a4c54 Setup WriterUtils as their own namespace 2020-04-06 17:15:22 +02:00
babic_a de01a75cab Remove try catch around errors we cannot recover from 2020-04-06 16:21:30 +02:00
babic_a af816bd541 Simplify the write thread flow 2020-04-06 15:48:56 +02:00
babic_a 7ceaa2cb4b Remove unused DummyWriter 2020-04-06 15:40:14 +02:00
babic_a 04b16680d6 Adjust BufferedWriter to new Writer 2020-04-06 15:31:09 +02:00
babic_a ab0c6f4b00 Refactor MetadataBuffer 2020-04-06 15:30:51 +02:00
babic_a 32dba2320a Partial implementation of write thread 2020-04-06 14:44:41 +02:00
babic_a b826ed30b4 Small refactoring of BufferedWriter 2020-04-06 14:25:36 +02:00
babic_a 70062e3f14 Pass file properties to writing thread 2020-04-06 13:36:54 +02:00
babic_a f4e7d9505e Remove default value for user_id of writing process
Does not really make sense since the value is hard-coded anyway and will not change
in different deployments.
2020-04-06 13:33:45 +02:00
babic_a b9908b60d5 Add a default writing user_id to the config 2020-04-06 13:32:28 +02:00
babic_a 98d44b6dfd Add start_writing method to H5WriteModule 2020-04-06 13:27:55 +02:00
babic_a 90e70049bd Add stop_writing method to H5WriteModule 2020-04-06 13:24:15 +02:00
babic_a 4fff563dad Rename "writing" to "saving" from ZmqRecvModule
The module should not have a notion of writing - but
2020-04-06 13:19:39 +02:00