Con Kolivas
|
d4304de798
|
These weren't the droids we were looking for.
|
10 years ago |
Con Kolivas
|
d75dd5543c
|
Try async messages again
|
10 years ago |
Con Kolivas
|
6b3cd82525
|
Revert "Use async send proc as a separate thread from workqueues"
This reverts commit 7de43b1c6e .
|
10 years ago |
Con Kolivas
|
7de43b1c6e
|
Use async send proc as a separate thread from workqueues
|
10 years ago |
Con Kolivas
|
4ff3972ef0
|
Look for other clients that should have been dropped in the stratifier and inform or query the connector about them
|
10 years ago |
Con Kolivas
|
8708b36b8d
|
Use async send proc in the connector
|
10 years ago |
Con Kolivas
|
a465e47f85
|
Use async send proc in the connector
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
865cd3a741
|
Remove unused variable
|
10 years ago |
Con Kolivas
|
8ebd5de420
|
Use json_getdel_int64 helper in the connector
|
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
|
5665d54545
|
Test without dropping listen backlog
|
10 years ago |
Con Kolivas
|
1a3ed51ba9
|
Fix workings when no serverurl is explicitly specified in config
|
10 years ago |
Con Kolivas
|
5dd35d6555
|
Fix workings when no serverurl is explicitly specified in config
|
10 years ago |
Con Kolivas
|
04f4f090e2
|
Convert use of %ld to PRId64 in connector
|
10 years ago |
Con Kolivas
|
841d22ec05
|
Drop the server backlog to minimum after the pool has been accepting connections for 90 seconds
|
10 years ago |
Con Kolivas
|
78b2cf0277
|
Further fine grain the locking in the connector
|
10 years ago |
Con Kolivas
|
d94202dacb
|
Avoid one cast
|
10 years ago |
Con Kolivas
|
a7b2c3d8aa
|
Shorten sleep interval while accept flag is not set
|
10 years ago |
Con Kolivas
|
6274371ccf
|
Microoptimise epoll_wait call
|
10 years ago |
Con Kolivas
|
bfbb9b574f
|
Remove unused macro
|
10 years ago |
Con Kolivas
|
0c07ddb5ad
|
Don't use client structure out of lock in connector's drop_client
|
10 years ago |
Con Kolivas
|
21c7fcb2c2
|
Do not grab the cdata lock in the connector when sending data as false negatives are safe
|
10 years ago |
Con Kolivas
|
71917ed4da
|
Do not send messages from the connector of clients we've already dropped
|
10 years ago |
Con Kolivas
|
3bbce63302
|
Generate connector stats on command
|
10 years ago |
Con Kolivas
|
d6c57c0817
|
Do not check for thread shutdown on every pass through the connector
|
10 years ago |
Con Kolivas
|
b23dbab1a1
|
Use a doubly linked list for dead clients in the connector for O(1) removal
|
10 years ago |
Con Kolivas
|
a72510df7f
|
Only ask the stratifier to drop a client once
|
10 years ago |
Con Kolivas
|
01ce6a65a0
|
Revert wrongly implicated linked list freeing workaround
|
10 years ago |
Con Kolivas
|
259f8ca4a0
|
Use invalidate in the connector when dropping a client to ensure the stratifier drops it as well
Conflicts:
src/connector.c
|
10 years ago |
Con Kolivas
|
b5f65d2e5a
|
Tell the stratifier to drop a client if the connector is told to drop it and cannot find it any more
|
10 years ago |
Con Kolivas
|
330c966556
|
Remove client ram safely in invalidate_client foreach loop
|
10 years ago |
Con Kolivas
|
2545b08128
|
Use invalidate in the connector when dropping a client to ensure the stratifier drops it as well
|
10 years ago |
Con Kolivas
|
4103a3bae8
|
Tell the stratifier to drop a client if the connector is told to drop it and cannot find it any more
|
10 years ago |
Con Kolivas
|
88c7ef3c20
|
Use JSON_EOL in connector
|
10 years ago |
Con Kolivas
|
3e335c3b38
|
Abort any functions on signal handling, cleaning up cksem functions
|
10 years ago |
kanoi
|
503ec09f27
|
make LOG* macros typecheck and fix related errors/warnings
|
10 years ago |
Con Kolivas
|
65f52112ba
|
Confirm all handed over sockets match the configured sockets
|
10 years ago |
Con Kolivas
|
00f9cf297d
|
Hand over multiple sockets if we can
|
10 years ago |
Con Kolivas
|
65a6f4be5f
|
Look for json messages for clients and process them first in the connector
|
10 years ago |
Con Kolivas
|
2dc67ccc35
|
Drop listen backlog to zero as soon as we start polling
|
10 years ago |
Con Kolivas
|
b8e125a1f7
|
Store which serverurl each client is bound to in the connector and pass the information to the stratifier
|
10 years ago |
Con Kolivas
|
0f7b6c5a68
|
Make the connector bind to multiple IPs and Ports specified in the configuration, handling incoming connections
|
10 years ago |
Con Kolivas
|
5dd076cfbe
|
Allow serverurl to take an array of entries for future binding to multiple interfaces/ports
|
10 years ago |
Con Kolivas
|
6c47d61bb1
|
Use reference counting to know when we can drop client structures in the connector
|
10 years ago |
Con Kolivas
|
1e4030b9ed
|
Fix wrong pointer in connector
|
10 years ago |
Con Kolivas
|
3ddef2d66f
|
Privatise all the connector specific data
|
10 years ago |