Commit graph

25 commits

Author SHA1 Message Date
Philipp Moritz
75441a180d add valgrind tests (#33)
* add valgrind

* install valgrind
2016-10-05 16:09:40 -07:00
Robert Nishihara
4204500d23 Fix formatting. (#32) 2016-10-05 09:17:08 -07:00
Philipp Moritz
4329afbd53 rename TASK_* -> TASK_STATUS_* (#31) 2016-10-04 16:59:44 -07:00
Philipp Moritz
8e044535e2 Python API for constructing tasks (#28)
* Python API for constructing tasks

* Fixes.
2016-10-04 15:56:24 -07:00
Philipp Moritz
da5ec3b5e0 add documentation for tasks (#30) 2016-10-04 12:11:52 -07:00
Stephanie Wang
f4037ad19f Plasma fixes (#29)
* Allow CHECK to take in a message

* Turn off debug statements by default

* format arguments to CHECK message

* UT list

* Socket methods that block until full message is read/written

* Address Robert and Philipp's comments

* Formatting
2016-10-03 17:55:57 -07:00
Philipp Moritz
e21e9f68df API for task log and scheduled task (#25)
* API revision

* update

* make status a bitmap

* update api

* tests working

* new task log APIs

* update APIs

* write binary structures to redis

* update tests

* fix clang-format

* Fix formatting.
2016-09-29 21:12:06 -07:00
Robert Nishihara
084220b0e7 Allow reading/writing generic message types, not just tasks. (#24)
* Allow reading/writing generic message types, not just tasks.

* Allow messages of length 0 to be read/written, and handle closed sockets.

* Address comments.

* Simplify accept_client.

* Allow ports to be reused in bind_ipc_sock.
2016-09-27 18:51:35 -07:00
Robert Nishihara
631de92170 Build redis before libcommon. (#20) 2016-09-26 00:12:11 -07:00
Philipp Moritz
db8c0acc71 Refactor state database (#22)
* make db_connect return the connection

* rename db_conn -> db_handle

* more renaming

* clang-format

* free the db_handle
2016-09-25 21:52:06 -07:00
Philipp Moritz
1e08629013 fix submit_task for task queue (#21) 2016-09-25 16:51:24 -07:00
Philipp Moritz
7907992609 [WIP] Event loop refactoring (#19)
* task queue tests and extensions

* event loop refactor

* fix formating
2016-09-23 22:53:58 -07:00
Philipp Moritz
e1b8711a01 Redis logging (#17)
* Redis logging

* Rearrange logging interfaces

* Fix test case

* Changes to logging interface and test case for logging

* Fixes

* Fix memory leaks

* Add interface method to destroy logger

* is_local -> is_direct

* Merge fix
2016-09-23 17:10:15 -07:00
Philipp Moritz
7a079547b0 task queue tests and extensions (#18)
* task queue tests and extensions

* clean up test
2016-09-22 23:15:45 -07:00
Stephanie Wang
313241e303 Asynchronous Redis IPC (#14)
* Asynchronous Redis IPC

* make valgrind happy

* cleanup
2016-09-20 22:40:35 -07:00
Philipp Moritz
6c6f2d0473 Implement object table API (#16) 2016-09-20 17:02:56 -07:00
Philipp Moritz
d11161bb01 make static libraries (#13) 2016-09-18 20:47:53 -07:00
Philipp Moritz
37f035dbd0 implementing reading and writing tasks (#11) 2016-09-18 18:06:42 -07:00
Philipp Moritz
c238ae4aa0 do not re-download and rebuild redis if it already exists (#10) 2016-09-18 13:57:27 -07:00
Philipp Moritz
b18f214d55 Make it possible to read and write data that is not null-terminated (#9)
* Make it possible to read and write data that is not null-terminated

* formating
2016-09-18 13:35:43 -07:00
Stephanie Wang
ff11ee21ef Convert to streaming sockets (#7)
* Convert to streaming sockets

* Formatting
2016-09-17 15:15:18 -07:00
Philipp Moritz
0b7d81cae6 API for creating task specifications (#5)
* API for creating task specifications

* fixes

* add more checks and improve comments
2016-09-17 00:03:10 -07:00
Stephanie Wang
73f4b96253 Sockets (#3)
* Socket methods to be used by an event loop

* Git ignore build files

* File renames

* Some fixes

* Fixes

* Fixes

* Memory leakage fix
2016-09-15 16:28:52 -07:00
Philipp Moritz
7d629d4e48 Adding object table (#1)
* code for maintaining the object table

* Makefile fix

* Clone git submodules.

* directory -> object_table

* Fix Makefile and remove unnecessary files.

* Fix formatting.

* make code more generic
2016-09-13 18:54:26 -07:00
Philipp Moritz
a35de3b287 Initial commit 2016-09-10 19:42:08 -07:00