Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 1 | Medium-long term roadmap - 2010/04/10 |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 2 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 3 | Legend: '+' = done, '-' = todo, '*' = done except doc |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 4 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 5 | 1.5 (ETA 2010/12/31) : |
| 6 | - server-side HTTP keepalive |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 7 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 8 | - return-html code xxx [ file "xxx" | text "xxx" ] if <acl> |
willy tarreau | 1f431b5 | 2006-05-21 14:46:15 +0200 | [diff] [blame] | 9 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 10 | - return-raw [ file "xxx" | text "xxx" ] if <acl> |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 11 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 12 | - add support for client-side and server-side unix sockets |
willy tarreau | 38d7906 | 2006-05-21 14:47:13 +0200 | [diff] [blame] | 13 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 14 | - try to remove srv==NULL internally and assign a dummy server to each backend |
| 15 | for dispatch, http_proxy and transparent modes. |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 16 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 17 | - rename L4 acls as L6 ACLs when some content is involved |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 18 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 19 | - add new L4 ACL checks immediately after accept, before even allocating the |
| 20 | buffers ("connection {accept|reject|delay|freeze} {if|unless}"). |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 21 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 22 | - implement support for "connection freeze" after accept. A list of frozen |
| 23 | connections should be maintained so that it is possible to recycle them |
| 24 | when new file descriptors are required. |
Willy Tarreau | 1c47f85 | 2006-07-09 08:22:27 +0200 | [diff] [blame] | 25 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 26 | - support for time-ordered priority queues with ability to add an offset |
| 27 | based on request matching. Each session will have one ebtree node to be |
| 28 | attached to whatever queue the session is waiting in. |
Willy Tarreau | 1c47f85 | 2006-07-09 08:22:27 +0200 | [diff] [blame] | 29 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 30 | - assign a nice priority based on ACLs. |
Willy Tarreau | baaee00 | 2006-06-26 02:48:02 +0200 | [diff] [blame] | 31 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 32 | - pattern extraction is needed for ACLs and stickiness. It would work like |
| 33 | this : |
Willy Tarreau | baaee00 | 2006-06-26 02:48:02 +0200 | [diff] [blame] | 34 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 35 | acl <name> <pattern> [-i] <values>... |
Willy Tarreau | baaee00 | 2006-06-26 02:48:02 +0200 | [diff] [blame] | 36 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 37 | All ACL fetch method currently available would be transformed into pattern |
| 38 | extraction methods. That way we could stick on hdr(x-forwarded-for) or use |
| 39 | source 0.0.0.0 usesrc <pattern> (such as "hdr_ip(headername)"). Note that |
| 40 | ACLs sometimes need iterative matching/extraction. |
Willy Tarreau | baaee00 | 2006-06-26 02:48:02 +0200 | [diff] [blame] | 41 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 42 | - add support for complex pattern extraction rules : |
Willy Tarreau | baaee00 | 2006-06-26 02:48:02 +0200 | [diff] [blame] | 43 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 44 | pattern = <pattern_term> |
| 45 | | '{' pattern_expr '}' |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 46 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 47 | pattern_expr = <pattern_term> [ <transform> ... ] |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 48 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 49 | - support loading data sets from files |
| 50 | + present/not present (eg: netmasks) |
| 51 | - pattern conversion per prefixes. Eg: convert src IP to country. |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 52 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 53 | - make new patterns available based on stickiness matching : |
| 54 | - number of entries in table for the matched pattern |
| 55 | - same after having increased the match counter |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 56 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 57 | - add support for concurrency match in tables |
| 58 | - just like stickiness, but counted per session (or request), increased |
| 59 | on first match and decreased at end of request or connection. This |
| 60 | requires that the session has a list of matched terms that must be |
| 61 | released at the end. |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 62 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 63 | 1.6 (will probably change anyway) : |
| 64 | - wait on resource (mem, socket, server's conn, server's rate, ...) |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 65 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 66 | - bandwidth limits |
willy tarreau | 814cbc6 | 2006-05-13 13:00:29 +0200 | [diff] [blame] | 67 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 68 | - create internal services and make stats, CLI, etc... part of that. |
Willy Tarreau | 1c47f85 | 2006-07-09 08:22:27 +0200 | [diff] [blame] | 69 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 70 | - use_server ... if ... |
| 71 | |
| 72 | - buddy servers to build defined lists of failovers. Detect loops during |
| 73 | the config check. |
| 74 | |
| 75 | server XXX buddy YYY |
| 76 | server YYY # may replace XXX when XXX fails |
| 77 | |
| 78 | - spare servers : servers which are used in LB only when a minimum farm |
| 79 | weight threshold is not satisfied anymore. Useful for inter-site LB with |
| 80 | local pref by default. |
| 81 | |
Willy Tarreau | 1c47f85 | 2006-07-09 08:22:27 +0200 | [diff] [blame] | 82 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 83 | Old, maybe obsolete points |
| 84 | - clarify licence by adding a 'MODULE_LICENCE("GPL")' or something equivalent. |
| 85 | |
| 86 | - 3 memory models : failsafe (prealloc), normal (current), optimal (alloc on |
| 87 | demand) |
| 88 | |
| 89 | - ability to assign a task priority based on L7 matching |
Willy Tarreau | 1c47f85 | 2006-07-09 08:22:27 +0200 | [diff] [blame] | 90 | |
Willy Tarreau | 21475e3 | 2010-05-23 08:46:08 +0200 | [diff] [blame] | 91 | - implement support for event-triggerred epoll() |
| 92 | |
| 93 | - verify if it would be worth implementing an epoll_ctl_batch() for Linux |
| 94 | |
| 95 | - option minservers XXX : activates some spare servers when active servers |
| 96 | are insufficient |
Willy Tarreau | 1c47f85 | 2006-07-09 08:22:27 +0200 | [diff] [blame] | 97 | |
| 98 | - new keyword 'check' : check http xxx, check smtp xxx, check ssl-hello |
| 99 | |