28 messages in com.perforce.perforce-user[p4] p4 proxy| From | Sent On | Attachments |
|---|---|---|
| Grills, Jeff | 26 Apr 2005 18:51 | |
| Lee Marzke | 26 Apr 2005 20:22 | |
| Patrick Bennett | 26 Apr 2005 23:45 | |
| Grills, Jeff | 27 Apr 2005 00:06 | |
| Dave Lewis | 27 Apr 2005 08:28 | |
| Bennett, Patrick | 27 Apr 2005 11:11 | |
| Bennett, Patrick | 27 Apr 2005 11:26 | |
| Jason Williams | 27 Apr 2005 11:43 | |
| Stephen Vance | 27 Apr 2005 11:45 | |
| Grills, Jeff | 27 Apr 2005 12:09 | |
| Rich Geiger | 27 Apr 2005 14:44 | |
| Rich Geiger | 27 Apr 2005 15:04 | |
| Arnt Gulbrandsen | 27 Apr 2005 19:45 | |
| Arnt Gulbrandsen | 27 Apr 2005 19:57 | |
| Shawn Hladky | 27 Apr 2005 21:10 | |
| Grills, Jeff | 27 Apr 2005 21:22 | |
| Arnt Gulbrandsen | 27 Apr 2005 22:29 | |
| Andreas Axelsson | 28 Apr 2005 01:07 | |
| Alexandre Fabre | 28 Apr 2005 01:28 | |
| Dave Lewis | 28 Apr 2005 08:14 | |
| Sundy, Mike | 28 Apr 2005 09:35 | |
| Wright, Richard | 28 Apr 2005 09:45 | |
| Ivey, William | 28 Apr 2005 09:47 | |
| Grills, Jeff | 28 Apr 2005 10:37 | |
| Sundy, Mike | 28 Apr 2005 14:49 | |
| Grills, Jeff | 28 Apr 2005 15:03 | |
| Knight, Steve | 29 Apr 2005 01:49 | |
| Mike Castle | 30 Apr 2005 05:39 |
| Subject: | [p4] p4 proxy![]() |
|---|---|
| From: | Grills, Jeff (jgri...@soe.sony.com) |
| Date: | 04/27/2005 09:22:31 PM |
| List: | com.perforce.perforce-user |
Please don't do that. What if a legitimate user connecting to a proxy wants to do a flush and those files aren't on the proxy already? That will significantly impact the performance of the flush command, something by its very nature we expect to be fast. There should be no (or at least as little as possible) difference connecting to a proxy versus connecting to a real server.
So I'd want either (1) an option to p4p for it to keep the head revision cached locally, or (2) an option to sync to not actually save the file to disk. If we went the direction of (1), we would need to be able to specify the view that the proxy should sync, and the proxy would need to know what it has and what's newer that it needs to get. That sounds just about exactly like what a p4 client does, except the client also expects to have the files on disk. So, I'd really think we want to go with option (2).
j
-----Original Message----- From: Arnt Gulbrandsen [mailto:arnt at gulbrandsen.priv.no] Sent: Wednesday, April 27, 2005 9:57 PM To: perforce-user at perforce.com Cc: Patrick Bennett; Harald Strack; Grills, Jeff Subject: Re: [p4] p4 proxy
Arnt Gulbrandsen writes:
For example, an option changing the proxy to do this for 'p4 flush':
when the proxy passes p4 flush results: if it sees //mumble/stumbe/fumble#123 if 123 is bigger than any revision the proxy has for that file ask the server for that revision cache it
Oh what, that won't work, if I understand the proxy's architecture right. But the same goal should be reachable within the proxy in a different way:
if the proxy sees a "p4 flush" to head send an equivalent "p4 sync" to the server filter the results appropriately
Now I'll get up, have breakfast and write some code myself.
Arnt




