Stefan Bühler
|
64cabac477
|
[core] fix connection timeout handling
|
9 years ago |
Stefan Bühler
|
11b4bdd8c5
|
replace unneeded ev_/EV_ references
|
9 years ago |
Stefan Bühler
|
cfd8955008
|
[common] implement libev wrapper
* need a way to mark a watcher as "don't keep the loop alive"
|
9 years ago |
Stefan Bühler
|
0d85a068c8
|
[lua] add per lua_State lock
|
9 years ago |
Stefan Bühler
|
77f786ed18
|
[log] remove different timestamp format handling (one is enough), separate log context (liLogMap) from virtualrequest
|
10 years ago |
Stefan Bühler
|
3277edabe6
|
connection.c: optimize buffer usage - don't keep too many unused buffers around
|
11 years ago |
Thomas Porzelt
|
ab313d20c2
|
[core] change connection garbage collector algorithm to free all unused connections up to the maximum of active connections during the last 5 minutes
|
11 years ago |
Stefan Bühler
|
823b9d13c2
|
[core]: wait for connections before shutdown
|
12 years ago |
Stefan Bühler
|
7d938e48e3
|
[log] Fix prepare handler
|
12 years ago |
Stefan Bühler
|
79d98f5991
|
[core] Use liJobQueue for vrequest job queue
|
12 years ago |
Thomas Porzelt
|
9c63e60cb7
|
[core] Add workers.cpu_affinity setup action
|
12 years ago |
Stefan Bühler
|
1c3d3c287f
|
[core]: add tasklet pools to workers and use them for stat-cache
|
12 years ago |
Stefan Bühler
|
b87e74d151
|
Optimize IO handling to safe syscalls; run vrequest state machines twice before looking for new io events
|
12 years ago |
Stefan Bühler
|
8f69c6bc8d
|
Reduce buffer allocs for network read
|
13 years ago |
Thomas Porzelt
|
6bf284b754
|
[core] Record peak values of worker stats
|
13 years ago |
Stefan Bühler
|
d9228f3ef0
|
Add per worker lua_State
|
13 years ago |
Stefan Bühler
|
a151eeac2f
|
Prefix li_ cleanup, verified with nm -g --defined-only
|
13 years ago |
Stefan Bühler
|
56ff7ca32a
|
angel/lighty now synchronize the server state
|
13 years ago |
Thomas Porzelt
|
e838c9b3cf
|
[core] Add liTimeFunc (gmtime_r, localtime_r) parameter to li_worker_current_timestamp()
|
13 years ago |
Stefan Bühler
|
282a2d1b4a
|
Prefix LI_API functions with "li_"
|
13 years ago |
Stefan Bühler
|
99b203e3d8
|
Prefix typenames, enums and some macros with "li" and "LI_"; CamelCase TypeNames
|
13 years ago |
Stefan Bühler
|
7aaa764f49
|
Added vrequest_joblist_append_async (with a vrequest-reference handling)
|
13 years ago |
Stefan Bühler
|
611d7dcac3
|
Recode the sockaddr handling, fixing some bugs
|
13 years ago |
Thomas Porzelt
|
ab9a616f5d
|
optimize ram usage by freeing unused connections
|
13 years ago |
Thomas Porzelt
|
efab0ca75d
|
implement stat cache
|
13 years ago |
Thomas Porzelt
|
70a495de6f
|
fix ev_tstamp vs. time_t problems in worker_current_timestamp()
|
14 years ago |
Thomas Porzelt
|
93bd5e2a6a
|
add additional paramter format_ndx to worker_current_timestamp()
|
14 years ago |
Stefan Bühler
|
025f0b5f84
|
Removed HANDLER_FINISHED, implemented real job queue and added some basic balancer structs
|
14 years ago |
Stefan Bühler
|
3dceeb5916
|
Move include files into a separate directory and cleanup include order
|
14 years ago |
Thomas Porzelt
|
358b9f95f1
|
implement throttling, change some time_t to ev_tstamp
|
14 years ago |
Thomas Porzelt
|
a2a0818cb4
|
remove cast to time_t in CUR_TS() makro. it caused some deviation
|
14 years ago |
Thomas Porzelt
|
d56e5c2ea9
|
implement waitqueues (utils), change connection io timeouts to use those
|
14 years ago |
Thomas Porzelt
|
b491e91c68
|
add io timeouts
|
14 years ago |
Thomas Porzelt
|
0a63fc8058
|
add client addr string and traffic stats for connections and workers
|
14 years ago |
Stefan Bühler
|
649f7baf78
|
Modify header usage; include all core headers from base.h and forbid direct including of core headers. Move typedefs into separate header.
|
14 years ago |
Stefan Bühler
|
a88ca5238c
|
Add the "collect" framework, which collects results from a function executed in each worker context
|
14 years ago |
Stefan Bühler
|
3c00360259
|
log requests/sec stats per worker
|
14 years ago |
Stefan Bühler
|
a17aa92250
|
Move stats into worker
|
14 years ago |
Thomas Porzelt
|
593b0d1427
|
fixed wrong comment in worker.h
|
14 years ago |
Stefan Bühler
|
00143835d4
|
Move the connection tables into the workers, so no locking needed for them.
|
14 years ago |
Stefan Bühler
|
14cb73e80b
|
Set cpu affinity
|
14 years ago |
Stefan Bühler
|
0a4230cced
|
Added basic notify + locking for workers
|
14 years ago |
Stefan Bühler
|
0fe9176d6f
|
Splitted worker from server; removed "server *srv" from most function which also have "connection *con"
|
14 years ago |