Ken Hibino
|
3c7327e182
|
Add nil check for message encoding helpers
|
2021-03-10 20:43:42 -08:00 |
|
Ken Hibino
|
499d35c0fc
|
Store SchedulerEntry and SchedulerEnqueueEvent in protobuf format
|
2021-03-10 20:43:42 -08:00 |
|
Ken Hibino
|
2dc100bc43
|
Store ServerState in protobuf format
|
2021-03-10 20:43:42 -08:00 |
|
Ken Hibino
|
9ac0475d4b
|
Update base.DecodeMessage to take byte slice
|
2021-03-10 20:43:42 -08:00 |
|
Ken Hibino
|
e408550d76
|
Update base.EncodeMessage to return byte slice
|
2021-03-10 20:43:42 -08:00 |
|
Ken Hibino
|
4046932fde
|
Use protobuf to encode task message
|
2021-03-10 20:43:42 -08:00 |
|
Ken Hibino
|
ec9fd6b577
|
Update RDB.ListDeadlineExceeded
|
2021-03-10 20:42:17 -08:00 |
|
Ken Hibino
|
26caccbefd
|
Update RDB.ForwardIfReady
|
2021-03-10 20:42:17 -08:00 |
|
Ken Hibino
|
16d8fa4b91
|
Update TaskKey helper to task id as string
|
2021-03-10 20:42:17 -08:00 |
|
Ken Hibino
|
0b043318ba
|
Add TaskKey helper
|
2021-03-10 20:42:17 -08:00 |
|
Ken Hibino
|
fae6c4bdc8
|
Rename pending key
|
2021-03-10 20:42:17 -08:00 |
|
Ken Hibino
|
6a9d9fd717
|
v0.16.0
|
2021-03-10 20:39:46 -08:00 |
|
Ken Hibino
|
bc77f6fe14
|
v0.15.0
|
2021-01-31 06:11:17 -08:00 |
|
Ken Hibino
|
e13122723a
|
Move all inspector related code to subpackage inspeq
|
2021-01-31 06:09:40 -08:00 |
|
Ken Hibino
|
eba7c4e085
|
Record deadline within WorkerInfo
|
2021-01-31 06:09:40 -08:00 |
|
Ken Hibino
|
2884044e75
|
v0.14.1
|
2021-01-19 06:22:54 -08:00 |
|
Ken Hibino
|
42c7ac0746
|
v0.14.0
|
2021-01-14 06:49:36 -08:00 |
|
Ken Hibino
|
00a25ca570
|
Rename DeadTask to ArchivedTask and action "kill" to "archive"
|
2021-01-14 06:43:44 -08:00 |
|
Ken Hibino
|
c5100a9c23
|
Add a method to list running servers to Inspector
|
2021-01-14 06:43:44 -08:00 |
|
Ken Hibino
|
f9c0673116
|
Add SchedulerEntries method to Inspector
|
2021-01-14 06:43:44 -08:00 |
|
MinJae Kwon
|
c4dc993241
|
fix: resolve go vet lint
|
2020-12-20 06:09:51 -08:00 |
|
Ken Hibino
|
942345ee80
|
v0.13.0
|
2020-10-13 06:33:47 -07:00 |
|
Ken Hibino
|
8312515e64
|
Update Option interface
- Added `String()`, `Type()`, and `Value()` methods to the interface to
aid with debugging and error handling.
|
2020-10-13 06:31:47 -07:00 |
|
Ken Hibino
|
50e7f38365
|
Add Scheduler
- Renamed previously called scheduler to forwarder to resolve name
conflicts
|
2020-10-13 06:31:47 -07:00 |
|
Ken Hibino
|
a891ce5568
|
Rename InProgress to Active
|
2020-09-12 12:59:03 -07:00 |
|
Ken Hibino
|
f38f94b947
|
Restructure CLI commands with subcommands
|
2020-09-12 12:59:03 -07:00 |
|
Ken Hibino
|
aa2676bb57
|
Update Broker interface
|
2020-09-12 12:59:03 -07:00 |
|
Ken Hibino
|
50b6034bf9
|
Move unique key generator function to base
|
2020-09-12 12:59:03 -07:00 |
|
Ken Hibino
|
154113d0d0
|
Update base package to generate redis keys with hashtag
|
2020-09-12 12:59:03 -07:00 |
|
Ken Hibino
|
a913e6d73f
|
Add healthchecker to check broker connection
|
2020-07-28 22:45:57 -07:00 |
|
Ken Hibino
|
a28f61f313
|
Add Inspector type
|
2020-07-28 22:45:57 -07:00 |
|
Ken Hibino
|
8b60e6a268
|
Replace github.com/rs/xid with github.com/google/uuid
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
486dcd799b
|
Add version command to CLI
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
7e942ec241
|
Use int64 type for Timeout and Deadline in TaskMessage
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
feee87adda
|
Add recoverer
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
7c7de0d8e0
|
Fix processor
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
4e8ac151ae
|
Update processor to adapt for deadlines set change
- Processor dequeues tasks only when it's available to process
- Processor retries a task when its context's Done channel is closed
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
9b05dea394
|
Update RDB.Dequeue to return message and deadline
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
0527b93432
|
Change TaskMessage Timeout and Deadline to int
* This change breaks existing tasks in Redis
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
5dddc35d7c
|
Add redis key for deadlines in base package
|
2020-07-06 05:48:31 -07:00 |
|
Ken Hibino
|
7f30fa2bb6
|
Fix requeue logic in processor
|
2020-06-13 06:22:32 -07:00 |
|
Ken Hibino
|
a2abeedaa0
|
Fix JSON number ovewflow issue
|
2020-06-12 06:29:36 -07:00 |
|
Ken Hibino
|
06c4a1c7f8
|
Limit the number of tasks moved by CheckAndEnqueue to prevent a long
running script
|
2020-06-08 06:06:18 -07:00 |
|
Ken Hibino
|
4595bd41c3
|
Add Pause and Unpause methods to rdb
|
2020-06-08 06:06:18 -07:00 |
|
Ken Hibino
|
a38f628f3b
|
Refactor server state management
|
2020-05-31 06:41:19 -07:00 |
|
Ken Hibino
|
5161b9368a
|
Clean up tests
|
2020-05-02 07:05:26 -07:00 |
|
Ken Hibino
|
7c7f8e5f30
|
Move Broker interface to base package
|
2020-04-19 08:51:17 -07:00 |
|
Ken Hibino
|
c688b8f4f9
|
Fix test for base package
|
2020-04-19 08:51:17 -07:00 |
|
Ken Hibino
|
aafd8a5b74
|
Rename internal ProcessState to ServerState
|
2020-04-19 08:51:17 -07:00 |
|
Ken Hibino
|
b14c73809e
|
Refactor server state
|
2020-04-19 08:51:17 -07:00 |
|