Con Kolivas
|
f027885ff6
|
These weren't the droids we were looking for.
|
10 years ago |
Con Kolivas
|
401b18adbd
|
Fix use of ckwq variables
|
10 years ago |
Con Kolivas
|
5b41b1cad6
|
Use async send proc in the generator
|
10 years ago |
Con Kolivas
|
59951a8192
|
Use async send proc in the stratifier
|
10 years ago |
Con Kolivas
|
d437404ada
|
Merge commit '428cabdfc4c8fe0cf3be17aef5033295eeffb50f' into proxydev
Conflicts:
src/stratifier.c
|
10 years ago |
Con Kolivas
|
428cabdfc4
|
Add an asynchronous send proc function which uses each process' generic workqueues if they exist
|
10 years ago |
Con Kolivas
|
2865a0378f
|
Keep track of per process ckwqs in the ckpool structure
|
10 years ago |
Con Kolivas
|
5f9f01e894
|
Revert to synchronous proc messages in anticipation of new async functions
|
10 years ago |
Con Kolivas
|
4c4b48795b
|
Use the generic workqueues for do_update
|
10 years ago |
Con Kolivas
|
2d94b18b99
|
Create a pool of workqueue threads for use by the stratifier using them for share processing, stratum receiving and transaction processing
|
10 years ago |
Con Kolivas
|
d594f86520
|
Create generic workqueue function and message receiving and parsing helpers
|
10 years ago |
Con Kolivas
|
d15ccdf54d
|
Remove the old pid file per process when preparing the new child processes
|
10 years ago |
Con Kolivas
|
646d4a9560
|
Cope with unknown pids in various send msg commands without terminal failure
|
10 years ago |
Con Kolivas
|
33508b2243
|
Reset the pi pid after a failure to find the process alive so we can look it up again in case it has changed
|
10 years ago |
Con Kolivas
|
bd68f928b7
|
Make all one way send_procs asynchronous to avoid message response deadlocks
|
10 years ago |
Con Kolivas
|
487e918ff7
|
Return value of send_proc is never used
|
10 years ago |
Con Kolivas
|
a23060d786
|
Fix buf dereference error
|
10 years ago |
Con Kolivas
|
85b17f1b78
|
Check for correct condition in wait_close
|
10 years ago |
Con Kolivas
|
07874e9f30
|
Show message associated with no close fd detection
|
10 years ago |
Con Kolivas
|
236634239e
|
Close our end of the socket in send_proc
|
10 years ago |
Con Kolivas
|
90c682177f
|
Wait for the other end to close a unix socket to ensure the message has gone through
|
10 years ago |
Con Kolivas
|
316ceba75b
|
Check for pid in send_recv_proc as well
|
10 years ago |
Con Kolivas
|
2b97f1833f
|
Shutdown instead of closing a socket after sending a unix message allowing the receiving end to close the socket after receiving the data
|
10 years ago |
Con Kolivas
|
08ef8ef3de
|
Differentiate pong from other spurious messages from clients
|
10 years ago |
Con Kolivas
|
a0753a3965
|
Handle other forms of read_socket_line ending after message complete as not a failure
|
10 years ago |
Con Kolivas
|
b80d8d6cea
|
Merge branch 'master' into proxydev
Conflicts:
src/generator.c
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
7b452b361f
|
Remove macro placeholders for locks in preparation for implementing lock tracking
|
10 years ago |
Con Kolivas
|
6f109cd4c9
|
Merge branch 'master' into proxydev
|
10 years ago |
Con Kolivas
|
c572d580eb
|
Add lock contention testing warning at 10 seconds to all lock grabbing and fail if a lock is unable to be grabbed for more than a minute
|
10 years ago |
Con Kolivas
|
0f08e9518f
|
Add helpers for rw timed locks
|
10 years ago |
Con Kolivas
|
61bcbd98d3
|
Merge branch 'master' into proxydev
|
10 years ago |
Con Kolivas
|
3ed9f9757b
|
Push version to 0.8.6
|
10 years ago |
Con Kolivas
|
163fc40afb
|
Check all delayed clients for a serviceable one in the connector when we can and consider dropping a client servicing one to not potentially create delayed sends faster than we service them
|
10 years ago |
Con Kolivas
|
8b1b6d45d6
|
fd being invalidated is checked for in wait_write_select so we don't need to handle it twice
|
10 years ago |
Con Kolivas
|
0e7bc51541
|
Check all delayed clients for a serviceable one in the connector when we can and consider dropping a client servicing one to not potentially create delayed sends faster than we service them
|
10 years ago |
Con Kolivas
|
83208ebc72
|
fd being invalidated is checked for in wait_write_select so we don't need to handle it twice
|
10 years ago |
Con Kolivas
|
1c1cb445ef
|
Don't send subscriptions to the stratifier in passthrough mode
|
10 years ago |
Con Kolivas
|
b637efa179
|
Handle other forms of read_socket_line ending after message complete as not a failure
|
10 years ago |
Con Kolivas
|
5bff2819da
|
Send notify from each proxy as soon as we receive it
|
10 years ago |
Con Kolivas
|
26c890c291
|
Send the diff from the proxy instance as soon as we get it and differentiate which proxy it comes from
|
10 years ago |
Con Kolivas
|
71be121083
|
Microoptimise
|
10 years ago |
Con Kolivas
|
ab4d3a672f
|
Set notified flag to false immediately upon setting a new proxy
|
10 years ago |
Con Kolivas
|
64a3703f09
|
Move to pushing all notify data from the generator to avoid an extra message and reconnect clients once the current proxy has its first notification data
|
10 years ago |
Con Kolivas
|
1d69aa0ae9
|
Simplify send_subscribe code
|
10 years ago |
Con Kolivas
|
836f2f3ff2
|
Avoid extra call to get subscription from generator by pushing it with the subscribe message to the stratifier
|
10 years ago |
Con Kolivas
|
25d8c015e5
|
Add information about which proxy's socket is invalidated
|
10 years ago |
Con Kolivas
|
db9a777767
|
Reconnect clients lazily on proxy switch once we receive another message from them and drop them if they don't disconnect on their own within a minute
|
10 years ago |
Con Kolivas
|
5665d54545
|
Test without dropping listen backlog
|
10 years ago |
Con Kolivas
|
a80f9aa492
|
Don't miss dropping stratifier clients whose dropped flag is set when no reference count is held
|
10 years ago |