blob: 4338b175c132ffecb07d0d9612a6643a878cfa27 [file] [log] [blame]
Willy Tarreau4167c882015-10-13 18:38:15 +02001Medium-long term roadmap - 2015/10/13
willy tarreau814cbc62006-05-13 13:00:29 +02002
Willy Tarreau21475e32010-05-23 08:46:08 +02003Legend: '+' = done, '-' = todo, '*' = done except doc
willy tarreau814cbc62006-05-13 13:00:29 +02004
Willy Tarreau4167c882015-10-13 18:38:15 +020051.7 or later :
Willy Tarreau21475e32010-05-23 08:46:08 +02006 - return-html code xxx [ file "xxx" | text "xxx" ] if <acl>
willy tarreau1f431b52006-05-21 14:46:15 +02007
Willy Tarreau65ce3912010-11-24 16:21:56 +01008 - return-raw [ file "xxx" | text "xxx" ] if <acl>
9
Willy Tarreau65ce3912010-11-24 16:21:56 +010010 - add the ability to only dump response errors to more easily detect
11 anomalies without being polluted with attacks in requests.
12
Willy Tarreau0a6b1fd2010-11-14 14:23:22 +010013 - have multi-criteria analysers which subscribe to req flags, rsp flags, and
14 stream interface changes. This would result in a single analyser to wait
15 for the end of data transfer in HTTP.
16
Willy Tarreau21475e32010-05-23 08:46:08 +020017 - support for time-ordered priority queues with ability to add an offset
18 based on request matching. Each session will have one ebtree node to be
19 attached to whatever queue the session is waiting in.
Willy Tarreau1c47f852006-07-09 08:22:27 +020020
Willy Tarreau0a6b1fd2010-11-14 14:23:22 +010021 - add a flag in logs to indicate keep-alive requests ?
willy tarreau814cbc62006-05-13 13:00:29 +020022
Willy Tarreau5f0eee72013-06-17 14:51:38 +020023 - make it possible to condition a timeout on an ACL (dynamic timeouts)
Willy Tarreau0a6b1fd2010-11-14 14:23:22 +010024
25 - forwardfor/originalto except with IPv6
26
Willy Tarreau0a6b1fd2010-11-14 14:23:22 +010027 - remove lots of remaining Alert() calls or ensure that they forward to
28 send_log() after the fork.
29
Willy Tarreau5f0eee72013-06-17 14:51:38 +020030 - tcp-request session
31
Willy Tarreau3c212372013-12-17 00:35:27 +010032 - tcp-request session expect-proxy {L4|L5} if ...
Willy Tarreau5f0eee72013-06-17 14:51:38 +020033
Willy Tarreau4167c882015-10-13 18:38:15 +020034 - wait on resource (time, mem, CPU, socket, server's conn, server's rate, ...)
willy tarreau814cbc62006-05-13 13:00:29 +020035
Willy Tarreau21475e32010-05-23 08:46:08 +020036 - bandwidth limits
willy tarreau814cbc62006-05-13 13:00:29 +020037
Willy Tarreau21475e32010-05-23 08:46:08 +020038 - buddy servers to build defined lists of failovers. Detect loops during
39 the config check.
40
41 server XXX buddy YYY
42 server YYY # may replace XXX when XXX fails
43
44 - spare servers : servers which are used in LB only when a minimum farm
45 weight threshold is not satisfied anymore. Useful for inter-site LB with
46 local pref by default.
47
Willy Tarreau65ce3912010-11-24 16:21:56 +010048 - add support for event-triggered epoll, and maybe change all events handling
49 to pass through an event cache to handle temporarily disabled events.
50
51 - evaluate the changes required for multi-process+shared mem or multi-thread
52 +thread-local+fast locking.
Willy Tarreau1c47f852006-07-09 08:22:27 +020053
Willy Tarreaub5495552011-03-01 21:28:51 +010054 - ability to decide whether to drain or kill sessions when putting a server
55 to maintenance mode => requires a per-server session list and the change
56 above.
57
Willy Tarreau3139fec2014-06-19 14:49:40 +020058Old, maybe obsolete points :
59 - clarify licence by adding a 'MODULE_LICENCE("GPL")' or something equivalent.
Willy Tarreau21475e32010-05-23 08:46:08 +020060
Willy Tarreau3139fec2014-06-19 14:49:40 +020061 - 3 memory models : failsafe (prealloc), normal (current), optimal (alloc on
62 demand)
Willy Tarreau21475e32010-05-23 08:46:08 +020063
Willy Tarreau3139fec2014-06-19 14:49:40 +020064 - implement support for event-triggerred epoll()
Willy Tarreau21475e32010-05-23 08:46:08 +020065
Willy Tarreau3139fec2014-06-19 14:49:40 +020066 - verify if it would be worth implementing an epoll_ctl_batch() for Linux
Willy Tarreau21475e32010-05-23 08:46:08 +020067
Willy Tarreau3139fec2014-06-19 14:49:40 +020068 - option minservers XXX : activates some spare servers when active servers
69 are insufficient
Willy Tarreau1c47f852006-07-09 08:22:27 +020070
Willy Tarreau3139fec2014-06-19 14:49:40 +020071 - initcwnd parameter for bind sockets : needed in kernel first
Willy Tarreau5f0eee72013-06-17 14:51:38 +020072
Willy Tarreau3139fec2014-06-19 14:49:40 +020073 - have a callback function which would be called after a server is selected,
74 for header post-processing. That would be mainly used to remove then add
75 the server's name or cookie in a header so that the server knows it.
Willy Tarreau941aac02014-05-10 13:34:32 +020076
Willy Tarreau5f0eee72013-06-17 14:51:38 +020077Unsorted :
78 - outgoing log load-balancing (round-robin or hash among multiple servers)
Willy Tarreau3139fec2014-06-19 14:49:40 +020079
Willy Tarreau5f0eee72013-06-17 14:51:38 +020080 - internal socket for "server XXX frontend:name"
Willy Tarreau3139fec2014-06-19 14:49:40 +020081
Willy Tarreau5f0eee72013-06-17 14:51:38 +020082 - HTTP/2.0
Willy Tarreau3139fec2014-06-19 14:49:40 +020083
Willy Tarreau5f0eee72013-06-17 14:51:38 +020084 - XML inspection (content-switching for SOAP requests)
Willy Tarreau3139fec2014-06-19 14:49:40 +020085
Willy Tarreau5f0eee72013-06-17 14:51:38 +020086 - random cookie generator
Willy Tarreau3139fec2014-06-19 14:49:40 +020087
Willy Tarreau5f0eee72013-06-17 14:51:38 +020088 - fastcgi to servers
Willy Tarreau3139fec2014-06-19 14:49:40 +020089
Willy Tarreau5f0eee72013-06-17 14:51:38 +020090 - hot config reload
Willy Tarreau3139fec2014-06-19 14:49:40 +020091
Willy Tarreau5f0eee72013-06-17 14:51:38 +020092 - RAM-based cache for small files
Willy Tarreau3139fec2014-06-19 14:49:40 +020093
Willy Tarreau5f0eee72013-06-17 14:51:38 +020094 - RHI - BGP
Willy Tarreau3139fec2014-06-19 14:49:40 +020095
Willy Tarreau5f0eee72013-06-17 14:51:38 +020096 - telnet/SSH cli
Willy Tarreau3139fec2014-06-19 14:49:40 +020097
Willy Tarreau5f0eee72013-06-17 14:51:38 +020098 - dynamic memory allocation
Willy Tarreau3139fec2014-06-19 14:49:40 +020099
Willy Tarreau5f0eee72013-06-17 14:51:38 +0200100 - dynamic weights based on check response headers and traffic response time
Willy Tarreau3139fec2014-06-19 14:49:40 +0200101
Willy Tarreau5f0eee72013-06-17 14:51:38 +0200102 - various kernel-level acceleration (multi-accept, ssplice, epoll2...)